Skip to content
Eden Engine

dYdX Perpetual Trades

dydx/trades

Most recent public trades on one dYdX v4 perpetual market, newest first: id, side, size, price, order type, time and block height. Choose how many, up to 100.

activeper callv1

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

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.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "dydx/trades" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "dydx/trades" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "dydx/trades", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "dydx/trades", 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.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "ticker",
    "limit"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Number of trades to return, 1 to 100 (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."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "trades"
  ],
  "properties": {
    "trades": {
      "type": "array",
      "items": {}
    }
  },
  "description": "Wrapper holding the trades array.",
  "additionalProperties": true
}