X Scraper
Get Twitter Tweet Details
Get an X (Twitter) post's text, date, views, likes, reposts, replies, bookmarks, quotes and media from its URL.
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
}