List traffic sources
list_traffic_sourcesWhere your publication's visitors came from in a period, most views first. Returns Analytics > Traffic > Traffic sources: each source (the app, email, a website, search, social) with its category, views, unique visitors and the free and paid subscribers it brought. Sorted by views; page with next_cursor.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_traffic_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default: 20. | |
| cursor | No | next_cursor from the previous page. | |
| period | No | Default: 30d. |