Api Endpoint

o1.exchange via vAPI

Hosted by vAPI for o1.exchange: Get a live exact-input swap quote.

Open interactive test console

Offering

Provider
api.vapinetwork.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.vapinetwork.ai/shim/o1/swap-quote
MIME type
Not provided
First seen
2026-10-23T22:20:17.074Z
Last seen
Tags
None supplied

Payment pricing

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

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x1cAa1962428382106Eb3f29B9719bdF797621C90"
  }
]

Observed health

Status
Healthy
Latest latency
268 ms
Average latency
220 ms
HTTP status
204
Last checked
Reachability
100% over 16 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": {
        "amount_in_raw": {
          "maxLength": 39,
          "pattern": "^[1-9][0-9]*$",
          "type": "string"
        },
        "chain_id": {
          "anyOf": [
            {
              "const": 8453,
              "type": "number"
            },
            {
              "const": 4663,
              "type": "number"
            },
            {
              "const": 143,
              "type": "number"
            },
            {
              "const": 5042,
              "type": "number"
            },
            {
              "const": 56,
              "type": "number"
            },
            {
              "const": 196,
              "type": "number"
            }
          ]
        },
        "comment": {
          "maxLength": 32,
          "type": "string"
        },
        "referrer": {
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "type": "string"
        },
        "side": {
          "enum": [
            "buy",
            "sell"
          ],
          "type": "string"
        },
        "slippage_bps": {
          "maximum": 4999,
          "minimum": 0,
          "type": "integer"
        },
        "token_address": {
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "type": "string"
        },
        "wallet": {
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "type": "string"
        }
      },
      "required": [
        "chain_id",
        "wallet",
        "token_address",
        "side",
        "amount_in_raw",
        "slippage_bps"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "type": {
      "const": "json",
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}