get_market_history
Read forward sampled pool states or perpetual midpoints, including quiet/unavailable states and separate definition versions. These are sampled quotes rather than trades or cash-security OHLC. Requires exact market, symbol and UTC from/to timestamps, maximum 31 days. No history is inferred before collection began.
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": {
"market": "<market>",
"symbol": "<symbol>",
"from": "<from>",
"to": "<to>"
},
"name": "get_market_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Window end, UTC timestamp ending in Z; at most 31 days after from. | |
| from | Yes | Window start, UTC timestamp ending in Z (e.g. 2026-11-01T00:00:00Z). | |
| limit | No | Maximum samples returned (default 5000). | |
| market | Yes | Token pools or perpetual derivatives. | |
| symbol | Yes | Exact, case-sensitive symbol from get_onchain_quotes catalog=true (e.g. PAXG, xyz:SILVER). |