Playground Sign in Start free
Recipe Social and video

X (Twitter) scraper API: profiles as JSON

Send any X (Twitter) page URL with recipe=x and get title, description, image and 4 more fields as JSON. No selectors to write, no proxies to pick.

  • 1 page type
  • 7 fields
  • 5 credits a page · $0.50 per 1,000
  • Working · 100% in 7 days

5,000 free credits for 7 days, no card.

recipe=x
curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://x.com/elonmusk' \
  --data-urlencode 'recipe=x'
200 OK · JSON
{
    "result": {
        "title": "Elon Musk",
        "followers": "241.4M",
        "following": "1,421",
        "posts": "111.6K posts"
    },
    "success": true
}

What you get from X (Twitter)

The fields of each page type and a real sample from our last validation, shortened.

Public pages recipe=x 5 credits a page

FieldTypeExample
titletextElon Musk
descriptionURLhttps://t.co/ZdBx5WABYx
imageimage URLhttps://pbs.twimg.com/profile_images/2103567689515954176/aR-Kjpp4_4...
urlURLhttps://x.com/elonmusk
followerstext241.4M
followingnumber (as text)1,421
poststext111.6K posts

Sample answer, validated 2026-11-03

{
    "title": "Elon Musk",
    "description": "https://t.co/ZdBx5WABYx",
    "image": "https://pbs.twimg.com/profile_images/2103567689515954176/aR-Kjpp4_400x400.jpg",
    "url": "https://x.com/elonmusk",
    "followers": "241.4M",
    "following": "1,421",
    "posts": "111.6K posts"
}

One call

Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on X (Twitter) (JavaScript rendering and a wait for the content).

curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://x.com/elonmusk' \
  --data-urlencode 'recipe=x'

The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.

What people build with X (Twitter) data

  • Market research

    Follow public company pages and job postings to see who grows and hires.

    Learn more

Price

Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Page typeCredits a pagePer 1,000, StarterPer 1,000, Pro
Profile5$0.82$0.50

See all plans

FAQ

What does the X (Twitter) recipe return?

JSON with 7 fields from profile (recipe=x), for example title, description, image, url, followers. The answer is {"result": {...}} with the fields shown on this page.

How much does it cost to scrape X (Twitter)?

5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Do I need proxies or a headless browser?

No. The recipe brings the settings that work on X (Twitter): JavaScript rendering and a wait for the content. Send only the URL and recipe=x.

What happens when X (Twitter) changes its pages?

We check X (Twitter) every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.

Can I change the fields?

Yes. Send your own extract_rules or any setting (js, proxy_type, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.

Get X (Twitter) data as JSON today.

5,000 free credits for 7 days. No card.