Get historical OHLCV candlestick data for a single outcome token.
arc.blockrun.ai/api/v1/pm/polymarket/candlesticks/token/%7Btoken_id%7D
Get historical OHLCV candlestick data for a single outcome token.
https://arc.blockrun.ai/api/v1/pm/polymarket/candlesticks/token/{token_id}Uptime100% of 1 check in 30 days
30 days agoToday
Call it from an agent
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(process.env.AGENT_KEY));
const res = await pay("https://arc.blockrun.ai/api/v1/pm/polymarket/candlesticks/token/{token_id}");
console.log(await res.json());