v11

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0112893437.0 KB
Extractions

Run extraction

post/extractions

Request body

toolType'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'favoriters' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'user_likes' | 'user_media' | 'verified_follower_explorer' required

Identifier for the extraction tool used to run a job.

targetTweetIdstring
targetUsernamestring
targetCommunityIdstring

Required for community_post_extractor & community_search.

targetListIdstring

Required for list_follower_explorer, list_member_extractor & list_post_extractor.

targetSpaceIdstring

Required for space_explorer.

resultsLimitinteger

Maximum number of results to extract. When set, the extraction stops after reaching this limit.

searchQuerystring

Required for tweet_search_extractor & community_search.

fromUserstring

Filter by author username (tweet_search_extractor)

toUserstring

Filter replies sent to a username (tweet_search_extractor)

mentioningstring

Filter tweets mentioning a username (tweet_search_extractor)

languagestring

Language code filter (tweet_search_extractor)

sinceDatestring date

Start date YYYY-MM-DD (tweet_search_extractor)

untilDatestring date

End date YYYY-MM-DD (tweet_search_extractor)

mediaType'images' | 'videos' | 'gifs' | 'media' | 'links' | 'none'

Media type filter (tweet_search_extractor)

minFavesinteger

Minimum likes threshold (tweet_search_extractor)

minRetweetsinteger

Minimum retweets threshold (tweet_search_extractor)

minRepliesinteger

Minimum replies threshold (tweet_search_extractor)

minQuotesinteger

Minimum quote count threshold (tweet_search_extractor)

verifiedOnlyboolean

Only verified authors (tweet_search_extractor)

replies'include' | 'exclude' | 'only'

Reply mode (tweet_search_extractor)

retweets'include' | 'exclude' | 'only'

Retweet mode (tweet_search_extractor)

quotes'include' | 'exclude' | 'only'

Quote mode (tweet_search_extractor)

exactPhrasestring

Exact phrase to match (tweet_search_extractor)

excludeWordsstring

Words or quoted phrases to exclude. Separate with spaces, commas, or lines. (tweet_search_extractor)

anyWordsstring

Words or quoted phrases where any one can match. Separate with spaces, commas, or lines. (tweet_search_extractor)

hashtagsstring

Hashtags separated by spaces, commas, or lines. (tweet_search_extractor)

cashtagsstring

Cashtags separated by spaces, commas, or lines. (tweet_search_extractor)

urlstring

URL substring or domain filter (tweet_search_extractor)

conversationIdstring

Conversation ID filter (tweet_search_extractor)

inReplyToTweetIdstring

Only replies to this tweet ID (tweet_search_extractor)

quotesOfTweetIdstring

Only quotes of this tweet ID (tweet_search_extractor)

retweetsOfTweetIdstring

Only retweets of this tweet ID (tweet_search_extractor)

listIdstring

Search within a list ID (tweet_search_extractor)

placestring

Search within a place ID (tweet_search_extractor)

placeCountrystring

Search within a country code (tweet_search_extractor)

pointRadiusstring

Geo point radius, e.g. -73.99 40.73 25mi (tweet_search_extractor)

boundingBoxstring

Geo bounding box, e.g. -74.1 40.6 -73.9 40.8 (tweet_search_extractor)

advancedQuerystring

Raw advanced search query appended as-is (tweet_search_extractor)

Example request

{
  "toolType": "follower_explorer",
  "targetTweetId": "1234567890",
  "targetUsername": "elonmusk",
  "targetCommunityId": "1500000000000000000",
  "targetListId": "1234567890",
  "targetSpaceId": "1vOGwMdBqpwGB",
  "resultsLimit": 1000,
  "searchQuery": "AI trends 2025",
  "fromUser": "nasa",
  "toUser": "openai",
  "mentioning": "example_user",
  "language": "en",
  "sinceDate": "2025-01-01",
  "untilDate": "2025-12-31",
  "mediaType": "images",
  "minFaves": 10,
  "minRetweets": 5,
  "minReplies": 3,
  "minQuotes": 2,
  "replies": "include",
  "retweets": "exclude",
  "quotes": "include",
  "exactPhrase": "artificial intelligence",
  "excludeWords": "spam",
  "anyWords": "ChatGPT AI model",
  "hashtags": "#AI startups",
  "cashtags": "$TSLA $NVDA",
  "url": "example.com",
  "conversationId": "1234567890",
  "inReplyToTweetId": "1234567890",
  "quotesOfTweetId": "1234567890",
  "retweetsOfTweetId": "1234567890",
  "listId": "1234567890",
  "place": "96683cc9126741d1",
  "placeCountry": "US",
  "pointRadius": "-73.99 40.73 25mi",
  "boundingBox": "-74.1 40.6 -73.9 40.8",
  "advancedQuery": "min_faves:100"
}

Response

Extraction started

idstring required
toolType'article_extractor' | 'community_extractor' | 'community_moderator_explorer' | 'community_post_extractor' | 'community_search' | 'favoriters' | 'follower_explorer' | 'following_explorer' | 'list_follower_explorer' | 'list_member_extractor' | 'list_post_extractor' | 'mention_extractor' | 'people_search' | 'post_extractor' | 'quote_extractor' | 'reply_extractor' | 'repost_extractor' | 'space_explorer' | 'thread_extractor' | 'tweet_search_extractor' | 'user_likes' | 'user_media' | 'verified_follower_explorer' required

Identifier for the extraction tool used to run a job.

status'running' required

Example response

{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "toolType": "follower_explorer",
  "status": "running"
}