{"uid":"cap_Nk3nC6azggJMP7a3omT_-","slug":"apex-runner-optimal-order-routing-signal-9ad2f3be","name":"APEX Runner: Optimal Order Routing Signal","description":"APEX Runner: Optimal Order Routing Signal","url":"https://apexrunner.ai/signals/optimal-order-routing","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["method"],"properties":{"queryParams":{"type":"object","properties":{"coin":{"enum":["AVAX","BTC","ETH","LINK","SOL","XRP"],"type":"string","default":"BTC"},"side":{"enum":["buy","sell"],"type":"string","default":"buy"},"size_usd":{"type":"number","default":1000,"maximum":1000000,"minimum":10}}}}},"output":{"type":"object","properties":{"example":{"type":"object","properties":{"coin":{"type":"string"},"side":{"type":"string"},"_apex":{"type":"object","properties":{"signal":{"type":"string"},"source":{"type":"string"},"version":{"type":"string"},"instance":{"type":"string"},"verify_at":{"type":"string"},"signal_hash":{"type":"string"},"live_trading":{"type":"boolean"},"evolution_runs":{"type":"integer"},"live_capital_deployed":{"type":"boolean"},"trades_backing_signal":{"type":"integer"}}},"reason":{"type":"string"},"size_usd":{"type":"number"},"exchanges":{"type":"object","additionalProperties":{"type":"object","properties":{"price":{"type":"integer"},"fee_usd":{"type":"number"},"net_cost_usd":{"type":"number"},"taker_fee_pct":{"type":"number"}}}},"timestamp":{"type":"string"},"savings_pct":{"type":"number"},"valid_for_seconds":{"type":"integer"},"recommended_exchange":{"type":"string"},"savings_vs_worst_usd":{"type":"number"}}}}}}},"responseSchema":{"type":"json","reason":"string — plain-English explanation of routing decision","example":{"order_type":"limit","recommended_exchange":"hyperliquid","estimated_total_cost_pct":0.14},"order_type":"string — recommended order type: limit or market","venue_ranking":"array — all venues ranked by total cost, each with exchange and total_cost_pct","estimated_fee_pct":"float — exchange fee as percentage of order value","recommended_exchange":"string — cheapest venue: kraken / coinbase / hyperliquid","estimated_total_cost_pct":"float — fee + slippage as percentage of order value"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SJon29p89VQEX_aqCqiwm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a real-time optimal exchange routing signal for buying or selling a crypto asset, identifying which exchange offers the best price and lowest fees for a given order size.","exampleAgentPrompt":"Check APEX Runner's optimal order routing signal for buying $25,000 worth of ETH — tell me which exchange to use and how much I'd save versus the worst option.","exampleUseCases":null,"resultDescription":"Returns a structured signal containing: the recommended exchange for the trade, per-exchange breakdown of price, taker fee percentage, and net cost in USD, the percentage and absolute USD savings versus the worst exchange, a human-readable reason explaining the recommendation, signal metadata (hash, version, validity window in seconds, whether live trading is active, number of trades backing the signal), and a timestamp for the signal.","failureModes":["Unsupported coin symbol returns validation error (only AVAX, BTC, ETH, LINK, SOL, XRP supported)","size_usd below $10 or above $1,000,000 returns range validation error","Invalid side value (not 'buy' or 'sell') returns enum error","Signal may expire quickly — valid_for_seconds indicates freshness window","Payment failure (x402) if USDC balance insufficient","Exchange data unavailable for one or more venues may affect comparison completeness"],"whenToPreferThis":"Use this endpoint when you need real-time, signal-backed exchange routing recommendations for a specific crypto trade, especially when minimizing fees and slippage matters. Prefer this over generic price aggregators when you need a structured, hashable signal with fee-aware net cost calculations across major crypto exchanges. Best suited for traders executing single orders in the $10–$1,000,000 USD range on supported assets (AVAX, BTC, ETH, LINK, SOL, XRP).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:49.258Z","isFirstParty":false}