{
  "x402Version": 2,
  "id": 26532,
  "slug": "26532",
  "resource": "https://coingecko.use.x402atlas.com/ohlc",
  "description": "OHLC candlestick data for crypto — daily open/high/low/close candles over 1-365 days for any coin by CoinGecko id, chart-ready.",
  "type": "http",
  "serviceName": "CoinGecko Crypto Price & Data",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x32793F68dC2EA26BBC75eB900DA120069e8B6d02",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x32793F68dC2EA26BBC75eB900DA120069e8B6d02",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x32793F68dC2EA26BBC75eB900DA120069e8B6d02",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "candles": {
            "description": "OHLC bars, oldest first",
            "items": {
              "properties": {
                "close": {
                  "description": "Close price",
                  "type": "number"
                },
                "high": {
                  "description": "High price",
                  "type": "number"
                },
                "low": {
                  "description": "Low price",
                  "type": "number"
                },
                "open": {
                  "description": "Open price",
                  "type": "number"
                },
                "time": {
                  "description": "Candle timestamp (UTC)",
                  "format": "date-time",
                  "type": "string"
                }
              },
              "required": [
                "time",
                "open",
                "high",
                "low",
                "close"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "days": {
            "description": "Requested window size in days",
            "type": "integer"
          },
          "id": {
            "description": "CoinGecko coin id slug",
            "type": "string"
          },
          "queried_at": {
            "description": "UTC timestamp the upstream was queried",
            "format": "date-time",
            "type": "string"
          },
          "vs_currency": {
            "description": "Currency the candles are quoted in",
            "type": "string"
          }
        },
        "required": [
          "queried_at",
          "id",
          "vs_currency",
          "days",
          "candles"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "finance",
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "days": 30,
            "id": "bitcoin",
            "vs_currency": "usd"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "candles": [
              {
                "close": 27050,
                "high": 27100,
                "low": 26900,
                "open": 27000,
                "time": "2026-05-08T00:00:00Z"
              }
            ],
            "days": 30,
            "id": "bitcoin",
            "queried_at": "2026-06-08T12:00:00Z",
            "vs_currency": "usd"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "days": {
                    "description": "Window size in days: one of 1, 7, 14, 30, 90, 180, 365",
                    "enum": [
                      1,
                      7,
                      14,
                      30,
                      90,
                      180,
                      365
                    ],
                    "type": "integer"
                  },
                  "id": {
                    "description": "CoinGecko coin id slug",
                    "type": "string"
                  },
                  "vs_currency": {
                    "default": "usd",
                    "description": "Target currency code (default: usd)",
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "days"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "candles": {
                    "description": "OHLC bars, oldest first",
                    "items": {
                      "properties": {
                        "close": {
                          "description": "Close price",
                          "type": "number"
                        },
                        "high": {
                          "description": "High price",
                          "type": "number"
                        },
                        "low": {
                          "description": "Low price",
                          "type": "number"
                        },
                        "open": {
                          "description": "Open price",
                          "type": "number"
                        },
                        "time": {
                          "description": "Candle timestamp (UTC)",
                          "format": "date-time",
                          "type": "string"
                        }
                      },
                      "required": [
                        "time",
                        "open",
                        "high",
                        "low",
                        "close"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "days": {
                    "description": "Requested window size in days",
                    "type": "integer"
                  },
                  "id": {
                    "description": "CoinGecko coin id slug",
                    "type": "string"
                  },
                  "queried_at": {
                    "description": "UTC timestamp the upstream was queried",
                    "format": "date-time",
                    "type": "string"
                  },
                  "vs_currency": {
                    "description": "Currency the candles are quoted in",
                    "type": "string"
                  }
                },
                "required": [
                  "queried_at",
                  "id",
                  "vs_currency",
                  "days",
                  "candles"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "ohlc",
        "candles",
        "ohlcv",
        "crypto",
        "chart",
        "market-data",
        "price",
        "coingecko"
      ]
    }
  },
  "tags": [
    "ohlc",
    "candles",
    "ohlcv",
    "crypto",
    "chart",
    "bazaar"
  ],
  "sourceHost": "coingecko.use.x402atlas.com",
  "lastUpdated": "2026-10-08T13:01:30.373Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 5,
    "lastCalledAt": "2026-10-08T13:01:30.254Z"
  },
  "metadata": {
    "serviceName": "CoinGecko Crypto Price & Data",
    "extensions": {
      "bazaar": {
        "category": "finance",
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "days": 30,
              "id": "bitcoin",
              "vs_currency": "usd"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "candles": [
                {
                  "close": 27050,
                  "high": 27100,
                  "low": 26900,
                  "open": 27000,
                  "time": "2026-05-08T00:00:00Z"
                }
              ],
              "days": 30,
              "id": "bitcoin",
              "queried_at": "2026-06-08T12:00:00Z",
              "vs_currency": "usd"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "days": {
                      "description": "Window size in days: one of 1, 7, 14, 30, 90, 180, 365",
                      "enum": [
                        1,
                        7,
                        14,
                        30,
                        90,
                        180,
                        365
                      ],
                      "type": "integer"
                    },
                    "id": {
                      "description": "CoinGecko coin id slug",
                      "type": "string"
                    },
                    "vs_currency": {
                      "default": "usd",
                      "description": "Target currency code (default: usd)",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "days"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "candles": {
                      "description": "OHLC bars, oldest first",
                      "items": {
                        "properties": {
                          "close": {
                            "description": "Close price",
                            "type": "number"
                          },
                          "high": {
                            "description": "High price",
                            "type": "number"
                          },
                          "low": {
                            "description": "Low price",
                            "type": "number"
                          },
                          "open": {
                            "description": "Open price",
                            "type": "number"
                          },
                          "time": {
                            "description": "Candle timestamp (UTC)",
                            "format": "date-time",
                            "type": "string"
                          }
                        },
                        "required": [
                          "time",
                          "open",
                          "high",
                          "low",
                          "close"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "days": {
                      "description": "Requested window size in days",
                      "type": "integer"
                    },
                    "id": {
                      "description": "CoinGecko coin id slug",
                      "type": "string"
                    },
                    "queried_at": {
                      "description": "UTC timestamp the upstream was queried",
                      "format": "date-time",
                      "type": "string"
                    },
                    "vs_currency": {
                      "description": "Currency the candles are quoted in",
                      "type": "string"
                    }
                  },
                  "required": [
                    "queried_at",
                    "id",
                    "vs_currency",
                    "days",
                    "candles"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "ohlc",
          "candles",
          "ohlcv",
          "crypto",
          "chart",
          "market-data",
          "price",
          "coingecko"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "coingecko.use.x402atlas.com",
    "manifest_name": "coingecko.use.x402atlas.com",
    "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": {
      "candles": [
        {
          "close": 0,
          "high": 0,
          "low": 0,
          "open": 0,
          "time": "2026-01-01T00:00:00Z"
        }
      ],
      "days": 0,
      "id": "string",
      "queried_at": "2026-01-01T00:00:00Z",
      "vs_currency": "string"
    },
    "type": "string"
  }
}