market.get_data

Retrieve detailed market data including orderbook depth, trade history, and metadata.


Overview

The market.get_data tool fetches comprehensive market information for analysis and decision-making. Use this for detailed market research before opening positions.


Parameters

Parameter
Type
Required
Description

market_id

string

Yes

Platform-specific market identifier

platform

string

Yes

"polymarket" or "kalshi"

include_orderbook

boolean

No

Include orderbook data (default: true)

include_trades

boolean

No

Include recent trades (default: true)

orderbook_depth

number

No

Number of price levels (default: 10)

trades_limit

number

No

Number of recent trades (default: 50)


Request Example

result = agent.run("""
  Get detailed data for presidential election market
  on Polymarket including orderbook and recent trades
""")

Response Format


Last updated