dYdX Perpetual Candles
dydx/candles
OHLC candles for one dYdX v4 perpetual market, newest first: open, high, low, close, base and USD volume, trade count, starting open interest and order-book mid prices per candle. Pick the resolution and a candle count up to 50.
Price
$0.0026 per call
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 $0.50.
Data source
dYdX v4 perpetual market data from the public dYdX indexer (https://indexer.dydx.trade). Served by Eden Engine; not an official dYdX product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "dydx/candles" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "dydx/candles" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "dydx/candles", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "dydx/candles", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot 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.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 21, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"ticker",
"resolution",
"limit"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Number of candles to return, 1 to 50 (newest first)."
},
"ticker": {
"type": "string",
"pattern": "^[A-Z0-9]{1,20}-USD$",
"description": "dYdX perpetual market ticker such as BTC-USD or ETH-USD (uppercase symbol, a dash, then USD). The pattern only checks the shape: a well-formed ticker that dYdX does not list returns a validation error, and markets not quoted in USD cannot be asked for."
},
"resolution": {
"enum": [
"1MIN",
"5MINS",
"15MINS",
"30MINS",
"1HOUR",
"4HOURS",
"1DAY"
],
"type": "string",
"description": "Candle size."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"candles"
],
"properties": {
"candles": {
"type": "array",
"items": {}
}
},
"description": "Wrapper holding the candles array.",
"additionalProperties": true
}