Get Price History
Gets a price history in Polymarket.
This node is also exposed as an AI Agent tool.
This node has 1 input port and 1 output port.
Common Properties
Every node shares these.
- Name — the node's display name on the canvas.
- Color — the node's colour on the canvas.
- Delay Before (sec) — wait this long before the node runs.
- Delay After (sec) — wait this long after the node runs.
- Continue On Error — carry on instead of failing the flow. Defaults to false.
info
When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.
Inputs
| Property | Field | Description |
|---|---|---|
| Client ID | inClientID | Client ID from Connect node (optional) |
| End Timestamp | inEndTs | End time as UNIX timestamp (optional) |
| Start Timestamp | inStartTs | Start time as UNIX timestamp (optional) |
| Token ID | inTokenID | CLOB token ID (from market data clobTokenIds field) |
Outputs
| Property | Field | Description |
|---|---|---|
| Result | outResult | Array of historical price data points with timestamps |
Options
| Property | Field | Description |
|---|---|---|
| Credentials | optCredentials | Polymarket API key (optional) |
| Fidelity | optFidelity | Number of data points to return |
| Interval | optInterval | Time interval for price data points One of: 1m, 5m, 1h, 6h, 1d, 1w. |
| Timeout (seconds) | optTimeout | Maximum time in seconds to wait |
Requirements
- A Client ID from this package's Connect node, unless you set credentials directly on this node.
- Polymarket API Key — API key for Polymarket CLOB authentication (optional for read-only operations)
value— API Key (password, optional). Your Polymarket CLOB API key (optional - most read operations work without it)
Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.
Related nodes
Get Orderbook · Get Price · Get Midpoint · Get Spread
Elsewhere in the package: Connect · Disconnect · Get Markets · Get Market · Get Events · Get Event · Search · Get Positions · Get Trades · Get Leaderboard and 1 more
See also
- Polymarket — every node in this package
- Message object — how properties read values from
msg - Handling failure — Continue On Error, Catch and retries