PrerequisitesBefore you begin, you’ll need:
- A developer account with Self-serve or Enterprise access
- Your App’s Bearer Token
Get full-archive Post counts
1
Build a query
Use the same query syntax as full-archive search. For example, to count Posts from @XDevelopers:
2
Set a time range
Specify
start_time and end_time to search specific historical periods:3
Make the request
cURL
4
Review the response
Granularity options
Control how counts are grouped:Paginate through results
For large time ranges, use thenext_token from the response:
cURL
Key differences from recent counts
Common parameters
Next steps
Recent counts
Get recent Post counts
Build a query
Master query syntax
API Reference
Full endpoint documentation