Aller au contenu
GET /v1/screener

Commodity complex ranked by momentum with leaders/laggards

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/commoditymomentum-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "The commodity complex ranked by blended trailing momentum (1w-6m returns), strongest first. rank is the relative-strength rank. Use leaders/laggards for the headline rotation. group filters to energy, metals, grains, softs or livestock.",
        "group": "metals",
        "source": "Yahoo Finance",
        "leaders": [
            {
                "name": "Copper",
                "regime": "uptrend",
                "momentum_score": 7.93
            },
            {
                "name": "Gold",
                "regime": "downtrend",
                "momentum_score": -6.94
            },
            {
                "name": "Palladium",
                "regime": "downtrend",
                "momentum_score": -8.33
            }
        ],
        "scanned": 5,
        "laggards": [
            {
                "name": "Platinum",
                "regime": "downtrend",
                "momentum_score": -8.94
            },
            {
                "name": "Silver",
                "regime": "downtrend",
                "momentum_score": -8.37
            },
            {
                "name": "Palladium",
                "regime": "downtrend",
                "momentum_score": -8.33
            }
        ],
        "commodities": [
            {
                "key": "copper",
                "name": "Copper",
                "rank": 1,
                "group": "metals",
                "price": 6.3965,
                "regime": "uptrend",
                "symbol": "HG=F",
                "currency": "USD",
                "above_ma50": true,
                "above_ma200": true,
                "returns_pct": {
                    "1m": -3.6,
                    "1w": 2.12,
                    "3m": 11.93,
                    "6m": 21.25,
                    "ytd_proxy": 32.67
                },
                "momentum_score": 7.93
            },
            {
                "key": "gold",
                "name": "Gold",
                "rank": 2,
                "group": "metals",
                "price": 4231.7998,
                "regime": "downtrend",
                "symbol": "GC=F",
                "currency": "USD",
                "above_ma50": false,
                "above_ma200": false,
                "returns_pct": {
                    "1m": -9.92,
                    "1w": -2.43,
                    "3m": -16.24,
                    "6m": 0.84,
                    "ytd_proxy": 25.17
                },
                "momentum_score": -6.94
            },
            {
                "key": "palladium",
                "name": "Palladium",
                "rank": 3,
                "group": "metals",
                "price": 1317,
                "regime": "downtrend",
                "symbol": "PA=F",
                "currency": "USD",
                "above_ma50": false,
                "above_ma200": false,
                "returns_pct": {
                    "1m": -13.98,
     
…