{
  "x402Version": 2,
  "id": 6426,
  "slug": "6426",
  "resource": "https://api.usenami.io/v1/backtest/data",
  "description": "Packaged funding-rate history for one crypto perpetual on one venue, bundled per time bucket at 1h/4h/1d granularity over up to 30 days — one paid call instead of stitching hundreds of hourly requests. Each bucket carries the average rate, sample count and average perp price. Order-book fields were withdrawn on 2026-09-16: include_orderbook=true is refused before payment, never silently ignored.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1538726707212F4dB3EB67cEc0910422A310475c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "from": {
              "description": "ISO 8601 window start.",
              "required": true,
              "type": "string"
            },
            "granularity": {
              "description": "Bucket size. Default 1h.",
              "enum": [
                "1h",
                "4h",
                "1d"
              ],
              "required": false,
              "type": "string"
            },
            "include_funding": {
              "description": "Default true. Funding is the only series this route carries, so false is refused before payment.",
              "required": false,
              "type": "boolean"
            },
            "ticker": {
              "description": "Upper-case asset ticker (e.g. BTC, ETH).",
              "required": true,
              "type": "string"
            },
            "to": {
              "description": "ISO 8601 window end.",
              "required": true,
              "type": "string"
            },
            "venue": {
              "description": "Lower-case venue name (e.g. binance, kucoin).",
              "required": true,
              "type": "string"
            }
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": [
              {
                "funding_rate": 0.00012,
                "funding_samples": 1,
                "perp_price": 67234.5,
                "ts": "2026-05-01T00:00:00Z"
              }
            ],
            "from_ts": "2026-05-01T00:00:00Z",
            "granularity": "1h",
            "metadata": {
              "completeness_pct": 100,
              "data_sources": [
                "funding_history_hourly"
              ],
              "samples_count": 24
            },
            "ticker": "BTC",
            "to_ts": "2026-05-02T00:00:00Z",
            "venue": "binance"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "method": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.usenami.io",
  "lastUpdated": "2026-09-18T10:43:55.247Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-18T10:43:54.38Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.usenami.io",
    "manifest_name": "api.usenami.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}