Price a size across the legs of an approved cross-venue market link
Plans a buy across the venues of an approved market link the caller can route to and returns the per-leg sizes, limit prices and fee estimates it would use, without submitting anything. POST /orders/route-buy executes the same plan. Routable legs are per caller: Polymarket and Predict.fun always, Hyperliquid when routing is enabled, Kalshi only for an account with a Kalshi credential connected. A Kalshi leg that would have filled the request at a strictly lower fee-inclusive price than the plan is reported in cheaper_elsewhere with reason: not_connected; it is never planned. A plan that cannot be built is still a 200 with routed: false — no approved link for this market, sources unavailable, or no routable leg with a live book. Only caller-input errors are 400. Auth & scope. Requires trade:read for provider.
Request
- Base URLhttps://execution.kairos.trade
- AuthAPI key in header X-Client-Id and API key in header X-Api-Key and API key in header X-Api-Secret
Query parameters
The venue you are quoting from; any leg of the link, routable or not.
yes or no, case-insensitive.
Decimal string, must be > 0.
Must be in [1, 99] if provided.
Response
The routing plan (check routed).
Example response
{
"cheaper_elsewhere": {
"provider": "kalshi"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.