{
  "x402Version": 2,
  "id": 29558,
  "slug": "29558",
  "resource": "https://netintel.dev/crypto/ohlc",
  "description": "Historical OHLC candles for any major crypto asset — hourly or daily, up to 300 candles, with period stats (change %, high, low) — from Coinbase Exchange with Kraken fallback, no API key. Also a price-at-date mode: pass date=YYYY-MM-DD for that day's candle and close. USD, EUR, or GBP quotes; 5min cache.",
  "type": "http",
  "serviceName": "NetIntel",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "cache_age_seconds": {
            "type": "number"
          },
          "candle_count": {
            "type": "number"
          },
          "candles": {
            "items": {
              "properties": {
                "close": {
                  "type": "number"
                },
                "high": {
                  "type": "number"
                },
                "low": {
                  "type": "number"
                },
                "open": {
                  "type": "number"
                },
                "time": {
                  "type": "string"
                },
                "volume": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "end": {
            "type": "string"
          },
          "findings": {
            "type": "array"
          },
          "interval": {
            "type": "string"
          },
          "price": {
            "type": [
              "number",
              "null"
            ]
          },
          "source": {
            "description": "coinbase | kraken",
            "type": "string"
          },
          "stale": {
            "type": "boolean"
          },
          "start": {
            "type": "string"
          },
          "stats": {
            "properties": {
              "avg_volume": {
                "type": "number"
              },
              "change_pct": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "close": {
                "type": "number"
              },
              "open": {
                "type": "number"
              },
              "period_high": {
                "type": "number"
              },
              "period_low": {
                "type": "number"
              }
            },
            "type": "object"
          },
          "symbol": {
            "type": "string"
          },
          "vs": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "days": 7,
            "interval": "1d",
            "symbol": "BTC"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "cache_age_seconds": 0,
            "candle_count": 7,
            "candles": [
              {
                "close": 65341.07,
                "high": 65511.36,
                "low": 64229.6,
                "open": 64295.61,
                "time": "2026-07-26T00:00:00.000Z",
                "volume": 2390.56790196
              },
              {
                "close": 63694.43,
                "high": 65705.08,
                "low": 63545,
                "open": 65341.07,
                "time": "2026-07-27T00:00:00.000Z",
                "volume": 5069.45269918
              },
              {
                "close": 63847.12,
                "high": 64041.02,
                "low": 62645.39,
                "open": 63693.44,
                "time": "2026-07-28T00:00:00.000Z",
                "volume": 6232.18054403
              },
              {
                "close": 63896.14,
                "high": 64665.3,
                "low": 63194.45,
                "open": 63847.12,
                "time": "2026-07-29T00:00:00.000Z",
                "volume": 8092.70552294
              },
              {
                "close": 64721.9,
                "high": 65118.08,
                "low": 63502.91,
                "open": 63896.14,
                "time": "2026-07-30T00:00:00.000Z",
                "volume": 8025.87127027
              },
              {
                "close": 62825.9,
                "high": 65360,
                "low": 62358.96,
                "open": 64721.9,
                "time": "2026-07-31T00:00:00.000Z",
                "volume": 8260.37090197
              },
              {
                "close": 62445.14,
                "high": 63093,
                "low": 62209.81,
                "open": 62826.69,
                "time": "2026-08-01T00:00:00.000Z",
                "volume": 2472.01120363
              }
            ],
            "end": "2026-08-01",
            "findings": [],
            "interval": "1d",
            "source": "coinbase",
            "stale": false,
            "start": "2026-07-26",
            "stats": {
              "avg_volume": 5791.88,
              "change_pct": -2.88,
              "close": 62445.14,
              "open": 64295.61,
              "period_high": 65705.08,
              "period_low": 62209.81
            },
            "symbol": "BTC",
            "vs": "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": {
                  "date": {
                    "description": "YYYY-MM-DD price-at-date mode: that day's single daily candle + its close as price. Mutually exclusive with days/limit",
                    "type": "string"
                  },
                  "days": {
                    "description": "Lookback window, default 30. Max 300 for 1d, 12 for 1h (300 candles). Alias: period",
                    "type": "number"
                  },
                  "interval": {
                    "description": "1h or 1d (default 1d). hour/hourly and day/daily accepted. Aliases: granularity, timeframe",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Number of most-recent candles (the usual candle-API param). Capped at 288 for 1h, 300 for 1d. Aliases: count, candles. Use instead of days.",
                    "type": "number"
                  },
                  "symbol": {
                    "description": "One ticker or full name (\"BTC\" or \"bitcoin\"); a leading $ is fine. Aliases: coin, ticker, asset",
                    "type": "string"
                  },
                  "vs": {
                    "description": "Quote currency: USD (default), EUR or GBP. Aliases: currency, fiat, vs_currency",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "cache_age_seconds": {
                    "type": "number"
                  },
                  "candle_count": {
                    "type": "number"
                  },
                  "candles": {
                    "items": {
                      "properties": {
                        "close": {
                          "type": "number"
                        },
                        "high": {
                          "type": "number"
                        },
                        "low": {
                          "type": "number"
                        },
                        "open": {
                          "type": "number"
                        },
                        "time": {
                          "type": "string"
                        },
                        "volume": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "end": {
                    "type": "string"
                  },
                  "findings": {
                    "type": "array"
                  },
                  "interval": {
                    "type": "string"
                  },
                  "price": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "source": {
                    "description": "coinbase | kraken",
                    "type": "string"
                  },
                  "stale": {
                    "type": "boolean"
                  },
                  "start": {
                    "type": "string"
                  },
                  "stats": {
                    "properties": {
                      "avg_volume": {
                        "type": "number"
                      },
                      "change_pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "close": {
                        "type": "number"
                      },
                      "open": {
                        "type": "number"
                      },
                      "period_high": {
                        "type": "number"
                      },
                      "period_low": {
                        "type": "number"
                      }
                    },
                    "type": "object"
                  },
                  "symbol": {
                    "type": "string"
                  },
                  "vs": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "ohlc",
    "candles",
    "price history",
    "bitcoin history",
    "backtest data",
    "bazaar"
  ],
  "sourceHost": "netintel.dev",
  "lastUpdated": "2026-10-13T13:52:03.815Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T13:52:03.562Z"
  },
  "metadata": {
    "serviceName": "NetIntel",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "days": 7,
              "interval": "1d",
              "symbol": "BTC"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "cache_age_seconds": 0,
              "candle_count": 7,
              "candles": [
                {
                  "close": 65341.07,
                  "high": 65511.36,
                  "low": 64229.6,
                  "open": 64295.61,
                  "time": "2026-07-26T00:00:00.000Z",
                  "volume": 2390.56790196
                },
                {
                  "close": 63694.43,
                  "high": 65705.08,
                  "low": 63545,
                  "open": 65341.07,
                  "time": "2026-07-27T00:00:00.000Z",
                  "volume": 5069.45269918
                },
                {
                  "close": 63847.12,
                  "high": 64041.02,
                  "low": 62645.39,
                  "open": 63693.44,
                  "time": "2026-07-28T00:00:00.000Z",
                  "volume": 6232.18054403
                },
                {
                  "close": 63896.14,
                  "high": 64665.3,
                  "low": 63194.45,
                  "open": 63847.12,
                  "time": "2026-07-29T00:00:00.000Z",
                  "volume": 8092.70552294
                },
                {
                  "close": 64721.9,
                  "high": 65118.08,
                  "low": 63502.91,
                  "open": 63896.14,
                  "time": "2026-07-30T00:00:00.000Z",
                  "volume": 8025.87127027
                },
                {
                  "close": 62825.9,
                  "high": 65360,
                  "low": 62358.96,
                  "open": 64721.9,
                  "time": "2026-07-31T00:00:00.000Z",
                  "volume": 8260.37090197
                },
                {
                  "close": 62445.14,
                  "high": 63093,
                  "low": 62209.81,
                  "open": 62826.69,
                  "time": "2026-08-01T00:00:00.000Z",
                  "volume": 2472.01120363
                }
              ],
              "end": "2026-08-01",
              "findings": [],
              "interval": "1d",
              "source": "coinbase",
              "stale": false,
              "start": "2026-07-26",
              "stats": {
                "avg_volume": 5791.88,
                "change_pct": -2.88,
                "close": 62445.14,
                "open": 64295.61,
                "period_high": 65705.08,
                "period_low": 62209.81
              },
              "symbol": "BTC",
              "vs": "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": {
                    "date": {
                      "description": "YYYY-MM-DD price-at-date mode: that day's single daily candle + its close as price. Mutually exclusive with days/limit",
                      "type": "string"
                    },
                    "days": {
                      "description": "Lookback window, default 30. Max 300 for 1d, 12 for 1h (300 candles). Alias: period",
                      "type": "number"
                    },
                    "interval": {
                      "description": "1h or 1d (default 1d). hour/hourly and day/daily accepted. Aliases: granularity, timeframe",
                      "type": "string"
                    },
                    "limit": {
                      "description": "Number of most-recent candles (the usual candle-API param). Capped at 288 for 1h, 300 for 1d. Aliases: count, candles. Use instead of days.",
                      "type": "number"
                    },
                    "symbol": {
                      "description": "One ticker or full name (\"BTC\" or \"bitcoin\"); a leading $ is fine. Aliases: coin, ticker, asset",
                      "type": "string"
                    },
                    "vs": {
                      "description": "Quote currency: USD (default), EUR or GBP. Aliases: currency, fiat, vs_currency",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "cache_age_seconds": {
                      "type": "number"
                    },
                    "candle_count": {
                      "type": "number"
                    },
                    "candles": {
                      "items": {
                        "properties": {
                          "close": {
                            "type": "number"
                          },
                          "high": {
                            "type": "number"
                          },
                          "low": {
                            "type": "number"
                          },
                          "open": {
                            "type": "number"
                          },
                          "time": {
                            "type": "string"
                          },
                          "volume": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "end": {
                      "type": "string"
                    },
                    "findings": {
                      "type": "array"
                    },
                    "interval": {
                      "type": "string"
                    },
                    "price": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "source": {
                      "description": "coinbase | kraken",
                      "type": "string"
                    },
                    "stale": {
                      "type": "boolean"
                    },
                    "start": {
                      "type": "string"
                    },
                    "stats": {
                      "properties": {
                        "avg_volume": {
                          "type": "number"
                        },
                        "change_pct": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "close": {
                          "type": "number"
                        },
                        "open": {
                          "type": "number"
                        },
                        "period_high": {
                          "type": "number"
                        },
                        "period_low": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "symbol": {
                      "type": "string"
                    },
                    "vs": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "netintel.dev",
    "manifest_name": "netintel.dev",
    "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": {
    "cache_age_seconds": 0,
    "candle_count": 7,
    "candles": [
      {
        "close": 65341.07,
        "high": 65511.36,
        "low": 64229.6,
        "open": 64295.61,
        "time": "2026-07-26T00:00:00.000Z",
        "volume": 2390.56790196
      },
      {
        "close": 63694.43,
        "high": 65705.08,
        "low": 63545,
        "open": 65341.07,
        "time": "2026-07-27T00:00:00.000Z",
        "volume": 5069.45269918
      },
      {
        "close": 63847.12,
        "high": 64041.02,
        "low": 62645.39,
        "open": 63693.44,
        "time": "2026-07-28T00:00:00.000Z",
        "volume": 6232.18054403
      },
      {
        "close": 63896.14,
        "high": 64665.3,
        "low": 63194.45,
        "open": 63847.12,
        "time": "2026-07-29T00:00:00.000Z",
        "volume": 8092.70552294
      },
      {
        "close": 64721.9,
        "high": 65118.08,
        "low": 63502.91,
        "open": 63896.14,
        "time": "2026-07-30T00:00:00.000Z",
        "volume": 8025.87127027
      },
      {
        "close": 62825.9,
        "high": 65360,
        "low": 62358.96,
        "open": 64721.9,
        "time": "2026-07-31T00:00:00.000Z",
        "volume": 8260.37090197
      },
      {
        "close": 62445.14,
        "high": 63093,
        "low": 62209.81,
        "open": 62826.69,
        "time": "2026-08-01T00:00:00.000Z",
        "volume": 2472.01120363
      }
    ],
    "end": "2026-08-01",
    "findings": [],
    "interval": "1d",
    "source": "coinbase",
    "stale": false,
    "start": "2026-07-26",
    "stats": {
      "avg_volume": 5791.88,
      "change_pct": -2.88,
      "close": 62445.14,
      "open": 64295.61,
      "period_high": 65705.08,
      "period_low": 62209.81
    },
    "symbol": "BTC",
    "vs": "USD"
  }
}