We have just added the Twitter API, also known as the X API, to YepAPI. Fifteen endpoints under `/v1/twitter/*` let you search tweets with the full X operator syntax, look up any public profile (or 100 at once), pull timelines, media, followers and following lists, open any tweet with its replies, quote posts and retweeters, and read trending topics for about 467 places. No developer account to get approved, no monthly tier to pick: one YepAPI key and $0.01 per call.
What's new
- Twitter Search API with X operators (from:, #tag, "phrase", min_faves:, lang:, since:) and top, latest, people, or media results
- Profiles by username, "About this account" transparency data, and bulk lookups of up to 100 users per call
- Tweets, tweets & replies, and media timelines, plus followers and following lists with full profiles
- Any tweet by id or URL with views, likes, retweets, replies, quotes, bookmarks, media, and author, plus its replies, quote posts, and retweeters
- Trending topics worldwide or for any of about 467 countries and cities
- Every endpoint $0.01 per call, failed calls free, $5 free credit on signup
Endpoints in this release
Why we built it
Reading public X data used to mean applying for developer access and paying for a monthly tier before your first request, or maintaining a fragile scraper. We wanted the Twitter API to work like the rest of YepAPI: sign up, grab a key, call an endpoint, pay per call. Every tweet and every user comes back in one consistent JSON shape, so the same parser handles search results, timelines, follower lists, and retweeters.
Quick start
Look up a profile, then pull its latest tweets. Pass the returned `cursor` back to get the next page.
curl -X POST https://api.yepapi.com/v1/twitter/user \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username":"NASA"}'
curl -X POST https://api.yepapi.com/v1/twitter/user-tweets \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username":"NASA","count":20}'Pricing
Every Twitter / X endpoint costs $0.01 per call. A page of tweets is one call, and the Bulk Users API returns up to 100 profiles for that same $0.01. Failed calls are free, there is no monthly minimum, and new accounts start with $5 of free credit, which is 500 calls.
Try the Twitter API
Open the hub, pick an endpoint, and run a live call against real X data.
Explore the Twitter / X API