Skip to content
GET /v1/meta

Service metadata

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/preciousratios-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "ratios and meta take no parameters. ratio and history take pair (gold_silver, gold_platinum, platinum_palladium, gold_palladium, silver_platinum) and window (120-2520 trading days, default 1260 ~5 years). The percentile is the mean-reversion context: extremes flag the rotation trade. A 30-minute protective cache fronts the shared Yahoo upstream.",
        "pairs": [
            "gold_silver",
            "gold_platinum",
            "platinum_palladium",
            "gold_palladium",
            "silver_platinum"
        ],
        "source": "Yahoo Finance precious-metal futures (GC=F, SI=F, PL=F, PA=F), live",
        "service": "preciousratios-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/ratio": "One ratio with component prices, percentile and signal (pair=gold_silver, window=1260).",
            "GET /v1/ratios": "The whole precious-metal ratio complex with percentiles and rotation signals (window=1260).",
            "GET /v1/history": "Daily time series of one ratio (pair=gold_silver, window=1260)."
        },
        "description": "Precious-metal ratios & mean-reversion signal — the ratios between gold, silver, platinum and palladium, where they sit in their own multi-year history, and which metal is cheap relative to which, live from Yahoo Finance futures (no key, nothing stored). ratios returns the whole complex (gold/silver, gold/platinum, platinum/palladium, gold/palladium, silver/platinum) with each one's current value, percentile, range and a rotation read; ratio returns one pair with its component prices; history returns the ratio time series. The precious-metal-ratio / mean-reversion cut — distinct from the crack/crush inter-commodity spread API (current gold/silver ratio only, no history or percentile), the intermarket-ratio board and the metals spot feed.",
        "window_default": 1260,
        "upstream_status": "ok",
        "gold_silver_ratio": 63.076
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:33.461Z",
        "request_id": "1e455690-7bc9-44e5-b202-a31e1adc4100"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}