Api Endpoint

RAVN

RAVN — best-price swap quotes across 22 execution venues and 18 chains, including native (non-wrapped) Bitcoin as either source or destination. 0% protocol fee, non-custodial. Returns a quoteToken; pass it to POST /execute.

Open interactive test console

Offering

Provider
app.ravn.exchange
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://app.ravn.exchange/api/v1/x402/quote
MIME type
Not provided
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
Swap, cross-chain, Bitcoin, DeFi, Agents

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x12d2425fD88c693EDB4dE004E0c747879B7D6933"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "4pQtttNDe8kdQjhJ22LA2Tqnen9smPjoJj7HM3X8ZNYf"
  }
]

Observed health

Status
Healthy
Latest latency
140 ms
Average latency
244 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "allowNoMinimum": {
          "type": "boolean"
        },
        "clientTimezone": {
          "maxLength": 64,
          "type": "string"
        },
        "confidential": {
          "type": "boolean"
        },
        "destinationAddress": {
          "type": "string"
        },
        "excludeVenues": {
          "items": {
            "enum": [
              "rift",
              "0x_gasless",
              "0x_swap",
              "0x_solana",
              "bebop",
              "cow",
              "across",
              "relay",
              "mayan",
              "jupiter",
              "near_intents",
              "garden",
              "chainflip",
              "thorchain",
              "eco",
              "compose",
              "nordstern",
              "flytrade",
              "kyberswap",
              "layerswap",
              "houdini",
              "okx",
              "hinkal",
              "routefun",
              "metric"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "inputAmount": {
          "type": "string"
        },
        "inputChainId": {
          "enum": [
            1,
            10,
            56,
            130,
            137,
            324,
            480,
            999,
            143,
            8453,
            42161,
            59144,
            43114,
            4663,
            4217,
            5042,
            -1,
            -2
          ],
          "type": "number"
        },
        "inputToken": {
          "minLength": 1,
          "type": "string"
        },
        "onlyVenues": {
          "items": {
            "enum": [
              "rift",
              "0x_gasless",
              "0x_swap",
              "0x_solana",
              "bebop",
              "cow",
              "across",
              "relay",
              "mayan",
              "jupiter",
              "near_intents",
              "garden",
              "chainflip",
              "thorchain",
              "eco",
              "compose",
              "nordstern",
              "flytrade",
              "kyberswap",
              "layerswap",
              "houdini",
              "okx",
              "hinkal",
              "routefun",
              "metric"
            ],
            "type": "string"
          },
          "minItems": 1,
          "type": "array"
        },
        "outputChainId": {
          "enum": [
            1,
            10,
            56,
            130,
            137,
            324,
            480,
            999,
            143,
            8453,
            42161,
            59144,
            43114,
            4663,
            4217,
            5042,
            -1,
            -2
          ],
          "type": "number"
        },
        "outputToken": {
          "minLength": 1,
          "type": "string"
        },
        "quoteSessionId": {
          "maxLength": 64,
          "type": "string"
        },
        "rankingMode": {
          "enum": [
            "best_output",
            "fastest"
          ],
          "type": "string"
        },
        "refundAddress": {
          "type": "string"
        },
        "sandbox": {
          "type": "boolean"
        },
        "slippageBps": {
          "maximum": 5000,
          "minimum": 1,
          "type": "integer"
        },
        "timeoutMs": {
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "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 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": {
            "allowNoMinimum": {
              "type": "boolean"
            },
            "clientTimezone": {
              "maxLength": 64,
              "type": "string"
            },
            "confidential": {
              "type": "boolean"
            },
            "destinationAddress": {
              "type": "string"
            },
            "excludeVenues": {
              "items": {
                "enum": [
                  "rift",
                  "0x_gasless",
                  "0x_swap",
                  "0x_solana",
                  "bebop",
                  "cow",
                  "across",
                  "relay",
                  "mayan",
                  "jupiter",
                  "near_intents",
                  "garden",
                  "chainflip",
                  "thorchain",
                  "eco",
                  "compose",
                  "nordstern",
                  "flytrade",
                  "kyberswap",
                  "layerswap",
                  "houdini",
                  "okx",
                  "hinkal"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "inputAmount": {
              "type": "string"
            },
            "inputChainId": {
              "enum": [
                1,
                10,
                56,
                130,
                137,
                324,
                480,
                999,
                143,
                8453,
                42161,
                59144,
                43114,
                4663,
                4217,
                5042,
                -1,
                -2
              ],
              "type": "number"
            },
            "inputToken": {
              "minLength": 1,
              "type": "string"
            },
            "onlyVenues": {
              "items": {
                "enum": [
                  "rift",
                  "0x_gasless",
                  "0x_swap",
                  "0x_solana",
                  "bebop",
                  "cow",
                  "across",
                  "relay",
                  "mayan",
                  "jupiter",
                  "near_intents",
                  "garden",
                  "chainflip",
                  "thorchain",
                  "eco",
                  "compose",
                  "nordstern",
                  "flytrade",
                  "kyberswap",
                  "layerswap",
                  "houdini",
                  "okx",
                  "hinkal"
                ],
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            },
            "outputChainId": {
              "enum": [
                1,
                10,
                56,
                130,
                137,
                324,
                480,
                999,
                143,
                8453,
                42161,
                59144,
                43114,
                4663,
                4217,
                5042,
                -1,
                -2
              ],
              "type": "number"
            },
            "outputToken": {
              "minLength": 1,
              "type": "string"
            },
            "quoteSessionId": {
              "maxLength": 64,
              "type": "string"
            },
            "rankingMode": {
              "enum": [
                "best_output",
                "fastest"
              ],
              "type": "string"
            },
            "refundAddress": {
              "type": "string"
            },
            "sandbox": {
              "type": "boolean"
            },
            "slippageBps": {
              "maximum": 5000,
              "minimum": 1,
              "type": "integer"
            },
            "timeoutMs": {
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991,
              "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"
}