Analytics API โ
Post Analytics โ
prolog
GET API_BASE/lists/:list_id/posts/:post_id/analytics?start_date=:start_date&end_date=:end_date&granularity=:granularityAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Parameters โ
| Parameter | Type | Description |
|---|---|---|
list_id | uint64 | The numeric ID of the list. |
post_id | uint64 | The numeric ID of the post. |
Query Parameters โ
| Parameter | Type | Description |
|---|---|---|
start_date | string | Date in YYYY-MM-DD (default: last 30 days). |
end_date | string | Date in YYYY-MM-DD (default: today). |
granularity | string | day (default). |
Response โ
json
{
"data": {
"summary": { ... },
"daily": [ ... ],
"sources_summary": [ ... ]
},
"ts": 1723923923
}List Analytics (Posts) โ
prolog
GET API_BASE/lists/:list_id/analytics/posts?start_date=:start_date&end_date=:end_dateAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Parameters โ
| Parameter | Type | Description |
|---|---|---|
list_id | uint64 | The numeric ID of the list. |
Response โ
json
{
"data": {
"items": [ ... ],
"total": 0,
"daily": [ ... ]
},
"ts": 1723923923
}List Analytics (Sources) โ
prolog
GET API_BASE/lists/:list_id/analytics/sources?start_date=:start_date&end_date=:end_dateAuthorization Required โ
| OAuth | APIKey |
|---|---|
| Yes | Yes |
Parameters โ
| Parameter | Type | Description |
|---|---|---|
list_id | uint64 | The numeric ID of the list. |
Response โ
json
{
"data": {
"sources": [
{
"source": "direct",
"views": 0,
"percentage": 0
}
],
"total_views": 0
},
"ts": 1723923923
}