/v1/momentum
One coin's multi-timeframe momentum & alignment
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/cryptomomentum-api/v1/momentum" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptomomentum-api/v1/momentum", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptomomentum-api/v1/momentum");
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/cryptomomentum-api/v1/momentum",
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": {
"bias": "mixed / choppy",
"coin": "BTC",
"note": "changes are percent price moves over 1h/4h/24h/7d/30d. alignment_score runs -1 (every timeframe down) to +1 (every timeframe up); high magnitude = a strong coherent trend, near 0 = choppy.",
"price": 63717.89,
"source": "Binance",
"symbol": "BTCUSDT",
"changes": {
"d1": 0.9,
"d7": 1.89,
"h1": -0.05,
"h4": 1.17,
"d30": -21.15
},
"horizons": [
"1h",
"4h",
"24h",
"7d",
"30d"
],
"timeframes_up": 3,
"alignment_score": 0.2,
"timeframes_down": 2
},
"meta": {
"timestamp": "2026-06-12T10:35:44.310Z",
"request_id": "2c16a963-1efb-47d2-95d6-5fe556a71f36"
},
"status": "ok",
"message": "Momentum retrieved successfully",
"success": true
}