Referrers returns a list of referrers for the domain.
Format
http://api.chartbeat.com/live/referrers/?host=[host]&limit=[limit]&apikey=[apikey]
- host - Required. The domain name to get referrers for.
- apikey - Required. An api key generated here that gives access to this call.
- limit - Optional. Limit the amount of referrers to this number. (Default: 10)
- path - Optional. Give a specific path. If not given, data is from all paths. (Example, the path of http://chartbeat.com/signup/ is /signup/)
- jsonp - Optional. Give the name of a function to wrap the return data in. Learn more here
Example
http://api.chartbeat.com/live/referrers/?host=chartbeat.com&limit=10&apikey=abc123
Example return:
{
referrers: {
: 34,
facebook.com: 3,
google.com: 4,
digg.com: 7,
}
}
Comments (0)
You don't have permission to comment on this page.