Skip to main content
This guide walks you through getting Post counts (volume) for the last 7 days.
PrerequisitesBefore you begin, you’ll need:

Get recent Post counts

1

Build a query

Use the same query syntax as recent search. For example, to count Posts from @XDevelopers:
2

Make the request

cURL
3

Review the response


Granularity options

Control how counts are grouped:
GranularityDescription
minuteCounts per minute
hourCounts per hour (default)
dayCounts per day
cURL

Filter by time range

Limit counts to a specific time period:
cURL

Common parameters

ParameterDescriptionDefault
querySearch query (required)
granularityTime bucket sizehour
start_timeOldest timestamp (ISO 8601)7 days ago
end_timeNewest timestamp (ISO 8601)Now

Next steps

Full-archive counts

Get historical Post counts

Build a query

Master query syntax

API Reference

Full endpoint documentation