Ir al contenido
GET /v1/history

Open-interest time-series

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/openinterest-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/openinterest-api/v1/history" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/openinterest-api/v1/history", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/openinterest-api/v1/history");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/openinterest-api/v1/history",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "count": 50,
        "period": "1d",
        "symbol": "BTCUSDT",
        "history": [
            {
                "timestamp": "2026-04-21T00:00:00.000Z",
                "open_interest": 51149.732
            },
            {
                "timestamp": "2026-04-22T00:00:00.000Z",
                "open_interest": 50152.433
            },
            {
                "timestamp": "2026-04-23T00:00:00.000Z",
                "open_interest": 57150.536
            },
            {
                "timestamp": "2026-04-24T00:00:00.000Z",
                "open_interest": 51873.462
            },
            {
                "timestamp": "2026-04-25T00:00:00.000Z",
                "open_interest": 49158.805
            },
            {
                "timestamp": "2026-04-26T00:00:00.000Z",
                "open_interest": 49411.464
            },
            {
                "timestamp": "2026-04-27T00:00:00.000Z",
                "open_interest": 48218.45
            },
            {
                "timestamp": "2026-04-28T00:00:00.000Z",
                "open_interest": 51963.968
            },
            {
                "timestamp": "2026-04-29T00:00:00.000Z",
                "open_interest": 50997.33
            },
            {
                "timestamp": "2026-04-30T00:00:00.000Z",
                "open_interest": 49815.733
            },
            {
                "timestamp": "2026-05-01T00:00:00.000Z",
                "open_interest": 50358.905
            },
            {
                "timestamp": "2026-05-02T00:00:00.000Z",
                "open_interest": 53747.089
            },
            {
                "timestamp": "2026-05-03T00:00:00.000Z",
                "open_interest": 50753.387
            },
            {
                "timestamp": "2026-05-04T00:00:00.000Z",
                "open_interest": 52247.365
            },
            {
                "timestamp": "2026-05-05T00:00:00.000Z",
                "open_interest": 54577.966
            },
            {
                "timestamp": "2026-05-06T00:00:00.000Z",
                "open_interest": 57349.475
            },
            {
                "timestamp": "2026-05-07T00:00:00.000Z",
                "open_interest": 51986.312
            },
            {
                "timestamp": "2026-05-08T00:00:00.000Z",
                "open_interest": 51997.212
            },
            {
                "timestamp": "2026-05-09T00:00:00.000Z",
                "open_interest": 52208.332
            },
            {
                "timestamp": "2026-05-10T00:00:00.000Z",
                "open_interest": 51495.384
            },
            {
                "timestamp": "2026-05-11T00:00:00.000Z",
                "open_interest": 51913.228
            },
            {
                "timestamp": "2026-05-12T00:00:00.000Z",
                "open_interest": 51956.65
            },
            {
                "timestamp": "2026-05-13
…