PrerequisitesBefore you begin, you’ll need:
- A developer account with an approved App
- Your App’s Bearer Token (found in the Developer Console under “Keys and tokens”)
Build a query
Search queries use operators to match Posts. Start with a simple keyword:Or combine multiple operators:This matches Posts containing “python” in English, excluding retweets.
Example queries
Posts from a specific user
Posts from a specific user
Posts with a hashtag
Posts with a hashtag
Posts with images
Posts with images
Posts mentioning a user
Posts mentioning a user
Posts with links to a domain
Posts with links to a domain
Next steps
Build a query
Master query syntax and operators
Operator reference
See all available operators
Full-archive search
Search the complete Post archive
API Reference
Full endpoint documentation