RAVN — best-price swap quotes across 13 execution venues and 17 chains, including native (
RAVN — best-price swap quotes across 13 execution venues and 17 chains, including native (non-wrapped) Bitcoin as either source or destination. 0% protocol fee, non-custodial. Returns a quoteToken; pass it to POST /execute.
1000 (raw units)
price
3
calls / 30d
3
unique payers
2026-09-17
updated
Provider
app.ravn.exchange · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x12d2425fD88c693EDB4dE004E0c747879B7D6933",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "4pQtttNDe8kdQjhJ22LA2Tqnen9smPjoJj7HM3X8ZNYf",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"inputAmount": "1000000000000000000",
"inputChainId": 1,
"inputToken": "0xEeeeeEeeeEeEeeEeEeEeeeEEeeeeEeeeeeeeEEeE",
"outputChainId": 8453,
"outputToken": "0xEeeeeEeeeEeEeeEeEeEeeeEEeeeeEeeeeeeeEEeE",
"userAddress": "0x0000000000000000000000000000000000dEaD"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"data": {
"estimatedTimeSeconds": 3,
"expiresAt": 1786374968171,
"fee": {
"amount": "0",
"bps": 0
},
"input": {
"amount": "1000000000000000000",
"token": {
"chainId": 1,
"decimals": 18,
"isNative": true,
"symbol": "ETH"
}
},
"output": {
"amount": "999534824840543000",
"token": {
"chainId": 8453,
"decimals": 18,
"isNative": true,
"symbol": "ETH"
}
},
"quoteToken": "eyJ2ZW51ZUlkIjoi...",
"routeType": "EVM_CROSS_CHAIN",
"venue": {
"id": "mayan",
"name": "Mayan"
}
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"destinationAddress": {
"description": "Where output should land. For a Solana-touching Across quote or a cross-ecosystem Eco quote, this must be supplied here, at quote time — omitting it returns a priced-but-unexecutable preview (see QuoteDTO.executable), since neither venue supports fixing the destination after quoting.",
"type": "string"
},
"excludeVenues": {
"description": "Drop specific venues from this race — e.g. a risk objection to one of them. Naming a venue that was never eligible for this pair is a no-op, not an error.",
"items": {
"enum": [
"rift",
"0x_gasless",
"bebop",
"cow",
"across",
"relay",
"mayan",
"jupiter",
"near_intents",
"garden",
"chainflip",
"thorchain",
"eco"
],
"type": "string"
},
"type": "array"
},
"inputAmount": {
"description": "Positive integer string, in the input token's smallest unit",
"type": "string"
},
"inputChainId": {
"enum": [
1,
10,
56,
130,
137,
324,
480,
999,
143,
8453,
42161,
59144,
43114,
4663,
4217,
-1,
-2
],
"type": "number"
},
"inputToken": {
"description": "Token contract address, or the native-token sentinel 0xEeee...EEeE",
"minLength": 1,
"type": "string"
},
"outputChainId": {
"enum": [
1,
10,
56,
130,
137,
324,
480,
999,
143,
8453,
42161,
59144,
43114,
4663,
4217,
-1,
-2
],
"type": "number"
},
"outputToken": {
"minLength": 1,
"type": "string"
},
"rankingMode": {
"description": "Defaults to best_output.",
"enum": [
"best_output",
"fastest"
],
"type": "string"
},
"refundAddress": {
"description": "Where to refund the input asset if the swap fails. For a Bitcoin-source Relay quote specifically, this must be supplied here, at quote time — Relay has no execute-time re-bind, so omitting it returns a priced-but-unexecutable preview and supplying it later on execute has no effect. Other BTC-source venues (Garden, THORChain, Chainflip, Rift) support binding this at execute time instead.",
"type": "string"
},
"slippageBps": {
"maximum": 5000,
"minimum": 1,
"type": "integer"
},
"userAddress": {
"minLength": 1,
"type": "string"
}
},
"required": [
"inputChainId",
"outputChainId",
"inputToken",
"outputToken",
"inputAmount",
"userAddress"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://app.ravn.exchange/api/v1/x402/quote" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://app.ravn.exchange/api/v1/x402/quote");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://app.ravn.exchange/api/v1/x402/quote")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3618.json, and this resource appears in /discovery/resources and /discovery/search.