Ir al contenido
GET /v1/meta

Service metadata

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/longshortratio-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/longshortratio-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/longshortratio-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/longshortratio-api/v1/meta");
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/longshortratio-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

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

{
    "data": {
        "source": "Bybit v5 account-ratio (live)",
        "periods": [
            "5m",
            "15m",
            "30m",
            "1h",
            "4h",
            "1d"
        ],
        "service": "longshortratio-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/ratio": "Latest long/short ratio (symbol=BTCUSDT or base=BTC, period=5m|15m|30m|1h|4h|1d).",
            "GET /v1/history": "Long/short ratio time-series (symbol, period, limit up to 500).",
            "GET /v1/symbols": "List tradable perpetual symbols (q= filter, limit)."
        },
        "description": "Live crypto long/short trader-positioning sentiment from Bybit v5 (USDT perpetuals): share of accounts long vs short (buy/sell ratio) and the derived long/short ratio, latest or as a time-series across 5m–1d buckets. Look up by symbol or base coin, pull history, or list symbols. Live, no key. Distinct from funding-rate and price APIs.",
        "symbols_live": 582
    },
    "meta": {
        "timestamp": "2026-06-09T03:03:42.764Z",
        "request_id": "978085b5-64db-4956-a867-4a67f5be2cc0"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}