Yes. The latest trade price and the best offers to buy and sell shares are available for any active market via an API. Data is updated every sixty seconds.
If you wish to receive data for all markets on the site, the format for the API URL is:
If you wish to receive data for a specific market, the format for the API URL is:
where [id] refers to the numerical code pertaining to the market.
Market: Who will win the 2020 Democratic presidential nomination?
You can find a market’s numerical code by consulting its URL or by first calling the all markets API.
License to use data made available via the API: This data is for non-commercial use and PredictIt shall be attributed as the source.