Zum Inhalt springen
GET /v1/seasonality

12-month seasonality for a pair

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "base": "EUR",
        "pair": "EURUSD",
        "quote": "USD",
        "years": 5,
        "months": [
            {
                "name": "January",
                "month": 1,
                "years": 5,
                "win_rate_pct": 60,
                "avg_return_pct": 0.19
            },
            {
                "name": "February",
                "month": 2,
                "years": 5,
                "win_rate_pct": 40,
                "avg_return_pct": -0.383
            },
            {
                "name": "March",
                "month": 3,
                "years": 5,
                "win_rate_pct": 40,
                "avg_return_pct": 0.572
            },
            {
                "name": "April",
                "month": 4,
                "years": 5,
                "win_rate_pct": 60,
                "avg_return_pct": 0.472
            },
            {
                "name": "May",
                "month": 5,
                "years": 5,
                "win_rate_pct": 40,
                "avg_return_pct": 0.03
            },
            {
                "name": "June",
                "month": 6,
                "years": 6,
                "win_rate_pct": 33.333,
                "avg_return_pct": -0.59
            },
            {
                "name": "July",
                "month": 7,
                "years": 5,
                "win_rate_pct": 60,
                "avg_return_pct": -0.658
            },
            {
                "name": "August",
                "month": 8,
                "years": 5,
                "win_rate_pct": 40,
                "avg_return_pct": 0.269
            },
            {
                "name": "September",
                "month": 9,
                "years": 5,
                "win_rate_pct": 40,
                "avg_return_pct": -1.087
            },
            {
                "name": "October",
                "month": 10,
                "years": 5,
                "win_rate_pct": 60,
                "avg_return_pct": -0.104
            },
            {
                "name": "November",
                "month": 11,
                "years": 5,
                "win_rate_pct": 60,
                "avg_return_pct": 0.736
            },
            {
                "name": "December",
                "month": 12,
                "years": 5,
                "win_rate_pct": 80,
                "avg_return_pct": 0.703
            }
        ],
        "best_month": {
            "name": "November",
            "month": 11,
            "avg_return_pct": 0.736
        },
        "worst_month": {
            "name": "September",
            "month": 9,
            "avg_return_pct": -1.087
        }
    },
    "meta": {
        "timestamp": "2026-06-09T03:03:16.977Z",
        "request_id": "08138909-1018-41f0-a4f7-10cf4fd152f1"
    },
    "status": "ok",
    "message": "Seasonality retrieved successfully",
    "success": true
}