Get market closing line
get_market_closeThe closing line of one sports or esports market: the price Polymarket's own price-history series recorded for each outcome in the last minute bucket that ended at or before kickoff, read once after the market settles and stored unchanged. Not a midpoint and not a last trade. outcomes[0] is the YES leg as stored; outcomes[1] is the NO leg, 1 minus the YES price (derived_from_yes true). status is measured with both legs; pending when no close is stored yet (the game has not started, the market has not settled, or the capture has not reached it; it measures markets up to 30 days after kickoff); or unavailable with unavailable_reason when none will be served. A missing close is never 0. anchor_stale is true when kickoff has moved more than lookback_seconds since capture. The same close measures the clv object on each large trade.
Args:
condition_id (string, required): Raw provider condition_id or the mkt_-prefixed market id
Returns: condition_id, status, unavailable_reason, game_start_time, close_anchor_at, close_anchor_source, anchor_stale, lookback_seconds, observed_at, observation_window_seconds, price_source, basis_version, captured_at, outcomes (outcome_index, outcome, token_id, close_price, derived_from_yes) and meta.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"condition_id": "<condition_id>"
},
"name": "get_market_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition_id | Yes | Raw provider condition_id or the mkt_-prefixed market id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||