estimate_credits
Calculate the maximum credits a request can reserve before starting extractions, batches, or schedules with large limits or many targets, using live pricing; free and read-only.
Instructions
Work out the most credits a request can hold before you start it, using the live price list. Free and read-only; nothing runs. Use it before create_extraction, create_batch or create_schedule with large limits or many targets. Returns normalized_limit, maximum_reserved_credits_per_target and maximum_reserved_credits_total; actual billing counts only delivered results and releases the rest.
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>"
},
"name": "estimate_credits"
}
}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 | |
| 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 | |
| target_count | No | How many targets the same request will cover, 1-100, as in create_batch or create_schedule. Default 1. Example: 20 | |
| 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 |