{
  "x402Version": 2,
  "id": 13421,
  "slug": "13421",
  "resource": "https://currency-api-production-4a8d.up.railway.app/crypto/price",
  "description": "Current price, market cap, and 24h change for a single cryptocurrency by symbol or name (CoinGecko).",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xFFc458dB291b4ABcE020fE3de4f91F2770E537b1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "coin": "bitcoin",
            "vs_currency": "usd"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "cached": false,
            "change_24h_pct": 1.85,
            "coin_id": "bitcoin",
            "market_cap": 1327000000000,
            "price": 67250,
            "query": "bitcoin",
            "source": "CoinGecko",
            "vs_currency": "usd"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "coin": {
                    "description": "Cryptocurrency symbol or name, e.g. 'bitcoin', 'btc', or 'ethereum'.",
                    "type": "string"
                  },
                  "vs_currency": {
                    "description": "Quote currency code, e.g. 'usd'. Defaults to usd if omitted.",
                    "type": "string"
                  }
                },
                "required": [
                  "coin"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "cached": {
                    "type": "boolean"
                  },
                  "change_24h_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "coin_id": {
                    "type": "string"
                  },
                  "market_cap": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "price": {
                    "type": "number"
                  },
                  "query": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "vs_currency": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "currency-api-production-4a8d.up.railway.app",
  "lastUpdated": "2026-09-14T20:01:18.197Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-09-14T20:01:17.935Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "currency-api-production-4a8d.up.railway.app",
    "manifest_name": "currency-api-production-4a8d.up.railway.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}