Live
get_price_history
clob.polymarket.comReturns historical price points for a CLOB token at a requested timeframe and fidelity interval from https://polymarket.com.
Parameters3
Runs6
Updated3d ago
Operational6 runs · 100% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_price_history?
Returns historical price points for a CLOB token at a requested timeframe and fidelity interval from https://polymarket.com. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass token_id, interval, fidelity and get the result back without maintaining a scraper.
Response
{
"history": [
{
"p": 0,
"t": 0
}
],
"fidelity": 0,
"interval": "<string>",
"token_id": "<string>"
}Call it
curl --location 'https://us-prod.notte.cc/functions/90f2cce1-de2d-49a7-a29a-3c3fd3bf305b/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "90f2cce1-de2d-49a7-a29a-3c3fd3bf305b",
"variables": {
"token_id": "61368943128255287414565270336856615453000675377332178800733742873558311943412",
"interval": "1d",
"fidelity": 60
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="90f2cce1-de2d-49a7-a29a-3c3fd3bf305b") — the "get_price_history" function, which returns historical price points for a CLOB token at a requested timeframe and fidelity interval from https://polymarket.com.. It takes token_id (str), interval (str), fidelity (int). Return the result as structured JSON.