/v1/meta
Service metadata
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/earningssurprise-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/earningssurprise-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/earningssurprise-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/earningssurprise-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Look up a stock by its ticker (symbol=AAPL). The surprise is the actual reported EPS versus the analyst consensus for the quarter; positive percent surprise is a beat. Nasdaq provides the most recent quarters.",
"source": "Nasdaq public earnings-surprise feed (api.nasdaq.com/api/company/{symbol}/earnings-surprise, live)",
"service": "earningssurprise-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/scorecard": "Computed track record — beat rate, average surprise, streak (symbol=AAPL).",
"GET /v1/surprises": "Recent quarters — actual EPS vs consensus, surprise % and beat/miss (symbol=AAPL)."
},
"description": "Live earnings beat/miss track record for US stocks from Nasdaq — the 'does it beat the street' view. surprises = the recent quarters with actual EPS, analyst consensus, the dollar and percent surprise and whether it was a beat, miss or in line; scorecard = the computed track record (how many quarters beat, the beat rate, average surprise, latest result and the current streak). Live, no key, nothing stored. Distinct from the earnings-calendar, analyst-estimate and financials APIs.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-12T01:42:11.004Z",
"request_id": "e0b5f5b8-5455-4b27-b7f3-93061afc51a1"
},
"status": "ok",
"message": "Meta",
"success": true
}