/v1/ticker
A pair ticker + 24 hourly prices
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/gemini-api/v1/ticker" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gemini-api/v1/ticker", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gemini-api/v1/ticker");
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/gemini-api/v1/ticker",
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": {
"ask": 61970.2,
"bid": 61970.19,
"last": 61968.04,
"source": "Gemini",
"spread": 0.01,
"symbol": "BTCUSD",
"low_24h": 60736.12,
"high_24h": 63839.77,
"open_24h": 63266.84,
"change_24h_pct": -2.0529,
"hourly_changes": [
63467.92,
63725.83,
63434.86,
63066,
62549.62,
62740.41,
62853.99,
62851.91,
63205.63,
63318.41,
63269.98,
63163.34,
62821.11,
62691.35,
62769.2,
62680.63,
62635.73,
62221.89,
61445.65,
61093.29,
61347.48,
61636.52,
61740.59,
62054.72
]
},
"meta": {
"timestamp": "2026-06-09T20:24:39.318Z",
"request_id": "bc71ed36-7e3d-4bcd-a722-9452b1041ab1"
},
"status": "ok",
"message": "Ticker retrieved successfully",
"success": true
}