App Logo
polymarket.com

Get Polymarket price history

Automatically get Polymarket price history on polymarket.com. Price series of one outcome of a Polymarket event, as the event page's chart shows it, over 1 day, 1 week, 1 month or the whole market life. Takes the event URL or slug, the outcome name for multi-outcome events, and Yes or No. Returns the outcome, side, interval and points (time, price from 0 to 1), oldest first, plus the first and last price. Throws if the event or outcome is not found.

Input

url required

Event URL (https://polymarket.com/event/<slug>) or bare slug.

side optional
Default: "Yes"
outcome optional

Outcome to read in a multi-outcome event, matched case-insensitively against its name (e.g. "Le Pen"). Omit for single-question events.

interval optional
Default: "1w"

Output

side required
event required
points required
outcome required
interval required
last_price optional
first_price optional

FAQ

Price series of one outcome of a Polymarket event, as the event page's chart shows it, over 1 day, 1 week, 1 month or the whole market life. Takes the event URL or slug, the outcome name for multi-outcome events, and Yes or No. Returns the outcome, side, interval and points (time, price from 0 to 1), oldest first, plus the first and last price. Throws if the event or outcome is not found.
Ask an AI agent connected to Reduck to run reduck/polymarket.com/get_price_history, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/polymarket.com/get_price_history
You do not need one. "Get Polymarket price history" drives the real polymarket.com pages in a browser, so it works whether or not polymarket.com offers an API for this.
Required: url. Optional: side, outcome, interval.
It returns side, event, points, outcome, interval, last_price, first_price.
No. It only uses pages of polymarket.com that are reachable without signing in.
It only reads. It looks things up on polymarket.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/polymarket.com/get_price_history, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/polymarket.com/get_price_history
It is part of Reduck's official curated catalogue.

Start building not clicking