/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.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/streak-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/streak-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/streak-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/streak-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": {
"note": "metric is current_streak (default, most extended now), reversal or longest. window is 120-2000 trading days (default 504, ~2 years, for robust base rates). class filters to index/sector/commodity/bond/stock/crypto (default all). An up day is a close at or above the prior close. Read fresh per call, nothing cached.",
"source": "Yahoo Finance daily closes, live",
"classes": [
"index",
"sector",
"commodity",
"bond",
"stock",
"crypto"
],
"metrics": [
"current_streak",
"reversal",
"longest"
],
"service": "streak-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/asset": "Full streak profile with reversal tables and today's odds (symbol=SPY, window=504).",
"GET /v1/screener": "Rank the universe by current streak length, reversal odds or longest streak (metric=current_streak, window=504, class=all).",
"GET /v1/universe": "The universe and its classes."
},
"description": "Streak analysis & reversal odds — the consecutive up- and down-day runs swing-traders fade, with the historical probability a run reverses, live from Yahoo Finance daily closes (no key, nothing stored). For each instrument it returns the current streak (direction and length), the longest up/down streaks, the average run length, the run-length distribution, and the reversal table (after k consecutive up/down days, how often the next day reversed). If a name is on a streak, it also returns the odds tomorrow reverses it. asset returns one instrument's full streak profile; screener ranks the universe by how extended each is right now. The consecutive-run / reversal-odds cut — distinct from the Hurst persistence API, the multi-timeframe momentum API, the candlestick-pattern API and the price feeds.",
"universe_size": 20,
"upstream_status": "ok",
"most_extended_symbol": "XLU",
"streak_lengths_tracked": "5+"
},
"meta": {
"timestamp": "2026-06-12T10:34:43.282Z",
"request_id": "dccfcc7e-39cb-4eec-95cd-078adab553a0"
},
"status": "ok",
"message": "Meta",
"success": true
}