cryptodataapi-com · Schema

BacktestFundingResponse

CompanyCryptocurrencyFinanceDataReal-TimeMarket Data

Properties

Name Type Description
grain object
coverage object
next_cursor stringnull
has_more boolean
symbol string
exchange string
count integer
data array
View JSON Schema on GitHub

JSON Schema

cryptodataapi-com-backtest-funding-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptodataapi-com/json-schema/cryptodataapi-com-backtest-funding-response-schema.json",
  "title": "BacktestFundingResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cryptodataapi-com-backtesting-api-openapi.yml#/components/schemas/BacktestFundingResponse",
  "properties": {
    "grain": {
      "$ref": "#/$defs/GrainDescriptor"
    },
    "coverage": {
      "$ref": "#/$defs/CoverageInfo"
    },
    "next_cursor": {
      "title": "Next Cursor",
      "type": [
        "string",
        "null"
      ]
    },
    "has_more": {
      "type": "boolean",
      "title": "Has More",
      "default": false
    },
    "symbol": {
      "type": "string",
      "title": "Symbol"
    },
    "exchange": {
      "type": "string",
      "title": "Exchange"
    },
    "count": {
      "type": "integer",
      "title": "Count"
    },
    "data": {
      "items": {
        "$ref": "#/$defs/BacktestFundingEntry"
      },
      "type": "array",
      "title": "Data"
    }
  },
  "type": "object",
  "required": [
    "symbol",
    "exchange",
    "count",
    "data"
  ],
  "$defs": {
    "BacktestFundingEntry": {
      "properties": {
        "time": {
          "type": "integer",
          "title": "Time"
        },
        "symbol": {
          "type": "string",
          "title": "Symbol"
        },
        "exchange": {
          "type": "string",
          "title": "Exchange"
        },
        "funding_rate": {
          "title": "Funding Rate",
          "type": [
            "number",
            "null"
          ]
        },
        "open_interest": {
          "title": "Open Interest",
          "type": [
            "number",
            "null"
          ]
        },
        "mark_price": {
          "title": "Mark Price",
          "type": [
            "number",
            "null"
          ]
        },
        "premium": {
          "title": "Premium",
          "type": [
            "number",
            "null"
          ]
        },
        "oracle_price": {
          "title": "Oracle Price",
          "type": [
            "number",
            "null"
          ]
        },
        "oracle_as_of": {
          "title": "Oracle As Of",
          "type": [
            "integer",
            "null"
          ]
        },
        "oracle_source": {
          "title": "Oracle Source",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object",
      "required": [
        "time",
        "symbol",
        "exchange"
      ],
      "title": "BacktestFundingEntry",
      "description": "On the 5-min snapshot rows, ``open_interest`` / ``mark_price`` are our\nlive samples (from 2026-03-30) and ``premium`` / ``oracle_price`` (the price\nHyperliquid pays funding on) join them from 2026-10-24 02:10 UTC. On ``grain=hourly``\nrows, ``oracle_price`` / ``mark_price`` / ``open_interest`` are the asset\ncontext AT that settlement boundary and ``oracle_source`` says whose:\n``hl_s3_asset_ctxs`` = Hyperliquid's own archived minute snapshot (history),\n``live_read`` = our read seconds after the boundary (2026-10-24 03:00 UTC on).\n``oracle_as_of`` (ms) is that snapshot's stamp or our read's wall clock.\nNull where neither exists (a hole in HL's archive, and Binance).\n``oracle_source`` is always null on snapshot rows."
    },
    "CoverageInfo": {
      "properties": {
        "local_first": {
          "title": "Local First",
          "type": [
            "integer",
            "null"
          ]
        },
        "local_last": {
          "title": "Local Last",
          "type": [
            "integer",
            "null"
          ]
        },
        "archive_hint": {
          "title": "Archive Hint",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object",
      "title": "CoverageInfo",
      "description": "Local retention bounds (ms) for the queried scope. ``archive_hint`` is set\nwhen the window starts before ``local_first`` — those rows are not missing,\nthey live in the daily Parquet archive."
    },
    "GrainDescriptor": {
      "properties": {
        "kind": {
          "type": "string",
          "title": "Kind"
        },
        "cadence": {
          "title": "Cadence",
          "type": [
            "string",
            "null"
          ]
        },
        "is_cumulative": {
          "type": "boolean",
          "title": "Is Cumulative",
          "default": false
        },
        "sum_ok": {
          "type": "boolean",
          "title": "Sum Ok",
          "default": false
        },
        "window": {
          "title": "Window",
          "type": [
            "string",
            "null"
          ]
        },
        "settlements_per_day": {
          "title": "Settlements Per Day",
          "type": [
            "integer",
            "null"
          ]
        },
        "note": {
          "type": "string",
          "title": "Note"
        }
      },
      "type": "object",
      "required": [
        "kind",
        "note"
      ],
      "title": "GrainDescriptor",
      "description": "What ONE ROW of a series is, stated on the payload so it cannot be mis-summed.\n\n``kind``: ``event`` (one fill), ``bar`` (a closed bucket), ``rate_snapshot``\n(the live rate sampled on a timer), ``rolling_window`` (a trailing total\nsampled on a timer), ``settled_payment`` (one settlement print).\n``sum_ok`` — adding rows across time is meaningful. ``is_cumulative`` — a row\nalready contains its predecessors' flow. ``settlements_per_day`` is set for\nfunding series only."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cryptodataapi-com-backtest-funding-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.