{
  "x402Version": 2,
  "id": 42873,
  "slug": "42873",
  "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",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xFFc458dB291b4ABcE020fE3de4f91F2770E537b1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "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-10-10T01:18:07.964Z",
  "quality": {
    "calls30d": 8,
    "uniquePayers30d": 7,
    "lastCalledAt": "2026-10-10T01:18:07.748Z"
  },
  "metadata": {
    "extensions": {
      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "cached": true,
      "change_24h_pct": 0,
      "coin_id": "string",
      "market_cap": 0,
      "price": 0,
      "query": "string",
      "source": "string",
      "vs_currency": "string"
    },
    "type": "string"
  }
}