{
  "x402Version": 2,
  "id": 6507,
  "slug": "6507",
  "resource": "https://x402-trends-server.onrender.com/api/crypto-market",
  "description": "Get live cryptocurrency price and market data from Coinbase Exchange for BTC, ETH, SOL, and other supported trading pairs. Use this crypto market API for last price, best bid and ask, 24-hour open/high/low/volume, and 30-day volume. Defaults to BTC-USD.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF61F957D9aC432309219549b1Ae79Ae8b7C71fF5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "pair": "BTC-USD"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "bestAsk": "63058.25",
            "bestBid": "63058.24",
            "cached": false,
            "high24h": "64000.00",
            "last24h": "63058.25",
            "lastTradeSize": "0.001",
            "low24h": "61500.00",
            "open24h": "62000.00",
            "pair": "BTC-USD",
            "payment": "verified",
            "price": "63058.25",
            "retrievedAt": "2026-08-15T20:00:00.000Z",
            "source": "Coinbase Exchange",
            "status": "success",
            "tickerTime": "2026-08-15T20:00:00.000Z",
            "volume24h": "10000.0",
            "volume30d": "300000.0"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "pair": {
                    "description": "Coinbase Exchange trading pair such as BTC-USD, ETH-USD, or SOL-USD. Defaults to BTC-USD.",
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "bestAsk": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "bestBid": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "cached": {
                    "type": "boolean"
                  },
                  "high24h": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "last24h": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "lastTradeSize": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "low24h": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "open24h": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "pair": {
                    "type": "string"
                  },
                  "payment": {
                    "type": "string"
                  },
                  "price": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "retrievedAt": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tickerTime": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "volume24h": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "volume30d": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "status",
                  "source",
                  "pair",
                  "price",
                  "bestBid",
                  "bestAsk",
                  "open24h",
                  "high24h",
                  "low24h",
                  "volume24h",
                  "volume30d",
                  "retrievedAt",
                  "cached"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-trends-server.onrender.com",
  "lastUpdated": "2026-09-16T18:37:51.814Z",
  "quality": {
    "calls30d": 7,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-16T18:37:51.59Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-trends-server.onrender.com",
    "manifest_name": "x402-trends-server.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}