XData API
Back home

Docs

API Reference

Use API keys to call X/Twitter profile, tweet, search, and task verification endpoints.

Authentication

Production requests should include an API key in the request header.

X-API-KEY: <your-api-key>

Endpoints

GET/api/v1/statusCheck service health
GET/api/v1/getUserInfo?username=...Get profile details by username
GET/api/v1/getUserFollowed?sourceuser=...&targetuser=...Verify a follow relationship
GET/api/v1/userRetweets?userid=...&tweetid=...Verify whether a user retweeted a tweet
GET/api/v1/getQuotes?userid=...&tweetid=...Verify whether a user quoted a tweet
GET/api/v1/searchTweets?query=...Search tweets by keyword
GET/api/v1/getTweetReplies?tweetid=...Fetch replies for a tweet

Response envelope

{
  "result": true,
  "error": null
}