Μετάβαση στο περιεχόμενο
GET /v1/detect

Candlestick patterns on a pair's latest candles

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/cryptopatterns-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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,
                
…