Skip to main content
The Market API is Velora’s DEX aggregator, served as a REST API. One request prices your swap, a second turns the quote into calldata for the Augustus v6.2 router, and you sign and broadcast it yourself. All you need to start is a partner string to tag your app.
Want gasless, MEV-protected swaps instead of self-broadcast calldata? Call GET /v2/quote with mode=ALL and Velora returns a Delta intent or a Market route, whichever is better. See Trading modes.

Lifecycle

1

Price

GET /prices — returns the optimal priceRoute (destAmount, gasCostUSD, bestRoute, and an hmac integrity tag).
2

Build

POST /transactions/:chainId — turns the priceRoute into a broadcastable txParams envelope. Attach permit / permit2 here to skip the approve tx.
3

Approve

ERC-20 approve(to, amount) against the Augustus v6.2 router (txParams.to). Native sources (ETH) skip this; the amount rides in txParams.value.
4

Send

Estimate gas locally, sign txParams, and broadcast. Settlement is atomic: it reverts if the delivered amount falls below the slippage-adjusted minimum.
In a hurry? GET /swap fuses price + build into one call, at lower rate limits and without RFQ liquidity.

Endpoints

MethodPathPurpose
GET/v2/quoteDelta intent or Market route from one request (mode=DELTA, MARKET, or ALL)
GET/pricesBest route for a token pair — inspect, display, or cache it
POST/transactions/:chainIdBuild ready-to-broadcast calldata from a priceRoute
GET/swapRoute + ready-to-broadcast tx in a single call

SDK shortcut

Every endpoint is wrapped by sdk.swap.*. The SDK handles the price → build orchestration, allowance checks, and partner-fee defaults. For a 5-minute walkthrough see SDK → Market.
Last modified on June 10, 2026