x_post
Scrape X (Twitter) post content by specifying the numeric tweet ID from the URL.
Instructions
Scrape an X (Twitter) post (tweet) via Scrapingdog (/x/post). Pass the numeric tweet ID from the post URL.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tweetId": "<tweetId>"
},
"name": "x_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Override the configured Scrapingdog API key for this call. If omitted, the key is read from SCRAPINGDOG_API_KEY or a local .env file. | |
| tweetId | Yes | The tweet ID, found in the post URL (e.g. for .../status/1655608985058267139 the ID is 1655608985058267139). |