Plugin feeds on XDC
Early access. Live data and the free APIs are online. Sign-ups and payments open soon.
API reference / RouteQuote API

RouteQuote API

Best-route DEX quotes on XDC mainnet across XSwap V2/V3, Oku and Curve, from eth_call simulations. Fathom DEX quotes are shown for information only and never chosen as the best route, because Fathom's FXD stablecoin is in emergency shutdown. Data only: no calldata, no execution.

Coming soonProduct: RouteQuote (DEX route-quote API) · Get started
Base pathhttps://feedplumb.com/route
AuthenticationVenues and health: none. Quotes: a DataQuery key (billed from the same credits).
LimitsQuotes cached 10 s.
Health/route/health · status page

GET /route/health

Liveness plus current block.

curl
curl -s https://feedplumb.com/route/health
GET /route/health on this site

GET /route/venues

Venues, contracts, status and the token list (free).

curl
curl -s https://feedplumb.com/route/venues | jq '.venues[] | {id, status}'
GET /route/venues on this site

GET /route/quoteauth: DataQuery key

Best route for a swap size (2 credits).

ParameterDescription
tokenInsymbol or address
tokenOutsymbol or address
amountdecimal units (or amountIn in raw units)
curl
curl -s "https://feedplumb.com/route/quote?tokenIn=WXDC&tokenOut=USDC&amount=1000" -H "x-api-key: <key>"

Errors

StatusMeaning
401no key
402out of credits