Api Endpoint

DEBYKO

Historical funding rate, open interest, mark price and order book data for crypto perpetual futures across 19 venues (Aster Perpetuals, Avantis, Binance USD-M Futures, Bitget Perpetual Futures, Bybit Perpetuals, Coinbase Global Derivatives and 13 more), exactly as stored: as of a past instant, per interval, or every update as received. For backtests and audits. Gaps are marked as gaps, not interpolated. No charge when nothing recorded is returned. 0.02 USDC per call.

Open interactive test console

Offering

Provider
api.debyko.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.debyko.com/v2/snapshots/history
MIME type
application/json
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
historical-data, funding-rate, backtesting, perpetuals, Crypto, market-data, history, point-in-time

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
9 USDC
Atomic price: 9000000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 3
29 USDC
Atomic price: 29000000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 4
99 USDC
Atomic price: 99000000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 5
249 USDC
Atomic price: 249000000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x17b2c55872338727660aa77776a4056a1a3158ec"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "9000000",
    "payTo": "0x17b2c55872338727660aa77776a4056a1a3158ec"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "29000000",
    "payTo": "0x17b2c55872338727660aa77776a4056a1a3158ec"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "99000000",
    "payTo": "0x17b2c55872338727660aa77776a4056a1a3158ec"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "249000000",
    "payTo": "0x17b2c55872338727660aa77776a4056a1a3158ec"
  }
]

Observed health

Status
Reachable
Latest latency
660 ms
Average latency
941 ms
HTTP status
405
Last checked
Reachability
100% over 15 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "additionalProperties": false,
      "allOf": [
        {
          "anyOf": [
            {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "interval"
                    ]
                  },
                  {
                    "required": [
                      "raw"
                    ],
                    "properties": {
                      "raw": {
                        "enum": [
                          true
                        ]
                      }
                    }
                  }
                ]
              }
            },
            {
              "required": [
                "from",
                "to"
              ]
            }
          ]
        },
        {
          "anyOf": [
            {
              "not": {
                "required": [
                  "at"
                ]
              }
            },
            {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "from"
                    ]
                  },
                  {
                    "required": [
                      "to"
                    ]
                  }
                ]
              }
            }
          ]
        }
      ],
      "properties": {
        "where": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "object"
            }
          ],
          "description": "DQL selection of the markets to read, e.g. base in (BTC) or venue = HYPERLIQUID and base = BTC."
        },
        "kind": {
          "type": "string",
          "enum": [
            "perpetual",
            "spot",
            "all"
          ],
          "default": "perpetual"
        },
        "units": {
          "type": "string",
          "enum": [
            "published",
            "base"
          ],
          "default": "published"
        },
        "number_format": {
          "type": "string",
          "enum": [
            "json",
            "string"
          ],
          "default": "json"
        },
        "include_synthetic": {
          "type": "boolean",
          "default": false
        },
        "layers": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ticker",
              "mark",
              "funding",
              "oi",
              "book",
              "stats",
              "venue_depth"
            ]
          },
          "description": "Layers to read: ticker, mark, funding, oi, book, stats, venue_depth."
        },
        "interval": {
          "type": "string",
          "description": "One row per period of this length, e.g. 1m or 1h, holding the last reading in it; needs from and to."
        },
        "at": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Instants, UTC and ascending, to read as the history recorded them; instead of interval, without from and to."
        },
        "raw": {
          "type": "boolean",
          "default": false,
          "description": "true returns every update as it arrived; needs from and to."
        },
        "from": {
          "allOf": [
            {
              "type": "string",
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$"
            }
          ],
          "description": "Start of the window, UTC, e.g. 2026-10-01T00:00:00Z."
        },
        "to": {
          "allOf": [
            {
              "type": "string",
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$"
            }
          ],
          "description": "End of the window, UTC, e.g. 2026-10-01T06:00:00Z."
        },
        "include_gaps": {
          "type": "boolean",
          "default": true
        },
        "summary": {
          "type": "boolean",
          "default": false
        },
        "fields": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "freshness": {
          "type": "string"
        },
        "allow_stale": {
          "type": "boolean",
          "default": false
        }
      }
    },
    "queryParams": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "headers": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "evaluated_at",
        "settled",
        "items_sha256",
        "mode",
        "units",
        "freshness",
        "items"
      ],
      "properties": {
        "evaluated_at": {
          "type": "string",
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$"
        },
        "served_at": {
          "type": "string",
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{6}Z$"
        },
        "receipt_id": {
          "type": "string",
          "pattern": "^[0-9A-Za-z]{22}$"
        },
        "resolved_from": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "trial": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "plan",
            "until"
          ],
          "properties": {
            "plan": {
              "type": "string"
            },
            "until": {
              "type": "string",
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$"
            },
            "layer": {
              "type": "string"
            },
            "asked_days": {
              "type": "integer"
            },
            "cap": {
              "type": "string"
            },
            "limit": {
              "type": "integer"
            }
          }
        },
        "settled": {
          "type": "boolean"
        },
        "items_sha256": {
          "type": "string",
          "pattern": "^[0-9a-f]{64}$"
        },
        "mode": {
          "type": "string",
          "enum": [
            "interval",
            "at",
            "raw",
            "summary"
          ]
        },
        "interval": {
          "type": "string"
        },
        "from": {
          "allOf": [
            {
              "oneOf": [
                {
                  "type": "string",
                  "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$"
                },
                {
                  "type": "null"
                }
              ]
            }
          ]
        },
        "to": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$"
            },
            {
              "type": "null"
            }
          ]
        },
        "units": {
          "type": "string",
          "enum": [
            "published",
            "base"
          ]
        },
        "normalisation_version": {
          "type": "string"
        },
        "field_units": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "freshness": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "listings_as_of": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$"
            },
            {
              "type": "null"
            }
          ]
        },
        "capabilities_as_of": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$"
            },
            {
              "type": "null"
            }
          ]
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "instrument",
              "venue",
              "venue_symbol",
              "quote",
              "layers"
            ],
            "properties": {
              "instrument": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reason": {
                "type": "string"
              },
              "venue": {
                "type": "string"
              },
              "venue_symbol": {
                "type": "string"
              },
              "identity_basis": {
                "type": "string",
                "enum": [
                  "recorded",
                  "reconstructed"
                ]
              },
              "identity_corrected_at": {
                "type": "string",
                "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$"
              },
              "quote": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "kind": {
                "type": "string",
                "enum": [
                  "perpetual",
                  "spot"
                ]
              },
              "layers": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  },
  "required": [
    "type"
  ]
}