Api Endpoint

cryptofeed402

Crypto spot price API: live spot ticker for any OKX <SYMBOL>-USDT pair (hundreds of coins): last price, best bid/ask and spread in bps, 24h open/high/low and change, UTC-day change, 24h volume in base and USDT, with as_of. Use it for a quick cross-venue spot check of an asset that has no perp. Unknown pair 404, no charge. JSON. Free sample at /samples/spot. $0.002 USDC per call on Base.

Open interactive test console

Offering

Provider
cryptofeed402.site
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://cryptofeed402.site/spot/BTC
MIME type
application/json
First seen
2026-11-05T17:26:24.043Z
Last seen
Tags
spot-price, price-api, market-data, okx, ticker, trading-agents

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
197 ms
Average latency
209 ms
HTTP status
402
Last checked
Reachability
100% over 8 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": {}
    },
    "pathParams": {
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string",
          "pattern": "^[A-Za-z0-9]{1,20}$",
          "description": "Spot base ticker, case-insensitive (BTC, PEPE, TON, ...)"
        }
      },
      "required": [
        "symbol"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string"
        },
        "pair": {
          "type": "string"
        },
        "venue": {
          "type": "string"
        },
        "as_of": {
          "type": "string"
        },
        "last": {
          "type": "number"
        },
        "bid": {
          "type": "number"
        },
        "ask": {
          "type": "number"
        },
        "spread_bps": {
          "type": "number"
        },
        "open_24h": {
          "type": "number"
        },
        "high_24h": {
          "type": "number"
        },
        "low_24h": {
          "type": "number"
        },
        "change_24h_pct": {
          "type": "number"
        },
        "volume_24h_base": {
          "type": "number"
        },
        "volume_24h_usdt": {
          "type": "number"
        },
        "provenance": {
          "type": "object",
          "description": "Freshness/provenance (additive). fetched_at = when cryptofeed402 fetched or built the data; observed_at = when the upstream data was observed (as_of); truncated = true only if rows were dropped by a fixed size cap",
          "properties": {
            "source": {
              "type": "string"
            },
            "fetched_at": {
              "type": "string"
            },
            "as_of": {
              "type": "string"
            },
            "observed_at": {
              "type": "string"
            },
            "max_age_s": {
              "type": "number"
            },
            "age_s": {
              "type": "number"
            },
            "truncated": {
              "type": "boolean"
            },
            "data_sha256": {
              "type": "string"
            },
            "canon": {
              "type": "string"
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      },
      "required": [
        "symbol",
        "pair",
        "last",
        "as_of"
      ]
    }
  },
  "required": [
    "type"
  ]
}