List traffic sources
list_traffic_sourcesRetrieve your publication's traffic sources for a chosen period, including views, unique visitors, and free/paid subscribers per source, sorted by views with cursor pagination.
Instructions
Where 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. |