Zum Inhalt springen
GET /v1/meta

Service metadata

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "commodity is a key/name/alias (gold, crude oil, KC=F; see /v1/commodities). screener group= filters by sector. momentum_score blends 1w-6m trailing returns. Read fresh per call, nothing cached.",
        "groups": [
            "energy",
            "metals",
            "grains",
            "softs",
            "livestock"
        ],
        "source": "Yahoo Finance daily commodity futures, 1y range, live",
        "service": "commoditymomentum-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/momentum": "One commodity's multi-horizon returns, MA position and trend regime (commodity=gold).",
            "GET /v1/screener": "The commodity complex ranked by momentum, with leaders/laggards (group=energy optional).",
            "GET /v1/commodities": "The supported commodities and groups."
        },
        "description": "Commodities momentum & relative strength — which part of the commodity complex is leading and which is lagging, ranked by trailing momentum, live from Yahoo Finance futures (no key, nothing stored). screener returns the whole complex ranked by a blended momentum score with a relative-strength rank and trend regime. momentum drills into one commodity (multi-horizon returns + 50/200-day position). commodities lists what is covered. The cross-commodity momentum / relative-strength factor cut — distinct from the commodity-price feed, the commodity-spreads API and the precious-metals spot API. It answers what is leading the complex.",
        "upstream_status": "ok",
        "commodities_covered": 22,
        "gold_momentum_score": -6.94
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:26.212Z",
        "request_id": "5c873f5f-523c-4bd3-a4db-99395d4fec34"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}