create_extraction
Starts a background extraction job and returns its job record immediately without results, for one target when the limit exceeds 50 or the work may take a while. Poll with wait_for_extraction, then get_extraction_result.
Instructions
Start one extraction job that runs in the background and return its job record right away, without results. Uses credits for delivered results at the rate get_operation_guide shows (per result, or a flat amount for a few collections); credits are held at the start and the unused part is released, and failed, cancelled or empty runs are free. Use it for one target when the limit is above 50 or the work may take a while; use extract_now for small immediate answers and create_batch for many targets. Next call wait_for_extraction with job.id, then get_extraction_result. Safe to retry with the same idempotency_key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>",
"operation": "<operation>",
"target": "<target>"
},
"name": "create_extraction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to collect per target, from 1 up to the operation's max_results in discover_platforms. Default 12. Single-item operations (profile, post, video, transcript, playlist, adlibrary_ad, adlibrary_ad_transcript, profile_analytics) always count as 1; Instagram highlights, highlight_items and stories ignore limit. Example: 50 | |
| cursor | No | Only for Instagram followers and following: the next_cursor from an earlier result, to continue where that run stopped. Leave it out to start from the beginning. | |
| target | Yes | What to collect from; the format depends on the operation: a username without @, a post or video URL, an ID, a hashtag without #, a search query or a country code. Example: nike | |
| platform | Yes | Platform name from discover_platforms: instagram, tiktok, youtube, x or facebook. Example: instagram | |
| operation | Yes | Operation name from discover_platforms for the chosen platform, such as profile, posts, comments, followers, hashtag, search or adlibrary_search. Example: posts | |
| include_posts | No | Only for operation profile: also return this many recent posts, 0 up to the posts operation's max_results (200 at most; 50 at most in extract_now), billed at the posts rate. Default 0. Example: 12 | |
| idempotency_key | No | Optional retry key, 1-128 characters. Repeating the call with the same key and identical arguments returns the original request instead of starting and charging a new one. Reusing a key with different arguments is rejected. Leave it out to get a generated key back as idempotency_key. Example: nike-posts-2026-12-01 |