curl -X POST https://xquik.com/api/v1/extractions \
-H "x-api-key: xq_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2" \
-H "Content-Type: application/json" \
-d '{
"toolType": "reply_extractor",
"targetTweetId": "1893704267862470862"
}' | jq
Your API key. Session cookie authentication is also supported.
Must be application/json.
Body
Tweet ID to extract from. Required for reply_extractor, retweet_extractor, quote_extractor.
X username to extract from. The @ prefix is automatically stripped if included. Required for follower_explorer, verified_follower_explorer, mention_tracker.
Community ID to extract members from. Required for community_extractor.
Search query string. Required for user_search.
Each tool type requires a specific target field.
| Tool Type | Required Field | Description |
|---|
reply_extractor | targetTweetId | Extract users who replied to a tweet |
retweet_extractor | targetTweetId | Extract users who retweeted a tweet |
quote_extractor | targetTweetId | Extract users who quote-tweeted a tweet |
follower_explorer | targetUsername | Extract followers of an account |
verified_follower_explorer | targetUsername | Extract verified followers of an account |
community_extractor | targetCommunityId | Extract members of a community |
mention_tracker | targetUsername | Extract users who mentioned an account |
user_search | searchQuery | Extract users matching a search query |
Response
Unique extraction job ID.
Tool type used for this extraction.
Job status. completed on success.
Total number of extracted results.
{
"id": "77777",
"toolType": "reply_extractor",
"status": "completed",
"totalResults": 150
}
{ "error": "invalid_input" }
Request body is missing or malformed. Ensure all required fields are present.{ "error": "invalid_tool_type" }
The toolType value is not one of the 8 supported tools. See tool types.{ "error": "unauthenticated" }
Missing or invalid API key.{ "error": "no_subscription" }
No active subscription or usage cap reached. Possible error values: no_subscription, subscription_inactive, usage_limit_reached.{ "error": "x_api_unavailable" }
The upstream X API is temporarily unavailable. Retry with exponential backoff.