{
  "x402Version": 2,
  "id": 42489,
  "slug": "42489",
  "resource": "https://dev.gavedu.com/x402/candles",
  "description": "Crypto market data bundle: BTC/ETH OHLCV candles (Coinbase) with pre-computed EMA10/EMA30, RSI14 and trend/range/chop regime label per request — one call replaces fetch + indicator math.",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x01B34D04B658990fd1F22cC4DddEabA10349B1C4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "granularity": 3600,
            "product": "ETH-USD"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "candles": [
              {
                "close": 3455.2,
                "high": 3460,
                "low": 3444,
                "open": 3450.1,
                "t": 1785500000,
                "volume": 812.4
              }
            ],
            "count": 300,
            "granularity": 3600,
            "indicators": {
              "ema10": 3452.1,
              "ema30": 3449.8,
              "regime": "RANGE",
              "rsi": 51.3
            },
            "product": "ETH-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": {
                  "granularity": {
                    "description": "Candle seconds: 300, 900, 3600, 21600, 86400",
                    "enum": [
                      300,
                      900,
                      3600,
                      21600,
                      86400
                    ],
                    "type": "integer"
                  },
                  "product": {
                    "description": "BTC-USD or ETH-USD",
                    "enum": [
                      "BTC-USD",
                      "ETH-USD"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "dev.gavedu.com",
  "lastUpdated": "2026-10-07T02:32:18.351Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-07T02:32:17.334Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "granularity": 3600,
              "product": "ETH-USD"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "candles": [
                {
                  "close": 3455.2,
                  "high": 3460,
                  "low": 3444,
                  "open": 3450.1,
                  "t": 1785500000,
                  "volume": 812.4
                }
              ],
              "count": 300,
              "granularity": 3600,
              "indicators": {
                "ema10": 3452.1,
                "ema30": 3449.8,
                "regime": "RANGE",
                "rsi": 51.3
              },
              "product": "ETH-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": {
                    "granularity": {
                      "description": "Candle seconds: 300, 900, 3600, 21600, 86400",
                      "enum": [
                        300,
                        900,
                        3600,
                        21600,
                        86400
                      ],
                      "type": "integer"
                    },
                    "product": {
                      "description": "BTC-USD or ETH-USD",
                      "enum": [
                        "BTC-USD",
                        "ETH-USD"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "dev.gavedu.com",
    "manifest_name": "dev.gavedu.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": {
    "candles": [
      {
        "close": 3455.2,
        "high": 3460,
        "low": 3444,
        "open": 3450.1,
        "t": 1785500000,
        "volume": 812.4
      }
    ],
    "count": 300,
    "granularity": 3600,
    "indicators": {
      "ema10": 3452.1,
      "ema30": 3449.8,
      "regime": "RANGE",
      "rsi": 51.3
    },
    "product": "ETH-USD"
  }
}