Building an AI agent? See llms.txt and llms-full.txt.
curl --request GET \
--url https://api.velora.xyz/prices{
"priceRoute": {
"blockNumber": 123,
"network": 123,
"srcToken": "<string>",
"srcDecimals": 123,
"srcAmount": "<string>",
"destToken": "<string>",
"destDecimals": 123,
"destAmount": "<string>",
"bestRoute": [
{}
],
"gasCostUSD": "<string>",
"gasCost": "<string>",
"version": "<string>",
"contractAddress": "<string>",
"tokenTransferProxy": "<string>",
"contractMethod": "<string>",
"partnerFee": 123,
"srcUSD": "<string>",
"destUSD": "<string>",
"partner": "<string>",
"maxImpactReached": true,
"hmac": "<string>"
}
}Get a Market route from the Velora aggregator.
curl --request GET \
--url https://api.velora.xyz/prices{
"priceRoute": {
"blockNumber": 123,
"network": 123,
"srcToken": "<string>",
"srcDecimals": 123,
"srcAmount": "<string>",
"destToken": "<string>",
"destDecimals": 123,
"destAmount": "<string>",
"bestRoute": [
{}
],
"gasCostUSD": "<string>",
"gasCost": "<string>",
"version": "<string>",
"contractAddress": "<string>",
"tokenTransferProxy": "<string>",
"contractMethod": "<string>",
"partnerFee": 123,
"srcUSD": "<string>",
"destUSD": "<string>",
"partner": "<string>",
"maxImpactReached": true,
"hmac": "<string>"
}
}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.
Source token address. A token symbol listed in /tokens can be used instead. Example uses ETH.
"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
Source token decimals. Can be omitted if a token symbol is used in srcToken.
18
Destination token address. A token symbol listed in /tokens can be used instead. Example uses USDC.
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
Destination token decimals. Can be omitted if a token symbol is used in destToken.
6
srcToken amount (SELL) or destToken amount (BUY), in WEI/raw units.
"1000000000000000000"
SELL, BUY Network ID. Default: 1 (Mainnet).
If true, the response includes price quotes from other exchanges in an others object.
Comma-separated list of DEXs to include.
Comma-separated list of DEXs to exclude.
Exclude all RFQ liquidity from pricing.
Comma-separated list of contract methods to include.
Comma-separated list of contract methods to exclude.
End-user wallet address.
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
Dash-separated list of tokens for the price route. Max 4 tokens.
Partner string. Defaults to anon which charges 1bps fee for all swaps.
"my-app-name"
Bypass API price-impact check (default = 15%). Value in %.
Receiver wallet address. Omit when swapping from/to the same account.
Tax in basis points charged on srcToken transfers.
Tax in basis points charged on destToken transfers.
Tax in BPS charged only on DEX swaps for srcToken.
Tax in BPS charged only on DEX swaps for destToken.
Protocol version. Use "5" for legacy v5; default is "6.2".
5, 6.2 Exclude contract methods that don't support the fee model.
Skip the USD-price availability check.
Market route. Calldata-ready against Augustus v6.2 when version=6.2.
Show child attributes