Social Media Scraper
X / Twitter API

Twitter / X Data API

Search X posts, read user timelines and profiles, explore communities and retrieve video transcript text. 7 documented operations, each with its own parameters and request price.

$0.002444 USD / requestPrice version 2026-11-23.retail-1

7Endpoints
RESTProtocol
JSONResponse
twitter.jsGET
// X / Twitter Tweet Search API · twitter API
const response = await fetch("https://socialmediascraper.org/v1/twitter/search?query=ai+agents", {
  method: 'GET',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'x-price-version': '2026-11-23.retail-1',
    'Idempotency-Key': 'example-request-0001'
  }
});

const data = await response.json();
console.log(data);

Plan your X / Twitter data workflow

Start social listening with a query, select source posts, then enrich authors or retrieve a community timeline. Keep post URLs with analysis so readers can inspect the source conversation.

Endpoints

What you can do with the X / Twitter API