Zum Inhalt springen
GET /v1/history

Consensus timeline over time

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/analyst-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 13,
        "market": "US",
        "source": "Nasdaq",
        "symbol": "AAPL",
        "history": [
            {
                "buy": 14,
                "date": "06/01/2025",
                "hold": 9,
                "sell": 4,
                "consensus": "Buy",
                "price_target": 200.85
            },
            {
                "buy": 13,
                "date": "07/01/2025",
                "hold": 10,
                "sell": 2,
                "consensus": "Buy",
                "price_target": 207.82
            },
            {
                "buy": 13,
                "date": "08/01/2025",
                "hold": 12,
                "sell": 1,
                "consensus": "Buy",
                "price_target": 202.38
            },
            {
                "buy": 14,
                "date": "09/01/2025",
                "hold": 12,
                "sell": 1,
                "consensus": "Buy",
                "price_target": 232.14
            },
            {
                "buy": 17,
                "date": "10/01/2025",
                "hold": 13,
                "sell": 3,
                "consensus": "Buy",
                "price_target": 255.45
            },
            {
                "buy": 18,
                "date": "11/01/2025",
                "hold": 12,
                "sell": 2,
                "consensus": "Buy",
                "price_target": 270.37
            },
            {
                "buy": 18,
                "date": "12/01/2025",
                "hold": 11,
                "sell": 2,
                "consensus": "Buy",
                "price_target": 283.1
            },
            {
                "buy": 16,
                "date": "01/01/2026",
                "hold": 11,
                "sell": 2,
                "consensus": "Buy",
                "price_target": 271.86
            },
            {
                "buy": 15,
                "date": "02/01/2026",
                "hold": 9,
                "sell": 1,
                "consensus": "Buy",
                "price_target": 259.48
            },
            {
                "buy": 13,
                "date": "03/01/2026",
                "hold": 9,
                "sell": 1,
                "consensus": "Buy",
                "price_target": 264.18
            },
            {
                "buy": 13,
                "date": "04/01/2026",
                "hold": 8,
                "sell": 1,
                "consensus": "Buy",
                "price_target": 255.63
            },
            {
                "buy": 15,
                "date": "05/01/2026",
                "hold": 9,
                "sell": 1,
                "consensus": "Buy",
                "price_target": 280.14
            },
            {
                "buy": 16,
                "date": "06/01/2026",
                "hold": 10,
                "sell": 1,
                "consensus": "Buy",
            
…