get_quote
Fetch bid and ask prices for YES/NO in dollars on Kalshi or Polymarket, plus each market's fee schedule, for constraint checks and fee calculations.
Instructions
Get the best bid and ask on YES and NO, in dollars, plus the market's fee schedule.
Use it to collect prices for check_constraint, or to read the fee terms
(Kalshi multiplier and maker fees, Polymarket taker rate) that trading_fee
takes. check_constraint_live fetches quotes itself, so this is not needed
before calling it. A missing ask is derived from the opposite side's bid.
Returns {venue, market_id, title, yes_bid, yes_ask, no_bid, no_ask,
fee_schedule}. Public data, no API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | Yes | Venue: 'kalshi' or 'polymarket'. | |
| market_id | Yes | Kalshi market ticker (e.g. KXFEDDECISION-28JAN-H0) or Polymarket market id (e.g. 2589812), as returned by search_markets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||