Global · x
X (Twitter) API
Posts, accounts, search and trends. No X (Twitter) account, cookies or QR login needed.
- endpoints
- 5
- per call, from
- $0.001
- per call, up to
- $0.009
Endpoints
- X post detailOne post by ID or link: text, media, views, likes, reposts and replies.x.posts.getPost$0.001/call
- X post searchPosts matching a query (X search operators work), latest or top.x.posts.searchPost[]$0.006/call
- X account profileFollowers, following, post count, bio and verification of an account.x.users.getAccount$0.001/call
- X account postsAn account's posts, newest first.x.users.posts.listPost[]$0.006/call
- X trending topicsTrending topics worldwide or for one country.x.trends.listTrend[]$0.009/call
Good for
- Competitor monitoringposts.getusers.getusers.posts.list
- Content researchposts.get
- Word of mouthposts.search
- Trend researchposts.searchtrends.list
- Creator discoveryusers.get
Try one
curl -G "https://api.okdata.online/v1/x/posts/get" \
-H "Authorization: Bearer $OKDATA_API_KEY" \
--data-urlencode 'id=1850000000000000000'