Skip to content
Eden Engine

Latest 5 Hourly Crypto Candles with Summary (Binance Spot or Hyperliquid Perps)

omnial/exchange-latest-hourly-klines

Given a trading pair and either Binance spot or Hyperliquid perpetuals, returns the 5 most recent hourly candles (start time, open, high, low, close and volume in the base asset), oldest first, with a summary of that window: candle count, highest high, lowest low, total volume, and the window's first and last candle start times.

activeper callv1

Price

Up to $0.00819 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Binance and Hyperliquid

Data from Binance and Hyperliquid.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/exchange-latest-hourly-klines" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/exchange-latest-hourly-klines" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/exchange-latest-hourly-klines", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/exchange-latest-hourly-klines", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.00819
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "oneOf": [
    {
      "properties": {
        "type": {
          "const": "spot"
        },
        "exchange": {
          "const": "binance"
        }
      }
    },
    {
      "properties": {
        "type": {
          "const": "perp"
        },
        "exchange": {
          "const": "hyperliquid"
        }
      }
    }
  ],
  "required": [
    "pair",
    "exchange",
    "type",
    "interval",
    "limit"
  ],
  "properties": {
    "pair": {
      "type": "string",
      "minLength": 1,
      "description": "The trading pair as BASE/QUOTE. For Hyperliquid perpetuals use the USDC-settled form BASE/USDC:USDC."
    },
    "type": {
      "enum": [
        "spot",
        "perp"
      ],
      "type": "string",
      "description": "The market: spot (with binance) or perp, perpetuals (with hyperliquid)."
    },
    "limit": {
      "enum": [
        5
      ],
      "type": "integer",
      "description": "Number of candles; only 5 (the five most recent) is offered."
    },
    "exchange": {
      "enum": [
        "binance",
        "hyperliquid"
      ],
      "type": "string",
      "description": "The exchange: binance (with type spot) or hyperliquid (with type perp)."
    },
    "interval": {
      "enum": [
        "1h"
      ],
      "type": "string",
      "description": "Candle size; only 1h (hourly candles) is offered."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pair": {
            "type": "string",
            "description": "The pair as BASE/QUOTE (a settlement suffix is not echoed)."
          },
          "count": {
            "type": "number",
            "description": "Number of candles returned."
          },
          "candles": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "low": {
                  "type": "number"
                },
                "high": {
                  "type": "number"
                },
                "open": {
                  "type": "number"
                },
                "close": {
                  "type": "number"
                },
                "volume": {
                  "type": "number",
                  "description": "Volume traded, in the base asset."
                },
                "timestamp": {
                  "type": "number",
                  "description": "Start of the candle, in Unix seconds."
                }
              }
            },
            "description": "The candles, oldest first."
          },
          "exchange": {
            "type": "string",
            "description": "The exchange."
          },
          "interval": {
            "type": "string",
            "description": "The candle size."
          },
          "period_end": {
            "type": "string",
            "description": "Start time of the last candle (ISO 8601)."
          },
          "period_low": {
            "type": "number",
            "description": "Lowest low across the candles."
          },
          "period_high": {
            "type": "number",
            "description": "Highest high across the candles."
          },
          "period_start": {
            "type": "string",
            "description": "Start time of the first candle (ISO 8601)."
          },
          "period_volume": {
            "type": "number",
            "description": "Total base-asset volume across the candles."
          }
        }
      },
      "description": "One entry for the requested market."
    }
  },
  "description": "The candles and their window summary."
}