cryptodataapi-com · Schema

BacktestHLFundingBarsResponse

CompanyCryptocurrencyFinanceDataReal-TimeMarket Data

Properties

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

JSON Schema

cryptodataapi-com-backtest-hlfunding-bars-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-hlfunding-bars-response-schema.json",
  "title": "BacktestHLFundingBarsResponse",
  "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/BacktestHLFundingBarsResponse",
  "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
    },
    "coin": {
      "type": "string",
      "title": "Coin"
    },
    "interval": {
      "type": "string",
      "title": "Interval"
    },
    "count": {
      "type": "integer",
      "title": "Count"
    },
    "data": {
      "items": {
        "$ref": "#/$defs/BacktestHLFundingBar"
      },
      "type": "array",
      "title": "Data"
    },
    "join": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Join"
    }
  },
  "type": "object",
  "required": [
    "coin",
    "interval",
    "count",
    "data",
    "join"
  ],
  "$defs": {
    "BacktestHLFundingBar": {
      "properties": {
        "time": {
          "type": "integer",
          "title": "Time"
        },
        "coin": {
          "type": "string",
          "title": "Coin"
        },
        "funding_sum": {
          "title": "Funding Sum",
          "type": [
            "number",
            "null"
          ]
        },
        "n_settlements": {
          "type": "integer",
          "title": "N Settlements",
          "default": 0
        },
        "funding_rate_mean": {
          "title": "Funding Rate Mean",
          "type": [
            "number",
            "null"
          ]
        },
        "oi_open": {
          "title": "Oi Open",
          "type": [
            "number",
            "null"
          ]
        },
        "oi_close": {
          "title": "Oi Close",
          "type": [
            "number",
            "null"
          ]
        },
        "oi_change_pct": {
          "title": "Oi Change Pct",
          "type": [
            "number",
            "null"
          ]
        },
        "mark_close": {
          "title": "Mark Close",
          "type": [
            "number",
            "null"
          ]
        },
        "n_snapshots": {
          "type": "integer",
          "title": "N Snapshots",
          "default": 0
        }
      },
      "type": "object",
      "required": [
        "time",
        "coin"
      ],
      "title": "BacktestHLFundingBar",
      "description": "Hyperliquid funding + open interest for one closed bar on the HL candle\ngrid — ``time`` equals the matching candle's ``timestamp``.\n\n``funding_sum`` is the carry actually settled over the bar (sum of the hourly\nprints that landed in ``(time, time + interval]``); it is null with\n``n_settlements`` 0 until those prints are archived (daily, for the previous\nUTC day) — ``funding_rate_mean`` (mean live hourly rate over the bar's 5-min\nsamples) is there immediately. OI is in base-coin units; multiply by\n``mark_close`` for notional."
    },
    "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-hlfunding-bars-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.