PrerequisitesBefore you begin, you’ll need:
- A developer account
- Your App’s Bearer Token (found in the Developer Console under “Keys and tokens”)
Step 1: Build a query
Full-archive search supports all query operators. Build queries the same way as recent search:Step 2: Set a time range
By default, results return Posts from the last 30 days. Usestart_time and end_time to search specific periods:
Step 3: Make a request
cURL
Step 4: Review the response
Posts created before the edit feature was introduced (September 2022) won’t include
edit_history_tweet_ids.Step 5: Add fields and expansions
Request additional data with query parameters:cURL
Step 6: Paginate through results
The SDKs handle pagination automatically. For cURL, use thenext_token from the response:
Pagination guide
Learn more about navigating large result sets
Key differences from recent search
Common parameters
Next steps
Build a query
Master query syntax and operators
Operator reference
See all available operators
Pagination guide
Handle large result sets
API Reference
Full endpoint documentation