API
Complete reference for the ZeroDelta read API: quoting, transaction tracking, and chain/token/route/solver/protocol discovery. For an integration walkthrough see the Integration Guide.
Conventions
Auth. Most endpoints require an API key in the
x-apikeyrequest header (anAuthorization: Bearer <key>form is also accepted, andx-api-keyworks as an alias). The health probes are public. The base URL and your API key are provided during onboarding (separatedevandprodhosts); they are not published here.Environments. Two deployments are live:
prod(production) anddev(pre-production). Each is a separate on-chain deployment on the same nine mainnet chains — the escrow, roles and bridge-adapter addresses differ between them, and a key issued for one environment is not valid against the other. Read the contract addresses for your environment fromGET /api/v1/chainsagainst your own base URL; never hardcode them or copy them between environments.Versioning. Paths are namespaced under
/api/v1/. Changes withinv1are additive; breaking changes ship under a new version.Roles. Keys are
viewer(all/api/v1/*read and quote endpoints) oradmin. The admin role additionally reaches an operator-only management surface that is not part of the integration contract and is not documented here.Envelope. Every
/api/v1/*response is wrapped in a standard envelope: the resource lives underdata, errors undererror, and list responses carrymetaandpaging. The examples below show thedatapayload; assume the envelope around it. See Models.Amounts. Token amounts are strings in the token's smallest unit (e.g.
"1000000"= 1 USDC at 6 decimals). Chain IDs are serialized as strings in responses. Native fees are wei strings.Pagination. List endpoints accept
limit(max 500; default 50 for transactions, 100 elsewhere) andoffset(default 0). ⚠️ A bare call therefore returns only the first page, and a truncated list is indistinguishable from a complete one unless you checkmeta.totalCountagainst the number of rows you received.
Schemas live on their own pages. Models covers the envelope, error codes, the status vocabulary, the compliance decision, and the quote/order shapes. Transaction Models covers the tracked transaction, its steps, and the chained-journey fields.
Endpoints at a glance
POST
/api/v1/quote
Cross-chain swap quote
GET
/api/v1/fees/balances
Unclaimed integrator fees, per recipient
POST
/api/v1/fees/payouts
Claim integrator-fee payouts
GET
/api/v1/fees/payouts
Your payout requests
GET
/api/v1/transactions
List tracked transactions
GET
/api/v1/transactions/{txHash}
One transaction, with steps
GET
/api/v1/transactions/{txHash}/orders
Batch orders in single transaction
GET
/api/v1/transactions/{txHash}/gmp
On-demand GMP status enrichment
GET
/api/v1/transactions/stats
Aggregated transaction statistics
GET
/api/v1/chains
List supported chains
GET
/api/v1/chains/{chainId}
One chain
GET
/api/v1/tokens
List supported tokens
GET
/api/v1/tokens/{tokenId}
One token by ID
GET
/api/v1/tokens/lookup
One token by address + chain
GET
/api/v1/tokens/configs
Token bridge configuration documents
GET
/api/v1/prices
Cached USD prices by symbol
GET
/api/v1/routes
List bridge rails (not the trade catalogue)
GET
/api/v1/routes/{routeId}
One route
GET
/api/v1/route-health
Measured lane health — build your picker from this
GET
/api/v1/protocols
List supported GMP protocols
GET
/api/v1/solvers
Solvers grouped by chain
GET
/api/v1/solvers/{chainId}
Solvers on one chain
GET
/api/v1/rwa/*
Tokenized real-world-asset vaults (5 routes)
GET
/api/v1/stakeflow/*
Stakeflow points and commitments (7 routes)
GET
/health
Liveness probe (no auth)
GET
/health/ready
Readiness probe (no auth)
GET
/metrics
Prometheus metrics (no auth)
Quotes
POST /api/v1/quote
Wallet screening. ZeroDelta screens wallets at two points. (1) At quote time — when you supply
owner(and optionallydestinationReceiver), both are screened by the compliance engine before a quote is returned; a blocked pair receives no quote or deposit instructions (422 COMPLIANCE_BLOCKED). (2) At execution time — the solver re-screens the pair through its pre-fill compliance gate before filling the order, so a pair that becomes blocked after quoting is still stopped before settlement. Whenowneris omitted the quote returnscomplianceStatus: UNSCREENEDand the execution-time gate remains the enforcement point.
Calculates a firm cross-chain swap quote between two supported tokens. The quote is computed in-process: the engine races every configured liquidity provider in parallel, picks the best output, adds LayerZero/CCTP fees and a bridge-time estimate, and returns a prepared orderRequests array ready for submitOrder. The response carries a masked provider label (the specific market maker is not disclosed). This endpoint is per-key rate limited; max request body 1 MB.
Same-token pairs. A same-token pair across two different chains is quoted as a direct bridge (isDirect: true) when the token's mesh connects those chains: no liquidity-provider swap and no solver fill — submitOrder bridges straight to the receiver, toAmount == finalAmount is a minimum-delivered floor, and the resulting transfer is not cancellable. Only a same token on the same chain is rejected (400 BAD_REQUEST), since there is nothing to bridge or swap.
Minimum trade size. Orders below the per-pair floor are refused with 422 BELOW_MIN_TRADE_SIZE, and error.fieldErrors carries a fromAmount entry with the exact minimum. The global floor is $0.02; USDe pairs carry a higher floor of $0.11.
A served quote is not proof a lane can be filled. The quote gate refuses what it can see at pricing time — a closed vault, a throttled bridge, a firewalled lane, a lane measured broken while enforcement is on. It cannot refuse what it cannot see: a lane the prober marks
degraded/not-fillableprices cleanly and still fails to fill. Filter your catalogue withGET /api/v1/route-healthrather than relying on the quote alone.
Request body (QuoteRequest):
fromChainId
yes
Source chain ID (string or number).
toChainId
yes
Destination chain ID.
fromToken
yes
Source token symbol or contract address.
toToken
yes
Destination token symbol or contract address.
fromAmount
yes
Amount to sell, in the source token's smallest unit.
owner
no
Order owner address. When provided, the response also populates escrowAddress and executionChainId.
destinationReceiver
no
Recipient wallet; screened alongside owner when present.
sender
no
The wallet that pays for and signs the order: a hex address on an EVM source, a base58 public key on a Solana source. When provided, the response carries txData, and owner and destinationReceiver become required.
deadline
no
Only with sender. The order's deadline that txData signs for, in unix seconds (decimal string). Absent: the quote's recommendedDeadline. "0": no deadline. A past value is a 400.
feeRecipients
no
Array of FeeRecipient, 1–8 entries. Your integrator fee: who is owed a share of this order, and how much, each in centibps of the output (100 = 1 bps). The total comes off the output after everything else the quote does. Requires both owner and destinationReceiver. Your API key must be enabled for fees.
Both owner and destinationReceiver are optional inputs used for compliance screening, unless you name a sender. Supply both to receive a usable partnerId marker when the quote carries one; a supplied wallet must be a valid address for that lane. The returned orderRequests[] come back with owner and destinationReceiver filled from these fields, or null when they were omitted — make sure both are set on every element before submitting (see the Integration Guide).
feeRecipients rules. Each violation is a 400 VALIDATION_ERROR with fieldErrors:
1 to 8 entries, each
recipientunique.Each
feeCentibpsfrom 1 to 100,000.The total at most 100,000 (10%).
Each
recipientis either:an EVM address:
0xplus 40 hex digits, not the zero address, with a valid EIP-55 checksum when written in mixed case. It is echoed back checksummed. A mixed-case address with a wrong checksum is refused as a likely typo.a Solana address: base58 that decodes to 32 bytes, not
11111111111111111111111111111111. It is kept and compared exactly as sent, because base58 case is significant.
Response (200, data is a Quote; illustrative values):
When owner is supplied in the request, the response additionally includes escrowAddress, executionChainId, and executionEscrowAddress.
Ready-to-sign transactions (sender). Name the wallet that will pay for and sign the order as sender, together with owner and destinationReceiver, and the quote carries txData: the unsigned transactions the order needs, in send order. On an EVM source they are calls — an approve on the bid token when the escrow's allowance from sender is short, then submitOrder on the escrow with msg.value already set. On a Solana source they are serialized transactions built from the wallet's state on the ZeroDelta program. Send each one and wait for it to confirm before sending the next. orderRequests[0].deadline is then the deadline the transactions sign for: the quote's recommendedDeadline, or the deadline you passed. Never re-send stored transactions after a failure or an expiry — request a new quote, and the gateway returns only what is still to do. Shapes: EvmTransaction and SolanaTransaction in Models.
partnerId. Some quotes carry a partnerId: every quote whose request carried feeRecipients (see Integrator-fee quotes below), and certain other quotes depending on your API key. When it is present:
A
0x-prefixed 32-byte hex string is the marker for this exact quote. Submit it verbatim as thebytes32 partnerIdargument ofsubmitOrdertogether with the quoted amounts and the sameowneranddestinationReceiverused at quote time. The first matching order consumes it.An object of the form
{ "error": "..." }means the request omittedownerordestinationReceiver, so no marker could be bound. Show the price if useful, then request a new quote with both wallets before submitting. Never pass this object to the contract.If
partnerIdis absent, usebytes32(0). It is always absent for a direct bridge (isDirect: true).
Changing a marked quote's wallets, amounts, or marker means the marker will not match the submitted order, even though the transaction itself may succeed. The order may then remain unfilled until the market meets its price or the owner cancels.
Integrator-fee quotes. A quote that carries feeRecipients always carries partnerId, for any API key, and on a fee quote it is always the string form, never the { "error": ... } object (a fee request without both wallets is refused with 400 FEE_WALLETS_REQUIRED instead). Submit it exactly as above. An order submitted without the partnerId settles normally at the net amount, but no fee is collected on it.
compliance.decisionisALLOW/DENY/REVIEW/REMEDIATE. There is noBLOCKvalue — a client branching on one would treat every refusal as an allow. A successful quote is only ever returned forALLOW. See Models.
Order-request semantics:
orderRequestsis an array — it is the exact argumentsubmitOrdertakes. One element for a normal or direct quote; two for a chained quote (isChained: true), where element 0's swap output funds element 1. Pass the whole array through unchanged, fillingowneranddestinationReceiveron every element.orderRequests[].executionChainIdis the chain the order clears on. It is always populated — including on direct quotes, where the contract validates it before short-circuiting — and the contract reverts on0.On a chained quote,
orderRequests[1].bidTokenAmountis an estimate the contract overwrites with actual receipts, andorderRequests[1].deadlineis"0"by design (it is re-validated at continuation time).
Fee and amount semantics:
toAmountis the on-chainorder.askTokenAmount— the swap output threshold the solver must meet to fill the order, used to constructorderRequests[].askTokenAmount. It is not what the destination receiver gets when the outbound bridge charges a protocol fee — seefinalAmount.finalAmountis what the destination receiver actually gets:toAmountminus the outbound bridge protocol fee (CCTP fast-track maxFee). It equalstoAmountfor LayerZero outbound and CCTP slow-track outbound, and is otherwise slightly lower.finalAmount <= toAmountalways; always populated.inboundProtocolFeeis the CCTP fast-track maxFee debited from the input before pricing: the inbound bridge deliversfromAmount − inboundProtocolFeeto the execution chain andtoAmountis quoted from that."0"for LayerZero bids, local bids, and slow-track lanes.feeBpsis the route protocol fee in basis points (CCTP fast-track fee for Circle lanes;0for LayerZero). Metadata only — it is not subtracted fromtoAmount. The actual fee shows up as the gap betweentoAmountandfinalAmount.recipientFees(aRecipientFees, present only when the request carriedfeeRecipients) is the integrator fee taken off this quote. Amounts are raw units of the output token on the execution chain (chainId,token,decimals), the same scale astoAmount.toAmount,finalAmountandorderRequests[0].askTokenAmountare already net of it;feeBpsis unaffected.estimatedDurationis the end-to-end transfer time in seconds, composed of inbound bridge finality + execution-chain swap window + outbound bridge finality, plus a per-leg fill-latency buffer that covers tx inclusion on each hop. CCTP legs use fast vs standard finality depending on the deployed adapter's slow-track setting.lifespanSecondsis how long the quote stays valid, in seconds, derived from the winning provider's signed expiry (expiry minus generation time, floored at 0). It is0when the provider does not sign an expiry or the quote has already lapsed. The on-chain fill threshold itself does not expire — this is the provider's price-validity window.swapTimeSecondsis the estimated time for the on-chain swap to settle on the execution chain. The swap executes in a single transaction, so this is one block of the execution chain (its average block time, which differs per chain);0when block-time data is unavailable.gasCostSource/gasCostDestare LayerZero native messaging fees in wei (inbound and outbound respectively), and are0for CCTP (USDC). PassgasCostSourceasmsg.valueonsubmitOrder.swapCostis a gas hint from the winning liquidity provider (decimal string; empty when the provider does not return one).provideris a masked liquidity-provider label, always"zerodelta"on a successful swap quote — the specific market maker the engine routes through is not disclosed. Omitted on direct-bridge quotes (there is no provider).isDirectmarks a direct-bridge quote (same token, different chains): no swap, no solver fill, not cancellable, and the top-levelexecutionChainId/executionEscrowAddresscancel coordinates are omitted.isChainedmarks a two-leg quote:orderRequestscarries two elements and settlement spans two execution chains.
Errors: Omitting either wallet on a quote that carries partnerId is handled in the successful quote's partnerId object as described above.
Status
error.code
Cause
400
BAD_REQUEST
Malformed body, missing required field, non-positive fromAmount, or the same token on the same chain (fromToken == toToken with fromChainId == toChainId).
400
VALIDATION_ERROR
A malformed feeRecipients (see the rules above), with fieldErrors.
400
WALLETS_REQUIRED
Depending on your API key: the request named an owner or destinationReceiver that a partnerId marker cannot bind: not an EVM address (a Solana destination takes its base58 wallet). Leaving a wallet out is not this error: the quote's partnerId is then an error object, as described above.
400
FEE_WALLETS_REQUIRED
feeRecipients without both owner and destinationReceiver, or a wallet the fee cannot bind: not an EVM address (a Solana destination takes its base58 wallet).
400
FEE_UNSUPPORTED_LANE
feeRecipients on a pair with no USD stablecoin side, a direct bridge, or a chained quote. The same request without feeRecipients prices.
401
UNAUTHORIZED
Missing or invalid API key.
403
FEE_NOT_ENABLED
The request carried feeRecipients, and your API key is not enabled for fees. The same request without them prices.
422
BELOW_MIN_TRADE_SIZE
Bid amount is under the per-pair minimum ($0.02 global, $0.11 for USDe pairs). error.fieldErrors carries a fromAmount entry with the exact minimum.
422
QUOTE_UNAVAILABLE
No registered route for the requested (token, source chain, destination chain) — e.g. the token is not enabled on that chain. Also returned when the request carried feeRecipients and the order is too small to carry at least one unit of fee.
422
BRIDGE_RATE_LIMITED
The lane exists, but a bridge the order would cross cannot carry it right now: the token's LayerZero pathway is throttled or closed by its issuer's rate limiter. When a smaller amount still fits, the error carries error.limits[] with the ceiling and a fromAmount field error ("Maximum: X SYM right now"). With no limits, the pathway is closed: retry later or choose another destination chain.
422
ROUTE_UNHEALTHY
The lane exists, but ZeroDelta's route-health prober has measured it failing to price for an extended period (a momentary provider outage is UPSTREAM_ERROR instead). Stop offering the pair; it quotes again on its own once it recovers.
422
VALIDATION_ERROR
Semantic validation failure, with per-field details.
422
COMPLIANCE_BLOCKED
Supplied owner/destinationReceiver pair failed screening; no quote or deposit instructions returned. The error reasons[] array is populated per the disclosure policy.
429
RATE_LIMITED
Rate limit exceeded; a Retry-After header (seconds) is returned.
502
UPSTREAM_ERROR
The quoting engine could not produce a quote (all liquidity providers failed, or bridge-fee estimation failed). Transient; retry with backoff.
503
SERVICE_UNAVAILABLE
Compliance engine unreachable while screening — the quote gate fails closed (only when owner is supplied and the gate is configured). Also returned when the request named a sender and the gateway cannot build transactions for the source chain.
503
FEE_UNAVAILABLE
The request carried feeRecipients and fees cannot be taken right now. Nothing about the request was wrong: retry, or quote without feeRecipients.
Fees
Endpoints for the integrator fees you charge with feeRecipients on a quote (see Charging an integrator fee in the Integration Guide). Every route takes your API key; a key that is not enabled for fees gets 403 FEE_NOT_ENABLED on each. Balances and payouts are scoped to the calling key: another key's fees are never visible. Shapes: FeeBalancesListing, FeePayoutClaim and FeePayout in Models.
GET /api/v1/fees/balances
Unclaimed fees per recipient: what each recipient named in this key's feeRecipients has collected since its last payout claim, in US dollars. Each fee is valued at the market price at its fill's block, and counts once the fill is confirmed and valued, usually within seconds.
Returns a
FeeBalancesListing:rows[]of{ recipient, amountUsd, fills, updatedAt }, andmeasured.amountUsdis an exact decimal string, up to 18 places.fillscounts the fills since the last claim.measured: false, with no rows, means the balances could not be read right now. It never means "nothing collected".A recipient that has been claimed shows
amountUsd0 until it collects again.Not paginated: one row per recipient the key has ever paid.
Errors: 401 UNAUTHORIZED, 403 FEE_NOT_ENABLED, 429 RATE_LIMITED.
POST /api/v1/fees/payouts
Claims payouts. Each named recipient's whole balance becomes one pending payout request, to be paid in USDC to that address on chainId. Its balance goes back to zero in the same step: a fee that lands during the claim is counted either in the request or in the new balance, never both and never neither. Payouts are made by hand.
201with oneFeePayoutper recipient, in address order.1 to 100 recipients. A recipient may appear only once per claim, in any spelling; a repeat is
400 VALIDATION_ERROR"must be unique".chainIdis an integer here and must be one of the chains below. The chain decides the address form: Solana takes a Solana address; every other chain takes an EVM address, in any case (a mixed-case one must carry a valid EIP-55 checksum).
1
Ethereum
10
Optimism
130
Unichain
137
Polygon
143
Monad
146
Sonic
196
X Layer
1329
Sei
1672
Pharos
8453
Base
9745
Plasma
42161
Arbitrum
43114
Avalanche
57073
Ink
98866
Plume
1151111081099710
Solana
All or nothing. If any named recipient has nothing to claim, 409 FEE_NOTHING_TO_CLAIM names them. If any has less than $0.05, 409 FEE_BELOW_MINIMUM names them and their balances. Either way, nothing is claimed. A request cannot be withdrawn, edited or deleted once made.
Errors: 400 VALIDATION_ERROR (malformed body, an invalid address, or a chainId outside the list, with fieldErrors), 401 UNAUTHORIZED, 403 FEE_NOT_ENABLED, 409 FEE_NOTHING_TO_CLAIM, 409 FEE_BELOW_MINIMUM, 429 RATE_LIMITED, 503 FEE_UNAVAILABLE (the claim could not be recorded; nothing was claimed).
GET /api/v1/fees/payouts
The payout requests this key has made, newest first. Returns an array of FeePayout.
Query parameters: status (pending, completed or all; default pending), limit (default 50, max 500), offset. meta.totalCount counts every match, and paging links the neighbouring pages.
A request's status moves from pending to completed once the payout has been sent; completedAt is then set.
Errors: 400 (a status other than pending, completed or all is VALIDATION_ERROR; a malformed limit or offset is BAD_REQUEST), 401 UNAUTHORIZED, 403 FEE_NOT_ENABLED, 429 RATE_LIMITED.
Transactions
GET /api/v1/transactions
Lists tracked cross-chain transactions, most recent first. Returns an array of TrackedTransaction (without the per-transaction steps array — fetch a single transaction for steps).
Query parameters:
status
Filter by TrackingStatus.
protocol
Filter by GMP protocol (e.g. layerzero).
chainId
Matches source or destination chain.
fromChainId
Filter by source chain.
toChainId
Filter by destination chain.
txHash
Filter by transaction hash (list filter, not the path lookup).
wallet
Filter by wallet address.
includeChainedLegs
Surface the second leg of a chained order as its own row. Default false; see the note below.
createdAfter / createdBefore
RFC 3339 time-window bounds.
sortBy
created_at (default) or updated_at.
sortOrder
desc (default) or asc.
limit / offset
Pagination (default limit 50, max 500).
includeChainedLegsdefaults tofalse, and that default is deliberate. A chained child is half of one user intent, so listing it beside its parent shows a single purchase as two transactions — one of which the user never submitted and cannot cancel. By default the parent carries it inlegs[]instead, and the fold is applied in SQL, someta.totalCount, pagination and/transactions/statsall agree with the rows you get back. Set it totrueonly when you specifically want per-leg rows, and expect your order counts to change.
Errors: 400 BAD_REQUEST, 401 UNAUTHORIZED.
GET /api/v1/transactions/{txHash}
Returns one TrackedTransaction keyed by source transaction hash, including the steps array. This is the endpoint the status poller calls (see the Integration Guide). Before the source tx is mined and indexed, this returns 404 — treat that as "not indexed yet" and keep polling.
Path parameter: txHash — the source-chain submit transaction hash.
idis notorderId. The tracked transaction'sidis a deployment-scoped uid (for example"rwa:0x52b1…") because raw order ids are not unique across redeployments — a redeployed escrow restarts the nonce. The escrow'scancel/claimCancellation/getOrdercalls takeorderId; passingidthere reverts.
Errors: 401 UNAUTHORIZED, 404 NOT_FOUND.
GET /api/v1/transactions/{txHash}/orders
Returns all orders sharing a submit transaction hash, most-recent first. A single submit tx can create more than one order (a batch); the single-object GET /api/v1/transactions/{txHash} collapses to the most-recent, while this returns the full set — each enriched identically to the single GET. Requires an API key.
Path parameter: txHash — the source-chain submit transaction hash.
Response (200): data = array of TrackedTransaction (each with its steps).
Errors: 401 UNAUTHORIZED, 404 NOT_FOUND.
GET /api/v1/transactions/{txHash}/gmp
On-demand GMP status enrichment for one transaction. Declared in the published spec; in deployed environments it may additionally be IP-restricted to internal services, so treat access as environment-dependent rather than guaranteed by your key.
Errors: 401 UNAUTHORIZED, 404 NOT_FOUND.
GET /api/v1/transactions/stats
Returns aggregated statistics over the transactions matching the filters. The data payload is a TransactionStats object.
Query parameters: status, protocol, chainId (matches source or destination chain), fromChainId, toChainId, wallet, createdAfter, createdBefore (same semantics as the list endpoint).
Errors: 401 UNAUTHORIZED.
Chains
GET /api/v1/chains
Lists supported chains. Returns an array of Chain. Each chain is enriched at response time with its contract addresses and execution-chain flag. This is the canonical source for the escrow, roles and adapter addresses of the environment your key belongs to — dev and prod return different addresses for the same chain.
Query parameters: enabledOnly (string; set to false to include disabled chains, default true), limit, offset.
Errors: 401 UNAUTHORIZED.
GET /api/v1/chains/{chainId}
Returns one Chain.
Path parameter: chainId (integer).
Errors: 401 UNAUTHORIZED, 404 NOT_FOUND.
Tokens
GET /api/v1/tokens
Lists supported tokens as per-chain rows. Returns an array of Token, each enriched with bridge metadata and its enabled outbound routes. This is the canonical source for per-(chain, token) contract addresses — do not hardcode them. Together with GET /api/v1/route-health it is what you build a route picker from.
⚠️ Page this endpoint. The default page is 100 rows and the catalogue is larger, so a bare call returns a truncated list that looks entirely healthy. Compare
meta.totalCountagainst the rows you received and page withlimit(max 500) andoffsetuntil they match — otherwise your picker silently omits whole tokens.
Query parameters: chainId, symbol (e.g. USDC), isEnabled (string; false includes disabled tokens, default true), limit, offset.
Errors: 401 UNAUTHORIZED.
GET /api/v1/tokens/{tokenId}
Returns one Token by its ID.
Path parameter: tokenId (string).
Errors: 401 UNAUTHORIZED, 404 NOT_FOUND.
GET /api/v1/tokens/lookup
Resolves a single Token by contract address and chain.
Query parameters (both required): address, chainId.
Errors: 400 BAD_REQUEST, 401 UNAUTHORIZED, 404 NOT_FOUND.
GET /api/v1/tokens/configs
Returns the per-symbol token bridge configs (loaded from the token config directory), as an array of typed TokenConfig objects — one per token, sorted by name. contracts is keyed by chain ID. Useful for discovering bridge/standard metadata across chains in one call.
Errors: 401 UNAUTHORIZED.
GET /api/v1/prices
Returns cached USD prices for the supported market and tokenized-asset symbols. The snapshot is cached and refreshed with stale-while-revalidate, so this is cheap to poll.
Query parameter: symbols — comma-separated token or native-currency symbols (max 100); omit for the full catalogue.
fallbackSymbols lists USD-pegged assets priced at the explicit $1 fallback because no live observation was available.
Errors: 400 BAD_REQUEST, 401 UNAUTHORIZED.
Routes and lane health
GET /api/v1/routes
Lists the bridge rails. Returns an array of Route. A route describes how one token moves between two chains — its bridge, adapter, standard, facet, fee and duration metadata.
This is not the trade catalogue. A
Routecarries a singletokenIdand no destination-token field, so it cannot express a trade between two different tokens, and it only covers the tokens that are bridge-configured. Build a route picker fromGET /api/v1/tokens(the cells that exist) filtered byGET /api/v1/route-health(the lanes that work). See Discover what you can trade in the Integration Guide.
Query parameters:
fromChainId
Filter by source chain.
toChainId
Filter by destination chain.
token
Filter by token symbol, token name, token ID, or source/destination token address.
tokenId
Filter by token ID.
bridge
Filter by bridge provider (e.g. layerzero, Circle).
isEnabled
String; false includes disabled routes, default true.
limit / offset
Pagination.
Errors: 401 UNAUTHORIZED.
GET /api/v1/routes/{routeId}
Returns one Route.
Path parameter: routeId (string).
Errors: 401 UNAUTHORIZED, 404 NOT_FOUND.
GET /api/v1/route-health
Measured lane health from the route-health prober, which re-quotes every catalogued lane on a sweep and records the verdict. This is the endpoint a route picker is built from — see Discover what you can trade in the Integration Guide for the full flow.
It also feeds Route.isQuotable: a lane the prober measured broken is demoted only when enforcement is on, and an absent isQuotable means "not measured", which must be treated as quotable.
scopehas exactly two behaviours.scope=allreturns every measured lane. Any other value — including omitting the parameter, and includingscope=healthy— returns the unhealthy subset, and the response echoes"scope": "unhealthy"whatever you sent. Sendscope=allwhen you want the full picture, and read the echoedscopeback rather than assuming your value was honoured.
Response: data carries mode (whether measured-broken lanes are currently being withheld from quoting), scope, a summary of lane counts by status, the sweep timestamps lastSweepAt / nextSweepDueAt / measuredAt, and the lanes array. The prober re-measures continuously, so counts and verdicts move between two calls seconds apart — treat every read as a snapshot.
laneKey
Stable identifier: source chainId:address, a greater-than sign, then destination chainId:address, both addresses lowercased. Key on this, not on symbols.
route
Human-readable label. Display only.
status
healthy, degraded, broken or unknown.
kind
Why the lane is not healthy. Absent on healthy lanes.
message
The upstream reason, when there is one worth surfacing.
par
The ratio the prober last measured for this lane.
consecutiveFailures / firstFailedAt
Present on broken lanes.
lastProbedAt / lastOkAt
When the lane was last measured, and last measured working.
kind values, and what to do with each:
kind
Meaning
Do
firewalled
Disabled by ZeroDelta operations. It will not quote.
Hide, do not retry
not-fillable
Prices cleanly but cannot actually be filled at the measured size.
Hide
lane-gap
No bridge wiring exists for this token pair.
Hide
bridge-throttled
The token's bridge path is rate-limited to zero upstream. Temporary.
Hide, retry later
persistent-upstream
Liquidity providers unavailable for this pair. Temporary.
Hide, retry later
vault-closed
An RWA vault is not accepting deposits; message carries the reason.
Hide, explain
value-floor
No acceptable price at the probed size. Size-dependent, not structural.
Offer with a warning
Filter on
kind, not onstatus. The two are not interchangeable. A firewalled lane'sstatusisunknown, notbroken— the prober skips it rather than measuring it — so a filter that only hidesbrokenkeeps every disabled lane in your picker. In the other direction,not-fillableappears under bothdegradedandbroken.
Errors: 401 UNAUTHORIZED.
Protocols
GET /api/v1/protocols
Lists the supported cross-chain messaging (GMP) protocols and their per-chain state. The data payload has protocols (a string array) and states (an array of ProtocolState).
Errors: 401 UNAUTHORIZED.
Solvers
A solver is a wallet authorized to fill orders on a given chain. These endpoints expose the public solver registry (read-only).
GET /api/v1/solvers
Returns active solvers grouped by chain, as an array of ChainSolvers.
Query parameter: enabledOnly (boolean; set to false to include soft-deleted rows, default true).
Errors: 401 UNAUTHORIZED.
GET /api/v1/solvers/{chainId}
Returns one ChainSolvers group for a single chain. Returns 404 for chain IDs not in the chain registry.
Path parameter: chainId (integer). Query parameter: enabledOnly (boolean, default true).
Errors: 400 BAD_REQUEST, 401 UNAUTHORIZED, 404 NOT_FOUND.
Tokenized assets (RWA)
Read-only views over the tokenized real-world-asset vaults ZeroDelta can clear into. Declared in the published spec; full response schemas ship in the OpenAPI package.
GET /api/v1/rwa/vaults
List tokenized RWA vaults
status
GET /api/v1/rwa/vaults/{slug}
One vault by slug
—
GET /api/v1/rwa/vaults/{slug}/history
Daily price, APY and TVL series
—
GET /api/v1/rwa/vaults/{slug}/activity
Deposits and redemptions for one vault
cursor, days, limit
GET /api/v1/rwa/icons/{file}
Vault icon, proxied from the upstream CMS
—
Errors: 400 BAD_REQUEST, 401 UNAUTHORIZED, 404 NOT_FOUND (per route; the icon proxy needs no key).
Stakeflow
Points and commitment views. Declared in the published spec; full response schemas ship in the OpenAPI package.
GET /api/v1/stakeflow/leaderboard
Ranked wallet totals (restricted — can return 403)
wallet
GET /api/v1/stakeflow/points/{address}
A wallet's points position
—
GET /api/v1/stakeflow/rates
Published earn rate per committable token
—
GET /api/v1/stakeflow/commitments
A wallet's commitments, active and revoked
wallet
GET /api/v1/stakeflow/balance
One wallet's live balance of a committable token
wallet, token, chainId
GET /api/v1/stakeflow/capacity
How much of one token a wallet could revoke
wallet, token
GET /api/v1/stakeflow/revoke-preview
What a specific revocation would cost
wallet, token, amount
Errors: 400 BAD_REQUEST, 401 UNAUTHORIZED, and 403 on the leaderboard.
Health and metrics
GET /health
Liveness probe. Always returns 200. No auth.
GET /health/ready
Readiness probe. Probes downstream dependencies in parallel; only the database pools are critical. Returns 503 when a critical DB check fails, otherwise 200 — with status: degraded when a non-critical dependency is down. No auth.
statusisokordegraded.
checksholds infrastructure dependencies under generic role labels (database,read_database,cache).
providersholds third-party / internal-service dependencies under opaque hashed keys — the specific vendor is never disclosed.Each entry has
status(ok | unavailable | stub | not_configured), acriticalflag, and optionallatencyMs/ageSeconds. Per-check error detail is intentionally omitted.
failureslists the masked keys of non-ok checks (omitted when empty).
GET /metrics
Prometheus-format metrics. No auth; optionally IP-whitelisted per environment.
Authentication and rate limits
Auth. Send your key in the
x-apikeyheader on every/api/v1/*request (x-api-keyis accepted as an alias, as isAuthorization: Bearer <key>). The base URL and key are provided during onboarding (separatedevandprodhosts). A missing or invalid key returns401 UNAUTHORIZED. The health and metrics probes need no key.Environments.
devandprodare independent deployments with independent contract addresses and independent keys — adevkey returns401againstprod. Point each build at one environment's base URL and read its addresses fromGET /api/v1/chains.Rate limits. A global per-IP limit of roughly 100 requests/second with a burst allowance of 200 applies to every route. A tighter per-key limit of roughly 50 requests/second, burst 100 applies to the pricing endpoints,
/api/v1/quoteabove all. These are the deployed defaults; your key's exact limit is set at onboarding. On429 RATE_LIMITEDthe API returns aRetry-Afterheader — in the current implementation it is always the literal value1(seconds), so treat it as a floor and add your own backoff rather than assuming it grows. If you run many concurrent sessions refetching quotes, tell the Glacis team your expected/quoterate so your key is sized for it.A note for generated clients. The published OpenAPI spec does not declare a
429response on any path, so a client generated from it will have no rate-limit branch even though every endpoint is rate limited. Handle429explicitly.
Last updated

