Api Endpoint

x402-data-api.onrender.com

Live crypto conversion at CoinGecko prices: any coin to any coin or fiat, and fiat to coin. ?amount=0.5&from=bitcoin&to=ethereum — common tickers (btc, eth, sol…) accepted. Returns the rate, the converted amount, and the underlying prices. Prices cached ≤30s; cheap enough to call in a loop.

Open interactive test console

Offering

Provider
x402-data-api.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Location And Travel
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-data-api.onrender.com/api/convert
MIME type
application/json
First seen
2026-10-16T02:54:53.696Z
Last seen
Tags
Crypto Markets

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
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xdd5fcEa81CA6f1EB39FEd5B973DE794293B81ba6"
  }
]

Observed health

Status
Healthy
Latest latency
52 ms
Average latency
65 ms
HTTP status
402
Last checked
Reachability
100% over 9 checks

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

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "quantity of 'from' (default 1)"
        },
        "from": {
          "type": "string",
          "description": "CoinGecko id or ticker (bitcoin/btc), or fiat code (usd, eur…)"
        },
        "to": {
          "type": "string",
          "description": "CoinGecko id/ticker or fiat code"
        }
      },
      "required": [
        "from",
        "to"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number"
        },
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "rate": {
          "type": "number"
        },
        "result": {
          "type": "number"
        },
        "prices": {
          "type": "object"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}