Skip to main content

Overview

The EntityML CLI ships with the same Python package as the SDK. Install entityml once and you get both:
  • from entityml import EntityMLClient
  • the entityml terminal command
The CLI is no longer documented as a separate entityml-cli package. The previous poly-storage command remains a compatibility alias, but new examples use entityml.

Install

Use one of these install methods:

Authentication

Use either --api-key or the ENTITY_API_KEY environment variable:

Coverage notes

  • Orderbook data exists for a subset of markets from 2025-09-01 on Polymarket and 2026-02-17 for Kalshi, but coverage is not continuous.
  • Broad Polymarket crypto-related market coverage begins on 2026-02-04. Broad Kalshi crypto-related market coverage begins on 2026-02-25.
  • Broad all-market capture begins on 2026-04-02 for Polymarket and 2026-03-31 for 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.

Commands

Health check

Polymarket inventory

Polymarket raw market data

Polymarket orderbook summary

Kalshi inventory

Kalshi raw market data

Kalshi orderbook summary

API key commands

Billing and analytics

All commands return JSON to stdout.