/v1/history
Historical daily series
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/fng-api/v1/history" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fng-api/v1/history", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fng-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/fng-api/v1/history",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"data": [
{
"date": "2026-06-02",
"value": 23,
"timestamp": 1780358400,
"classification": "Extreme Fear"
},
{
"date": "2026-06-01",
"value": 29,
"timestamp": 1780272000,
"classification": "Fear"
},
{
"date": "2026-05-31",
"value": 28,
"timestamp": 1780185600,
"classification": "Fear"
},
{
"date": "2026-05-30",
"value": 23,
"timestamp": 1780099200,
"classification": "Extreme Fear"
},
{
"date": "2026-05-29",
"value": 23,
"timestamp": 1780012800,
"classification": "Extreme Fear"
},
{
"date": "2026-05-28",
"value": 22,
"timestamp": 1779926400,
"classification": "Extreme Fear"
},
{
"date": "2026-05-27",
"value": 25,
"timestamp": 1779840000,
"classification": "Extreme Fear"
},
{
"date": "2026-05-26",
"value": 34,
"timestamp": 1779753600,
"classification": "Fear"
},
{
"date": "2026-05-25",
"value": 30,
"timestamp": 1779667200,
"classification": "Fear"
},
{
"date": "2026-05-24",
"value": 25,
"timestamp": 1779580800,
"classification": "Extreme Fear"
},
{
"date": "2026-05-23",
"value": 28,
"timestamp": 1779494400,
"classification": "Fear"
},
{
"date": "2026-05-22",
"value": 28,
"timestamp": 1779408000,
"classification": "Fear"
},
{
"date": "2026-05-21",
"value": 29,
"timestamp": 1779321600,
"classification": "Fear"
},
{
"date": "2026-05-20",
"value": 27,
"timestamp": 1779235200,
"classification": "Fear"
},
{
"date": "2026-05-19",
"value": 25,
"timestamp": 1779148800,
"classification": "Extreme Fear"
},
{
"date": "2026-05-18",
"value": 28,
"timestamp": 1779062400,
"classification": "Fear"
},
{
"date": "2026-05-17",
…