condition_id that you need to query the API.
How to find a condition ID
First, grab the market slug from the Polymarket URL — it’s the last part of the path:condition_id parameter.
poly-storage-public-helpers
Full source code and additional helper scripts for working with market data.