Overview
The EntityML Python SDK wraps the EntityML Market Data API and provides typed method groups for:- API keys
- Polymarket market data
- Kalshi market data
- Lookup utilities
- Billing and usage
- User and system analytics
- Health checks
Install
Use one of these install methods:Initialize client
Polymarket example
Kalshi example
API keys example
Utilities, billing, and analytics
Error handling
Notes
- Market data endpoints require an API key.
- Historical coverage is source-specific.
- Orderbook data exists for a subset of markets from
2025-09-01on Polymarket and2026-02-17for Kalshi, but coverage is not continuous. - Broad Polymarket crypto-related market coverage begins on
2026-02-04. Broad Kalshi crypto-related market coverage begins on2026-02-25. - Broad all-market capture begins on
2026-04-02for Polymarket and2026-03-31for Kalshi, with known April 2026 quality exceptions. - Use the Polymarket and Kalshi date-range endpoints to confirm per-market availability.
- See Data Quality before depending on April 2026 data.