Skip to content

Tweets

Article by ID

A public X Article with its title and full plain text, preserving paragraph breaks. Use the article ID from x.com/i/article/ID, not the containing post ID.

GET/api/v1/twitter/articles/:articleId

Price

1 token per call; failed calls are refunded except 404 (not found).

Parameters

articleIdpathrequired
Numeric X Article ID. Example: 2122649679267770368

Request

curl
curl "https://api.xscraper.online/api/v1/twitter/articles/2122649679267770368" \
  -H "x-api-key: $XSCRAPER_KEY"

Response

200 OK (example shape)
{
  "success": true,
  "message": "…",
  "data": {
    "id": "2122649679267770368",
    "url": "https://x.com/i/article/2122649679267770368",
    "title": "Example article",
    "text": "First paragraph.\n\nSecond paragraph."
  },
  "errors": null
}

Try it

Estimated cost 1 token

Kept in this tab only and sent only as the x-api-key header of this request.

Numeric X Article ID.

GET /api/v1/twitter/articles/2122649679267770368

The response, its status and the tokens it cost appear here.