TeaseDocs
DevelopersAPI referenceStatistics

Read statistics

Daily revenue and new fans over a window of at most a year (the last 30 days by default), counted on the call. `revenue` is the platform's own history. `new_fans_coverage_from` (unix seconds) is when we began collecting the account's fans: each `new_fans` day before it is `count: null, reconstructed: true`, since the fan list we first read held only fans still on it then; a day from it on is `count` with `reconstructed: false`, and a day missing from the list had no new fan.

Path Parameters

account_id*Account Id
Lengthlength <= 64

Query Parameters

occurred_from?|null
occurred_to?|null

Response Body

application/json

application/json

GET
/v1/accounts/{account_id}/statistics
curl -X GET "https://example.com/v1/accounts/string/statistics"
null
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}