Naar de inhoud
GET /v1/history

Daily score timeline

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/stockfeargreed-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "count": 30,
        "index": "CNN Fear & Greed (US stocks)",
        "source": "CNN Business",
        "history": [
            {
                "date": "2026-05-01T00:00:00.000Z",
                "score": 71.17,
                "rating": "greed"
            },
            {
                "date": "2026-05-04T00:00:00.000Z",
                "score": 66.89,
                "rating": "greed"
            },
            {
                "date": "2026-05-05T00:00:00.000Z",
                "score": 67.26,
                "rating": "greed"
            },
            {
                "date": "2026-05-06T00:00:00.000Z",
                "score": 68.74,
                "rating": "greed"
            },
            {
                "date": "2026-05-07T00:00:00.000Z",
                "score": 67.29,
                "rating": "greed"
            },
            {
                "date": "2026-05-08T00:00:00.000Z",
                "score": 67.29,
                "rating": "greed"
            },
            {
                "date": "2026-05-11T00:00:00.000Z",
                "score": 66.63,
                "rating": "greed"
            },
            {
                "date": "2026-05-12T00:00:00.000Z",
                "score": 65.69,
                "rating": "greed"
            },
            {
                "date": "2026-05-13T00:00:00.000Z",
                "score": 64.97,
                "rating": "greed"
            },
            {
                "date": "2026-05-14T00:00:00.000Z",
                "score": 65.91,
                "rating": "greed"
            },
            {
                "date": "2026-05-15T00:00:00.000Z",
                "score": 63.23,
                "rating": "greed"
            },
            {
                "date": "2026-05-18T00:00:00.000Z",
                "score": 61.57,
                "rating": "greed"
            },
            {
                "date": "2026-05-19T00:00:00.000Z",
                "score": 59.37,
                "rating": "greed"
            },
            {
                "date": "2026-05-20T00:00:00.000Z",
                "score": 60.26,
                "rating": "greed"
            },
            {
                "date": "2026-05-21T00:00:00.000Z",
                "score": 58.06,
                "rating": "greed"
            },
            {
                "date": "2026-05-22T00:00:00.000Z",
                "score": 58.97,
                "rating": "greed"
            },
            {
                "date": "2026-05-26T00:00:00.000Z",
                "score": 60.91,
                "rating": "greed"
            },
            {
                "date": "2026-05-27T00:00:00.000Z",
                "score": 60.6,
                "rating": "greed"
            },
            {
                "date": "2026-05-28T00:00:00.000Z",
                "score": 60.09,
                "rating": "greed"
            },
            {
                "date": "2026-05-29T00:00:00.000Z",
 
…