top | item 46575615

Show HN: Open-source library to unify Polymarket and Kalshi APIs

2 points| SamTinnerholm | 1 month ago |github.com

I noticed prediction markets are becoming fragmented (Polymarket on-chain, Kalshi regulated/off-chain), making it painful to write cross-exchange bots. Crypto has ccxt to standardize exchange APIs, but nothing existed for prediction markets.

I built pmxt to solve this. It normalizes the data across platforms so you can treat them as a single liquidity source.

It’s open source and I'm looking for feedback on the API structure before I start adding execution/trading endpoints.

2 comments

order

driver4567|1 month ago

Hi, nice project, just wondering is it battle tested, also in the repo, you say it can fetch data in seconds, I figure this is just a phrase, but seconds would be pretty slow, have you put in effort to make this fast?

SamTinnerholm|1 month ago

We just released websockets today.

Test coverage is high. I'd recommend checking it out to form your own opinions.