/v1/detect
Candlestick patterns on a pair's latest candles
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/cryptopatterns-api/v1/detect" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptopatterns-api/v1/detect", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptopatterns-api/v1/detect");
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/cryptopatterns-api/v1/detect",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"coin": "BTC",
"note": "Patterns completing on the last 10 candles, newest last. bias bullish/bearish/neutral. Candlestick signals are most reliable in the context of the prevailing trend; descriptive, not a forecast.",
"source": "Binance",
"symbol": "BTCUSDT",
"interval": "1d",
"detections": [
{
"bias": "neutral",
"candle": {
"low": 61383.56,
"high": 64764.32,
"open": 64142.75,
"time": 1780531200000,
"close": 63885.99
},
"meaning": "indecision; a balance between buyers and sellers",
"pattern": "doji"
},
{
"bias": "neutral",
"candle": {
"low": 59500,
"high": 61530.05,
"open": 61056.47,
"time": 1780704000000,
"close": 60884.62
},
"meaning": "indecision; a balance between buyers and sellers",
"pattern": "doji"
},
{
"bias": "bullish",
"candle": {
"low": 60746,
"high": 64234.68,
"open": 60884.62,
"time": 1780790400000,
"close": 63332.01
},
"meaning": "green body engulfs the prior red — buyers seize control",
"pattern": "bullish_engulfing"
},
{
"bias": "bullish",
"candle": {
"low": 60746,
"high": 64234.68,
"open": 60884.62,
"time": 1780790400000,
"close": 63332.01
},
"meaning": "three-candle bottoming reversal",
"pattern": "morning_star"
},
{
"bias": "bearish",
"candle": {
"low": 60780,
"high": 63526.01,
"open": 63086,
"time": 1780963200000,
"close": 61730
},
"meaning": "three-candle topping reversal",
"pattern": "evening_star"
},
{
"bias": "bullish",
"candle": {
"low": 61510.99,
"high": 63933.02,
"open": 61510.99,
"time": 1781136000000,
"close": 63625.99
},
"meaning": "green body engulfs the prior red — buyers seize control",
"pattern": "bullish_engulfing"
},
{
"bias": "neutral",
"candle": {
"low": 62829.81,
…