Skip to main content

Documentation Index

Fetch the complete documentation index at: https://new-docs.velora.xyz/llms.txt

Use this file to discover all available pages before exploring further.

The Market API is Velora’s classic swap aggregator. You request a quote, build a transaction, and your user signs and submits it on-chain — in one atomic call. It’s the right choice when you need composability inside a larger transaction, when the swap is small, or when you want full control over execution.

What you get

Best-price routing

Aggregates liquidity across major DEXs to find the optimal path.

Atomic execution

Swap settles in a single transaction — composable with any contract call.

Multi-chain

Ethereum, Polygon, BNB, Arbitrum, Optimism, Base, Avalanche, Gnosis, Unichain.

When to use Market vs Delta

  • Use Market API when you need atomic on-chain execution inside a larger transaction (composability), when the swap is tiny and gas overhead doesn’t matter, or when Delta returns no quote.
  • Use Delta when MEV is a concern, gasless UX matters, or the swap is crosschain.
  • Use mode=ALL in the quote endpoint to get both responses and pick at runtime.

See it work

The basic flow is two calls — get a price, build a transaction — then your user signs and submits it:
# 1. Get a price quote
curl "https://api.velora.xyz/prices?...&partner=my-app-name"

# 2. Build the transaction
curl -X POST "https://api.velora.xyz/transactions/:chainId" -d @price.json

# 3. User signs and submits the transaction with their wallet

Next steps

Quickstart

cURL the full flow end-to-end.

How it works

Price, build, approve, settle — the full Market lifecycle.

API Reference

Endpoints, parameters, and response schemas.