tweets
Tweet by id
1 credit.
get/v1/tweets/{id}
Request
- Base URL: https://api.xdataapi.io
- URL: https://api.xdataapi.io/v1/tweets/{id}
- 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)
Path parameters
idstring required
Query parameters
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.