BlockchainLive

Trade Rail Quote

APEX Trade Rail: before a bot buys a token on Arc, X1 or BNB Chain, simulate the buy AND the sell back at its size; a token you could not sell, or whose round trip costs more than…

$0.00345USDC per call · settled on Base · no subscription, no API key

Overview

APEX Trade Rail: before a bot buys a token on Arc, X1 or BNB Chain, simulate the buy AND the sell back at its size; a token you could not sell, or whose round trip costs more than maxLossPct (15 at most), is refused with the reason; otherwise the real pool, expected and minimum out, and UNSIGNED transactions for your own wallet. Pass chain=arc|x1|bnb, token, side=buy|sell, amount (buy: USDC on Arc, XNT on X1, BNB on BNB; sell: tokens), from=your wallet, optional maxLossPct.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/trade-rail-quote$0.00345Invoke Trade Rail Quote (Blockchain) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i https://api.jarvisclaw.ai/v1/marketplace/api/trade-rail-quote

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://api.jarvisclaw.ai/v1/marketplace/api/trade-rail-quote
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs