/v1/list
The whole ratio board in one call
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/marketratios-api/v1/list" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/marketratios-api/v1/list", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/marketratios-api/v1/list");
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/marketratios-api/v1/list",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 5,
"ratios": [
{
"name": "Gold / Oil",
"ratio": "gold_oil",
"value": 48.0852,
"reading": "Barrels of crude oil per ounce of gold. High = oil cheap vs gold (risk-off / weak growth).",
"previous": 47.7919,
"numerator": {
"label": "Gold",
"price": 4359.4,
"symbol": "GC=F"
},
"change_pct": 0.61,
"denominator": {
"label": "WTI Crude",
"price": 90.66,
"symbol": "CL=F"
}
},
{
"name": "Oil / Natural Gas",
"ratio": "oil_gas",
"value": 28.7627,
"reading": "Energy relative value — WTI price per unit of natural gas. The classic energy spread.",
"previous": 29.0118,
"numerator": {
"label": "WTI Crude",
"price": 90.66,
"symbol": "CL=F"
},
"change_pct": -0.86,
"denominator": {
"label": "Natural Gas",
"price": 3.15,
"symbol": "NG=F"
}
},
{
"name": "Copper / Gold",
"ratio": "copper_gold",
"value": 0.001452,
"reading": "A growth and interest-rate barometer; rising copper/gold signals risk-on and higher yields.",
"previous": 0.001455,
"numerator": {
"label": "Copper",
"price": 6.33,
"symbol": "HG=F"
},
"change_pct": -0.26,
"denominator": {
"label": "Gold",
"price": 4359.4,
"symbol": "GC=F"
}
},
{
"name": "S&P 500 / Gold",
"ratio": "spx_gold",
"value": 1.6988,
"reading": "The S&P 500 priced in gold — ounces of gold to buy the index. Rising = equities outperforming gold.",
"previous": 1.6922,
"numerator": {
"label": "S&P 500",
"price": 7405.73,
"symbol": "^GSPC"
},
"change_pct": 0.39,
"denominator": {
"label": "Gold",
"price": 4359.4,
"symbol": "GC=F"
}
},
{
"name": "Stocks / Bonds (SPY/TLT)",
"ratio": "stocks_bonds",
"value": 8.7358,
"reading": "Risk-on vs risk-off — rising favours stocks over long bonds.",
"previous": 8.6709,
…