Quote a price
quote_apiGet the exact price of a run_api call BEFORE running it - free, no key required, nothing is charged or executed. Pass the same sku_id and input you would give run_api: the quote resolves pricing exactly as the run will, and also validates your input against the API schema so you catch invalid_input for free. Returns maxCostUsd (the ceiling reserved), minCostUsd (the likely charge), and the base/per-item breakdown explaining why they differ. These are amounts this one call is charged, not catalog comparison rates: report them as-is and never scale them to 1,000 requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | the exact input payload you plan to pass to run_api; the quote resolves pricing the same way the run will | |
| sku_id | Yes | the API SKU slug to price | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | Yes | true when the price is exact (minCostUsd == maxCostUsd): a flat SKU or a sealed page | |
| baseUsd | Yes | fixed cost per call in USD, charged regardless of count | |
| pricing | Yes | a one-line human explanation of how this call is priced | |
| maxCostUsd | Yes | the most this call can charge - the reserve held before running | |
| minCostUsd | Yes | the likely charge - the cheapest route serves first | |
| perItemUsd | Yes | marginal cost in USD per billable unit (see perItemUnit); 0 for a flat SKU | |
| perItemUnit | No | the unit perItemUsd is charged per: 'result' (default) or an input unit like 'username' for input-priced SKUs |