tweets
Advanced search
1 credit per tweet, or per profile with product=People (then data is a list of User). q accepts X advanced search operators (from:, since:, until:, min_faves:, -filter:replies ...). product=Top is not served to every reading session at X; when it is not, the response is HTTP 403 product_unavailable and nothing is charged. Latest is always available.
get/v1/tweets/search
Request
- Base URL: https://api.xdataapi.io
- URL: https://api.xdataapi.io/v1/tweets/search
- Auth: one of:
- API key in header x-api-key
- OAuth 2 (authorization code, authorization URL https://xdataapi.io/oauth/authorize, token URL https://xdataapi.io/api/oauth/token, scopes: read)
Query parameters
qstring required
product'Latest' | 'Top' | 'People' | 'Photos' | 'Videos'
countinteger
cursorstring
Opaque cursor from next_cursor of the previous page. Pages hold exactly count items while there are that many; you pay for the items you receive. No next_cursor means the end.
freshboolean
Bypass the cache. Costs 2x credits.
Response
OK
Example response
{
"credits_charged": 20,
"balance_remaining": 79980,
"data": [
{
"id": "20",
"author": {
"id": "783214",
"handle": "X"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.