URL Structure

A filtered report can be generated by requesting a report type endpoint with parameters:
• /reports/custom/create/ for custom reports
• /reports/tweet/create/ for tweet reports
• /reports/twitter/create/ for follower reports

http://api.statsocial.com/api/reports/endpoint?

Parameters:

//Twitter Handle to create report on
twitter_handle=Ronnie2K

//FILTER SHOULD BE URL ENCODED
filter={“gender”:[“male”],”ages”:[“18-24″],”countries”:[“usa”]}

therefore,

filter = %7B%22gender%22%3A%5B%22male%22%5D%2C%22ages%22%3A%5B%2218-24%22%5D%2C%22countries%22%3A%5B%22usa%22%5D%7D

//User’s API key
key={insert key here}

Final URL:

http://api.statsocial.com/api/reports/twitter/create/?twitter_handle=Ronnie2K&filter=%7B%22gender%22%3A%5B%22male%22%5D%2C%22ages%22%3A%5B%2218-24%22%5D%2C%22countries%22%3A%5B%22usa%22%5D%7D&key=aad8df0e06761e256abd328d71953409

The above URL will generate a filtered report on twitter handle ‘Ronnie2K’ which contains data on males aged 18-24 located in the US