Skip to main content
This guide walks you through getting historical Post counts back to March 2006.
Full-archive Post counts requires Self-serve or Enterprise access.
PrerequisitesBefore you begin, you’ll need:

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 the next_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