Docs · X (Twitter) API
X (Twitter) API
Tweets, profiles and recent posts from any public X account.
Overview
Read public X (Twitter) the way a logged-out visitor sees x.com: one tweet with its full engagement counts and media, an account's profile with exact follower numbers, and an account's recent tweets. Useful for social listening, creator and competitor research, and tracking how posts perform. Protected accounts' tweets and age-restricted tweets need a login, so they return 404 not_found.
Source: x.com.
Try it live
Pick an endpoint and run it: real data, no signup, 5 free requests a day.
GET/v1/twitter/tweet
1 credit per requestPress Run to fetch live data
Results come back as a table you can download as CSV, or as the raw JSON.
Endpoints
Call it
Every endpoint is a GET with your key in the x-api-key header. For example, Tweet:
curl "https://api.lurkapi.com/v1/twitter/tweet?url=https%3A%2F%2Fx.com%2FNASA%2Fstatus%2F2104593672624886205" \
-H "x-api-key: YOUR_API_KEY"Use it in Claude
Once LurkAPI is connected to Claude, each endpoint is a tool Claude can call:
| Tool | What it does |
|---|---|
twitter_tweet | Tweet: One tweet: text, author, likes, replies, reposts, quotes, bookmarks, views, media and the tweet it quotes. |
twitter_profile | Profile: An account's bio, avatar, verification and exact follower, following, tweet and like counts. |
twitter_user_tweets | User tweets: An account's tweets and retweets, about 20 per page, with text, media and engagement counts. |