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
Price
GET /prices — returns the optimal priceRoute (destAmount, gasCostUSD, bestRoute, and an hmac integrity tag).Build
POST /transactions/:chainId — turns the priceRoute into a broadcastable txParams envelope. Attach permit / permit2 here to skip the approve tx.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.Endpoints
| Method | Path | Purpose |
|---|---|---|
GET | /v2/quote | Delta intent or Market route from one request (mode=DELTA, MARKET, or ALL) |
GET | /prices | Best route for a token pair — inspect, display, or cache it |
POST | /transactions/:chainId | Build ready-to-broadcast calldata from a priceRoute |
GET | /swap | Route + ready-to-broadcast tx in a single call |
SDK shortcut
Every endpoint is wrapped bysdk.swap.*. The SDK handles the price → build orchestration, allowance checks, and partner-fee defaults. For a 5-minute walkthrough see SDK → Market.
Related pages
- Why Market API — when atomic, self-broadcast execution is the right choice.
- How Market works — price → build → approve → settle, end to end.
- Market examples — copy-paste TypeScript, Python, Go, and Rust.
- Monetization — partner fees and positive slippage via
partner/partnerFeeBps. - Troubleshooting — Market failure modes by symptom, cause, and fix.
- Pro API accounts — higher RPS, quotas, and SLA support.