{
  "x402Version": 2,
  "id": 1549,
  "slug": "1549",
  "resource": "https://marketdata.use.x402atlas.com/futures-aggregates",
  "description": "OHLC candlestick bars for a futures contract — historical aggregates with settlement price and dollar volume by contract ticker.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9D667BC76F166322df087b3B3927D4d83D44A5d0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "15000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x9D667BC76F166322df087b3B3927D4d83D44A5d0",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "15000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x9D667BC76F166322df087b3B3927D4d83D44A5d0",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "15000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "15000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "finance",
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "from": "2025-02-01",
            "limit": 10,
            "resolution": "1session",
            "ticker": "GCJ5",
            "to": "2025-02-07"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "candles": [
              {
                "close": 2874.2,
                "dollar_volume": 380560636.01,
                "high": 2877.1,
                "low": 2837.4,
                "open": 2849.8,
                "session_end_date": "2025-02-04",
                "settlement_price": 2875.8,
                "time": "2025-02-04T00:00:00Z",
                "transactions": 74223,
                "volume": 133072
              }
            ],
            "queried_at": "2026-07-06T12:00:00Z",
            "resolution": "1session",
            "ticker": "GCJ5"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "from": {
                    "description": "Range start (YYYY-MM-DD)",
                    "format": "date",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Max candles returned",
                    "maximum": 50000,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "resolution": {
                    "description": "Candle size, e.g. 1min, 5min, 1hour, 1session",
                    "pattern": "^[1-9][0-9]*(sec|min|hour|session|week|month|quarter|year)$",
                    "type": "string"
                  },
                  "ticker": {
                    "description": "Futures contract ticker, e.g. ESU5, GCJ5",
                    "type": "string"
                  },
                  "to": {
                    "description": "Range end (YYYY-MM-DD)",
                    "format": "date",
                    "type": "string"
                  }
                },
                "required": [
                  "ticker"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "candles": {
                    "description": "Normalized futures OHLCV bars.",
                    "items": {
                      "properties": {
                        "close": {
                          "type": "number"
                        },
                        "dollar_volume": {
                          "type": "number"
                        },
                        "high": {
                          "type": "number"
                        },
                        "low": {
                          "type": "number"
                        },
                        "open": {
                          "type": "number"
                        },
                        "session_end_date": {
                          "description": "Trading session end date.",
                          "type": "string"
                        },
                        "settlement_price": {
                          "type": "number"
                        },
                        "time": {
                          "description": "Bar start timestamp.",
                          "format": "date-time",
                          "type": "string"
                        },
                        "transactions": {
                          "type": "integer"
                        },
                        "volume": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "time",
                        "open",
                        "high",
                        "low",
                        "close",
                        "volume"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "queried_at": {
                    "description": "UTC timestamp when this bridge queried the upstream.",
                    "format": "date-time",
                    "type": "string"
                  },
                  "resolution": {
                    "description": "Echo of the requested candle resolution.",
                    "type": "string"
                  },
                  "ticker": {
                    "description": "Echo of the requested contract ticker.",
                    "type": "string"
                  }
                },
                "required": [
                  "queried_at",
                  "ticker",
                  "candles"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "futures",
        "ohlc",
        "aggregates",
        "commodities",
        "market-data",
        "marketdata"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "marketdata.use.x402atlas.com",
  "lastUpdated": "2026-09-15T06:31:12.976Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-15T06:31:12.843Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "marketdata.use.x402atlas.com",
    "manifest_name": "marketdata.use.x402atlas.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}