$ curl X-Search-API --continuation_token=...
Never Miss a Tweet
When a search returns thousands of results, pagination is how you get them all. The X Search Continuation API uses cursor-based tokens to walk through complete result sets — no offset drift, no missed posts.
> How It Works
1
Initial Search
Call the Search API with your keyword. Response includes results + a continuation token.
2
Next Page
Pass the continuation token to the continuation endpoint. Get the next batch + a new token.
3
Repeat
Keep paginating until no more tokens are returned. Your dataset is complete.
> Why Cursor-Based Pagination
- No duplicate or missed results from offset drift
- Stable under high-velocity data streams
- Efficient for large datasets (100K+ tweets)
- Simple loop: request, store, continue
> Build With It
Research Datasets
Collect complete tweet corpora for academic or market research.
Analytics Dashboards
Ingest all matching tweets into time-series databases for trend visualization.
Compliance Archives
Capture regulated-industry mentions for audit trails.