Back to marketplace
Tool Detail

Twitter / X Data

Query Twitter/X user profiles, tweets, followers, following lists, tweet details, and social feeds

by Twitter / X2 credits - 5 credits / reqUpdated 2026-04-17
Twitter / X Data logo

Operations

Published operations exposed by this tool.

User Info

Get Twitter user REST ID and basic info by username

GET/api/x/infokey: user_info
Input Schema
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Twitter username (without @)"
    }
  }
}
Output Schema
{
  "type": "object",
  "properties": {
    "restId": {
      "type": "string"
    },
    "username": {
      "type": "string"
    }
  }
}

User Tweets

Get recent tweets from a user with cursor pagination

GET/api/x/tweetskey: user_tweets
Input Schema
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "max": {
      "type": "integer",
      "maximum": 200,
      "minimum": 1,
      "description": "Max tweets to return (default 10)"
    },
    "name": {
      "type": "string",
      "description": "Twitter username"
    },
    "cursor": {
      "type": "string",
      "description": "Pagination cursor from previous response"
    }
  }
}
Output Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "tweets": {
      "type": "array"
    },
    "hasMore": {
      "type": "boolean"
    },
    "username": {
      "type": "string"
    },
    "nextCursor": {
      "type": "string"
    }
  }
}

User Followers

Get followers of a Twitter user with cursor pagination

GET/api/x/followerskey: user_followers
Input Schema
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Twitter username"
    },
    "count": {
      "type": "integer",
      "description": "Number of followers to return (default 100)"
    },
    "cursor": {
      "type": "string",
      "description": "Pagination cursor"
    }
  }
}
Output Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "hasMore": {
      "type": "boolean"
    },
    "followers": {
      "type": "array"
    },
    "nextCursor": {
      "type": "string"
    }
  }
}

User Following

Get accounts a Twitter user follows with cursor pagination

GET/api/x/followingkey: user_following
Input Schema
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Twitter username"
    },
    "count": {
      "type": "integer",
      "description": "Number of results (default 100)"
    },
    "cursor": {
      "type": "string",
      "description": "Pagination cursor"
    }
  }
}
Output Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "hasMore": {
      "type": "boolean"
    },
    "following": {
      "type": "array"
    },
    "nextCursor": {
      "type": "string"
    }
  }
}

Tweet Detail

Get tweet detail including full thread by tweet ID

GET/api/tweetkey: tweet_detail
Input Schema
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Tweet ID"
    }
  }
}
Output Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "tweets": {
      "type": "array"
    },
    "tweetId": {
      "type": "string"
    },
    "mainTweet": {
      "type": "object"
    }
  }
}

Follow Feed

Get tweets from accounts the authenticated user follows (home timeline)

GET/api/x/follow-tweetskey: follow_tweets
Input Schema
{
  "type": "object",
  "properties": {}
}
Output Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "result": {
      "type": "array"
    }
  }
}

Moments Timeline

Get social feed timeline with pagination (since_id/max_id)

GET/api/moments/timelinekey: moments_timeline
Input Schema
{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 200,
      "minimum": 1,
      "description": "Items per page (default 50)"
    },
    "max_id": {
      "type": "string",
      "description": "Return tweets before this ID"
    },
    "since_id": {
      "type": "string",
      "description": "Return tweets after this ID"
    }
  }
}
Output Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "tweets": {
      "type": "array"
    },
    "pagination": {
      "type": "object"
    }
  }
}

Summary

Type
Tool
Slug
twitter
Provider
Twitter / X
Pricing
2 credits - 5 credits / req
Active Operations
7

Tags

twittersocialresearchx