Search public tweets by keyword.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
3 optional filters available.
string
Required
Search query.
coffee shops
string
Optional
Opaque cursor from the previous page. Pagination is driven by this value; the returned result count is the authoritative page size.
0
integer
Optional
Requested page size. Advisory only: the upstream sets the page size, so the returned result count is what matters.
10
string
Optional
Result language code.
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
count
cursor
results
Common results fields
id
text
views
author
{
"count": 1,
"cursor": "DAABCgACF__sample_opaque_cursor",
"results": [
{
"id": "1234567890123456789",
"text": "Public tweet text.",
"views": 180000,
"author": {
"name": "Example Account",
"screen_name": "example"
},
"quotes": 31,
"replies": 88,
"retweets": 512,
"bookmarks": 120,
"created_at": "Tue Mar 05 09:20:00 +0000 2026"
}
]
}
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.