Api Endpoint

Crypto Price Consensus

Return a USD spot-price consensus for BTC, ETH, SOL, or USDC using fixed public CoinGecko, Coinbase, and Kraken routes.

Open interactive test console

Offering

Provider
patch-guard-api.me-e51.workers.dev
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://patch-guard-api.me-e51.workers.dev/v1/crypto-price-consensus
MIME type
application/json
First seen
2026-10-16T02:01:31.612Z
Last seen
Tags
Crypto, Price, market-data, consensus, agent-tools

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": "0x114b509efE2d5F6e438b840043EF1db4FcD36d42"
  }
]

Observed health

Status
Healthy
Latest latency
1149 ms
Average latency
824 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

{
  "body": {
    "assets": [
      "BTC",
      "ETH",
      "SOL"
    ]
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "properties": {
        "body": {
          "type": "object",
          "required": [
            "assets"
          ],
          "properties": {
            "assets": {
              "type": "array",
              "items": {
                "enum": [
                  "BTC",
                  "ETH",
                  "SOL",
                  "USDC"
                ],
                "type": "string"
              },
              "maxItems": 4,
              "minItems": 1,
              "uniqueItems": true
            }
          },
          "additionalProperties": false
        },
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "required": [
            "asOf",
            "quoteCurrency",
            "methodology",
            "assets",
            "unavailableAssets"
          ],
          "properties": {
            "asOf": {
              "type": "string"
            },
            "assets": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "asset",
                  "consensusUsd",
                  "minimumUsd",
                  "maximumUsd",
                  "spreadBps",
                  "sourceCount",
                  "quotes"
                ],
                "properties": {
                  "asset": {
                    "type": "string"
                  },
                  "quotes": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "spreadBps": {
                    "type": "number"
                  },
                  "maximumUsd": {
                    "type": "number"
                  },
                  "minimumUsd": {
                    "type": "number"
                  },
                  "sourceCount": {
                    "type": "integer"
                  },
                  "consensusUsd": {
                    "type": "number"
                  }
                }
              }
            },
            "methodology": {
              "type": "string"
            },
            "quoteCurrency": {
              "type": "string",
              "const": "USD"
            },
            "unavailableAssets": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}