RAVN API

RAVN API as documented publicly: 29 operations. Contract generated from the documentation by API Evangelist (2026-11-22); not the provider's own document.

GitHub OpenAPI

Operations 29

GET /api/v1/chains GET /api/v1/chains #
POST /api/v1/execute POST /api/v1/execute #
GET /api/v1/health GET /api/v1/health #
PATCH /api/v1/keys PATCH /api/v1/keys #
POST /api/v1/keys POST /api/v1/keys #
POST /api/v1/keys/secret POST /api/v1/keys/secret #
POST /api/v1/quote POST /api/v1/quote #
POST /api/v1/recover POST /api/v1/recover #
POST /api/v1/submit-signature POST /api/v1/submit-signature #
POST /api/v1/submit-transaction POST /api/v1/submit-transaction #
GET /api/v1/tokens GET /api/v1/tokens #
GET /api/v1/tokens/btc-coverage GET /api/v1/tokens/btc-coverage #
GET /api/v1/tokens/resolve GET /api/v1/tokens/resolve #
GET /chains Supported chains #
POST /execute What the wallet signs or sends #
GET /health Which venues are live #
PATCH /keys Create a key; set your fee, payouts, webhook #
POST /keys Create a key; set your fee, payouts, webhook #
POST /quote Best route for a swap, plus a quoteToken #
POST /recover Recover a failed Hinkal swap #
POST /status Track a swap until it’s final #
POST /submit-signature Place a signed gasless order #
POST /submit-transaction Send a signed Solana transaction through RAVN #
GET /tokens RAVN’s token list for a chain #
GET /tokens/btc-coverage How many BTC venues list each token #
GET /tokens/resolve Any token’s metadata by address #
PATCH /v1/keys Create a key, then set your fee, payout addresses, webhook and allowed sites. #
POST /v1/keys Create a key, then set your fee, payout addresses, webhook and allowed sites. #
POST /v1/keys/secret Create a key, then set your fee, payout addresses, webhook and allowed sites. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ravn-exchange:ravn-exchange-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ravn-exchange-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: RAVN API
  version: '2026-11-22'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-22: 29 operation(s) read from 21 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; RAVN has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 13
    documentation: 16
    pages-with-code: 16
    pages-read: 21
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-22'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.ravn.exchange/api-reference/keys.md
  - https://docs.ravn.exchange/api-reference/overview
  - https://docs.ravn.exchange/api-reference/quote.md
  - https://docs.ravn.exchange/api-reference/chains.md
  - https://docs.ravn.exchange/api-reference/health.md
  - https://docs.ravn.exchange/api-reference/tokens.md
  - https://docs.ravn.exchange/api-reference/execute.md
  - https://docs.ravn.exchange/api-reference/recover.md
  - https://docs.ravn.exchange/api-reference/overview.md
  - https://docs.ravn.exchange/api-reference/tokens-list.md
  - https://docs.ravn.exchange/api-reference/btc-coverage.md
  - https://docs.ravn.exchange/api-reference/submit-signature.md
  - https://docs.ravn.exchange/api-reference/submit-transaction.md
  - https://docs.ravn.exchange/webhooks.md
  - https://docs.ravn.exchange/sdks/core.md
  - https://docs.ravn.exchange/quickstart.md
  - https://docs.ravn.exchange/introduction.md
  - https://docs.ravn.exchange/quickstart
  - https://docs.ravn.exchange/sdks/python.md
  - https://docs.ravn.exchange/sdks/widget.md
  - https://docs.ravn.exchange/api-reference/keys
servers:
- url: https://app.ravn.exchange
paths:
  /api/v1/chains:
    get:
      operationId: get_api_v1_chains
      tags:
      - Api
      summary: GET /api/v1/chains
      x-source: https://docs.ravn.exchange/api-reference/chains.md
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s https://app.ravn.exchange/api/v1/chains

          ```'
  /api/v1/execute:
    post:
      operationId: post_api_v1_execute
      tags:
      - Api
      summary: POST /api/v1/execute
      x-source: https://docs.ravn.exchange/api-reference/execute.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ExecuteRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s -X POST https://app.ravn.exchange/api/v1/execute  -H ''content-type: application/json''  -H ''Idempotency-Key: 0b6f1f8e-1c1a-4d2b-9a57-3f1d8e1c2a90''  -d
          ''{ "quoteToken": "<from /quote>" }''

          ```'
  /api/v1/health:
    get:
      operationId: get_api_v1_health
      tags:
      - Api
      summary: GET /api/v1/health
      x-source: https://docs.ravn.exchange/api-reference/health.md
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s https://app.ravn.exchange/api/v1/health

          ```'
  /api/v1/keys:
    patch:
      operationId: patch_api_v1_keys
      tags:
      - Api
      summary: PATCH /api/v1/keys
      x-source: https://docs.ravn.exchange/api-reference/keys.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchApiV1KeysRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -s -X PATCH https://app.ravn.exchange/api/v1/keys  -H 'x-api-key: rvn_sk_your_secret_key'  -H 'content-type: application/json'\
          \ -d '{\n    \"feeBps\": 25,\n    \"payoutAddresses\": { \"evm\": \"0xYourPayoutAddress\" },\n    \"webhookUrl\": \"https://your-service.example/ravn-webhook\"\
          \n  }'\n```"
    post:
      operationId: post_api_v1_keys
      tags:
      - Api
      summary: POST /api/v1/keys
      x-source: https://docs.ravn.exchange/api-reference/keys.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1KeysRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -s -X POST https://app.ravn.exchange/api/v1/keys  -H 'content-type: application/json' -d '{\n    \"email\": \"you@project.xyz\"\
          ,\n    \"projectName\": \"Your Project\",\n    \"website\": \"https://project.xyz\",\n    \"telegram\": \"@yourproject\",\n    \"twitter\"\
          : \"@yourproject\"\n  }'\n```"
  /api/v1/keys/secret:
    post:
      operationId: post_api_v1_keys_secret
      tags:
      - Api
      summary: POST /api/v1/keys/secret
      x-source: https://docs.ravn.exchange/api-reference/keys.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s -X POST https://app.ravn.exchange/api/v1/keys/secret  -H ''x-api-key: rvn_sk_your_current_secret_key''

          ```'
  /api/v1/quote:
    post:
      operationId: post_api_v1_quote
      tags:
      - Api
      summary: POST /api/v1/quote
      x-source: https://docs.ravn.exchange/api-reference/quote.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1QuoteRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -s -X POST https://app.ravn.exchange/api/v1/quote  -H 'content-type: application/json' -d '{\n    \"inputChainId\": 1,\n\
          \    \"outputChainId\": -2,\n    \"inputToken\": \"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE\",\n    \"outputToken\": \"So11111111111111111111111111111111111111112\"\
          ,\n    \"inputAmount\": \"1000000000000000000\",\n    \"userAddress\": \"0x1111111111111111111111111111111111111111\",\n    \"destinationA"
  /api/v1/recover:
    post:
      operationId: post_api_v1_recover
      tags:
      - Api
      summary: POST /api/v1/recover
      x-source: https://docs.ravn.exchange/api-reference/recover.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1RecoverRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1RecoverResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s -X POST https://app.ravn.exchange/api/v1/recover  -H ''content-type: application/json''  -d ''{ "statusRef": "<the Hinkal
          TRANSACTION statusRef>" }''

          ```'
  /api/v1/submit-signature:
    post:
      operationId: post_api_v1_submit_signature
      tags:
      - Api
      summary: POST /api/v1/submit-signature
      x-source: https://docs.ravn.exchange/api-reference/submit-signature.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1SubmitSignatureRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s -X POST https://app.ravn.exchange/api/v1/submit-signature  -H ''content-type: application/json''  -d ''{ "quoteToken":
          "<from /execute>", "signature": "0x…" }''

          ```'
  /api/v1/submit-transaction:
    post:
      operationId: post_api_v1_submit_transaction
      tags:
      - Api
      summary: POST /api/v1/submit-transaction
      x-source: https://docs.ravn.exchange/api-reference/submit-transaction.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1SubmitTransactionRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s -X POST https://app.ravn.exchange/api/v1/submit-transaction  -H ''content-type: application/json''  -d ''{ "quoteToken":
          "<from /execute>", "signedTransaction": "<base64>" }''

          ```'
  /api/v1/tokens:
    get:
      operationId: get_api_v1_tokens
      tags:
      - Api
      summary: GET /api/v1/tokens
      x-source: https://docs.ravn.exchange/api-reference/tokens-list.md
      parameters:
      - name: chainId
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1TokensResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s "https://app.ravn.exchange/api/v1/tokens?chainId=1"

          ```'
  /api/v1/tokens/btc-coverage:
    get:
      operationId: get_api_v1_tokens_btc_coverage
      tags:
      - Api
      summary: GET /api/v1/tokens/btc-coverage
      x-source: https://docs.ravn.exchange/api-reference/btc-coverage.md
      parameters:
      - name: chainId
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s "https://app.ravn.exchange/api/v1/tokens/btc-coverage?chainId=8453"

          ```'
  /api/v1/tokens/resolve:
    get:
      operationId: get_api_v1_tokens_resolve
      tags:
      - Api
      summary: GET /api/v1/tokens/resolve
      x-source: https://docs.ravn.exchange/api-reference/tokens.md
      parameters:
      - name: address
        in: query
        required: false
        schema:
          type: string
      - name: chainId
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1TokensResolveResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s "https://app.ravn.exchange/api/v1/tokens/resolve?chainId=1&address=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"

          ```'
  /chains:
    get:
      operationId: get_chains
      tags:
      - Chains
      summary: Supported chains
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /execute:
    post:
      operationId: post_execute
      tags:
      - Execute
      summary: What the wallet signs or sends
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /health:
    get:
      operationId: get_health
      tags:
      - Health
      summary: Which venues are live
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /keys:
    patch:
      operationId: patch_keys
      tags:
      - Keys
      summary: Create a key; set your fee, payouts, webhook
      description: Create a key; set your fee, payouts, webhook
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_keys
      tags:
      - Keys
      summary: Create a key; set your fee, payouts, webhook
      x-source: https://docs.ravn.exchange/api-reference/overview.md
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /quote:
    post:
      operationId: post_quote
      tags:
      - Quote
      summary: Best route for a swap, plus a quoteToken
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /recover:
    post:
      operationId: post_recover
      tags:
      - Recover
      summary: Recover a failed Hinkal swap
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /status:
    post:
      operationId: post_status
      tags:
      - Status
      summary: Track a swap until it’s final
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /submit-signature:
    post:
      operationId: post_submit_signature
      tags:
      - Submit Signature
      summary: Place a signed gasless order
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /submit-transaction:
    post:
      operationId: post_submit_transaction
      tags:
      - Submit Transaction
      summary: Send a signed Solana transaction through RAVN
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /tokens:
    get:
      operationId: get_tokens
      tags:
      - Tokens
      summary: RAVN’s token list for a chain
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /tokens/btc-coverage:
    get:
      operationId: get_tokens_btc_coverage
      tags:
      - Tokens
      summary: How many BTC venues list each token
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /tokens/resolve:
    get:
      operationId: get_tokens_resolve
      tags:
      - Tokens
      summary: Any token’s metadata by address
      x-source: https://docs.ravn.exchange/api-reference/overview
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/keys:
    patch:
      operationId: patch_v1_keys
      tags:
      - Keys
      summary: Create a key, then set your fee, payout addresses, webhook and allowed sites.
      x-source: https://docs.ravn.exchange/api-reference/keys.md
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
        description: Your secret key
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV1KeysRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchV1KeysResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_keys
      tags:
      - Keys
      summary: Create a key, then set your fee, payout addresses, webhook and allowed sites.
      x-source: https://docs.ravn.exchange/api-reference/keys.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1KeysRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1KeysResponse'
      x-evidence:
        kind: documentation
  /v1/keys/secret:
    post:
      operationId: post_v1_keys_secret
      tags:
      - Keys
      summary: Create a key, then set your fee, payout addresses, webhook and allowed sites.
      x-source: https://docs.ravn.exchange/api-reference/keys.md
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
        description: Current secret key
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1KeysSecretResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiV1ExecuteRequest:
      type: object
      properties:
        quoteToken:
          type: string
    PatchApiV1KeysRequest:
      type: object
      properties:
        feeBps:
          type: integer
        payoutAddresses:
          type: object
          properties:
            evm:
              type: string
        webhookUrl:
          type: string
    PostApiV1KeysRequest:
      type: object
      properties:
        email:
          type: string
        projectName:
          type: string
        website:
          type: string
        telegram:
          type: string
        twitter:
          type: string
    PostApiV1QuoteRequest:
      type: object
      properties:
        inputChainId:
          type: integer
        outputChainId:
          type: integer
        inputToken:
          type: string
        outputToken:
          type: string
        inputAmount:
          type: string
        userAddress:
          type: string
        destinationAddress:
          type: string
    PostApiV1RecoverRequest:
      type: object
      properties:
        statusRef:
          type: string
    PostApiV1RecoverResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            status:
              type: string
            authorization:
              type: string
            step:
              type: integer
            expiresAt:
              type: string
              format: date-time
            sign:
              type: object
              properties:
                method:
                  type: string
                message:
                  type: string
    PostApiV1SubmitSignatureRequest:
      type: object
      properties:
        quoteToken:
          type: string
        signature:
          type: string
    PostApiV1SubmitTransactionRequest:
      type: object
      properties:
        quoteToken:
          type: string
        signedTransaction:
          type: string
    GetApiV1TokensResponse:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              symbol:
                type: string
              name:
                type: string
              address:
                type: string
              decimals:
                type: integer
              chainId:
                type: integer
              isNative:
                type: boolean
    GetApiV1TokensResolveResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            token:
              type: object
              properties:
                symbol:
                  type: string
                name:
                  type: string
                address:
                  type: string
                decimals:
                  type: integer
                chainId:
                  type: integer
                isNative:
                  type: boolean
    PatchV1KeysRequest:
      type: object
      properties:
        feeBps:
          type: integer
        payoutAddresses:
          type: object
        webhookUrl:
          type: string
        allowedOrigins:
          type: array
          description: string[]
    PatchV1KeysResponse:
      type: object
      properties:
        feeBps:
          type: integer
        payoutAddresses:
          type: object
        webhookUrl:
          type: string
        webhookSecret:
          type: string
    PostV1KeysRequest:
      type: object
      properties:
        email:
          type: string
        projectName:
          type: string
        website:
          type: string
        telegram:
          type: string
        twitter:
          type: string
        feeBps:
          type: integer
        discord:
          type: string
        blurb:
          type: string
        category:
          type: string
        chains:
          type: string
        apisPlanned:
          type: string
      required:
      - email
      - projectName
      - website
      - telegram
      - twitter
    PostV1KeysResponse:
      type: object
      properties:
        apiKey:
          type: string
        secretKey:
          type: string
        partnerId:
          type: string
        feeBps:
          type: integer
    PostV1KeysSecretResponse:
      type: object
      properties:
        secretKey:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
security:
- apiKey: []
tags:
- name: Api
- name: Chains
- name: Execute
- name: Health
- name: Keys
- name: Quote
- name: Recover
- name: Status
- name: Submit Signature
- name: Submit Transaction
- name: Tokens