Compare the candidates on price and measured performance
apiosk_compareTurn a job into priced offers you can act on: price per call, a 0-100 score, measured p95 latency and measured success rate, side by side. The result comes back with a finished table in presentation to print as-is, numbered so the user can answer with a number. The Apiosk offers include offer_id for quote reconciliation, but execution still happens via the offer_token you keep from apiosk_discover. The reviewed Apiosk offers come back beside the live x402 endpoints the gateway swept from the wider ecosystem for the same job — those rows are there for transparency and ranking context. Chain it after apiosk_discover by passing the same plain-words query. Dimensions Apiosk has not measured come back null, never a plausible default. Reads only; spends nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | What you need, in plain words — the SAME words you gave apiosk_discover. This is how the chain works over MCP: pass the query forward, not the ids from apiosk_discover (those name results across every source it searched and are not the Apiosk catalogue's candidate ids). | |
| capability | No | A capability slug, to price every provider of one task directly, skipping the search. | |
| settlement | No | 'apiosk' keeps only listings Apiosk proxies and settles; 'direct' keeps only federated listings you pay the provider for yourself. | |
| optimize_for | No | Which dimension the weighting favours. Default 'price'. Choosing latency or reliability also sorts measured candidates above unmeasured ones, because an unmeasured provider cannot win a race it never ran. | |
| max_latency_ms | No | Hard ceiling on measured p95 latency, in milliseconds. Judged on the tail rather than the median, because a ceiling is a promise about the slow case: a provider with a fast median and a long tail still blows your timeout one request in twenty. A provider Apiosk has never proxied is rejected rather than assumed to meet it. | |
| max_price_usdc | No | Hard per-call price ceiling. Candidates above it are rejected, and each rejection says so. | |
| min_reliability | No | Hard floor on measured success rate. Accepts 0..1 or 0..100. An unmeasured provider is rejected rather than assumed to meet it. | |
| require_all_inputs | No | Reject any candidate that does not accept every input in the capability's contract. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||