X Scraper
Get Twitter Tweet Details
Retrieves detailed information about a specific tweet by URL, including the author's profile and engagement metrics. Returns rest_id, full_text, views count, favorite_count, retweet_count, reply_count, bookmark_count, quote_count, created_at, source, and media entities. Supports a trim parameter for a lighter response.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| urlstring · required | string | required | Tweet URL |
| trimboolean · optional | boolean | optional | Set to true for a trimmed down version of the response |
| cache_max_agestring · optional | string | optional | See the Caching page for details. One of: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"views": {
"type": "object",
"additionalProperties": {}
},
"legacy": {
"type": "object",
"additionalProperties": {}
},
"source": {
"type": "string"
},
"rest_id": {
"type": "string"
}
},
"additionalProperties": true
}