# pmxt-dev/pmxt

CCXT for prediction markets. PMXT is a unified API for trading on Polymarket, Kalshi, and more.

Repository: https://github.com/pmxt-dev/pmxt
Canonical: https://ross.abutalabs.com/products/pmxt
Homepage: https://pmxt.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: algotrading, arbitrage, ccxt, kalshi, market-data, polymarket, prediction-markets, unified-api
Last push: 2026-07-18T01:45:53+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 93, release rhythm 81, longevity 16
- inputs: {"age_days": 237, "days_push": 47, "days_rel": 47, "gap_med": 0.0, "n_releases_24m": 295}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2101, forks 261 (observed 2026-08-28T04:06:13.633515+00:00)

## What it is
PMXT is a unified API and SDK (Python and TypeScript) for prediction markets, modeled after CCXT, covering venues like Polymarket, Kalshi, Limitless, Smarkets, and Probable. It provides market data, OHLCV history, cross-venue market/event matching, and trading in both hosted and self-hosted modes.

## Use cases
- trade polymarket and kalshi from one codebase
- find price discrepancies across prediction markets for arbitrage
- fetch historical ohlcv candlestick data for prediction markets
- backtest trading strategies on prediction market data
- match the same event across different prediction market venues
- build a prediction market trading bot
- compare odds across prediction market platforms

## When to choose
- you need a single unified API across multiple prediction market venues instead of per-venue integrations
- you want cross-venue arbitrage or market matching out of the box
- you want CCXT-style SDK ergonomics for prediction markets in Python or TypeScript
- you need historical OHLCV data and hosted catalog search with one API key

## When to avoid
- you only trade a single venue and prefer direct venue-native APIs with full control
- you need a fully free service without any hosted dependency - hosted features require an API key and paid plans for volume
- you need exchanges outside the supported prediction-market venues
- your use case is crypto spot/derivatives trading rather than prediction markets - use CCXT instead

## Facets
- artifact type: library
- maturity: active
- function: http-client, sdk, trading, search-engine, developer-tools
- domain: fintech, apis, developer-tools, analytics
- platform: python, cross-platform, cli, self-hosted
- tags: prediction-markets, polymarket, kalshi, ccxt, unified-api, arbitrage, market-data, ohlcv, trading-bots, backtesting, cross-venue-matching, hosted-api, typescript, python-sdk, cryptocurrency, nodejs

## Member repositories
- pmxt-dev/pmxt (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:13.633515+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:54:18.853730+00:00, confidence not recorded.
  - readme: https://github.com/pmxt-dev/pmxt (fetched 2026-08-28T04:06:13.633515+00:00, sha e4b885ab66a3)
  - homepage: https://pmxt.dev (fetched 2026-08-29T10:34:49.737732+00:00, sha fb57747b7756)
  - site_page: https://www.pmxt.dev/docs (fetched 2026-08-29T10:34:49.740396+00:00, sha 0120db09dd26)
  - site_page: https://www.pmxt.dev/docs/api-reference/fetch-ohlcv (fetched 2026-08-29T10:34:49.748284+00:00, sha 2d4c7b8302e6)
  - site_page: https://www.pmxt.dev/docs/router/event-matching (fetched 2026-08-29T10:34:49.751271+00:00, sha 4da83f64a13a)
  - site_page: https://www.pmxt.dev/changelog (fetched 2026-08-29T10:34:49.742615+00:00, sha fff4572bca35)
  - site_page: https://www.pmxt.dev/pricing (fetched 2026-08-29T10:34:49.746728+00:00, sha d738da537ffc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
