Official Python SDK for the EntityML Market Data API.
Project description
entityml
Official Python SDK for the EntityML Market Data API.
Install
pip install entityml
Usage
from entityml import EntityMLClient
client = EntityMLClient(api_key="YOUR_API_KEY")
health = client.system.health()
markets = client.polymarket.list_markets(prefix="0x8213", limit=10)
date_range = client.polymarket.get_market_date_range(
condition_id="0x0008043c3ed513ecff7ee64380fc943dc73eb3dfb6674f281149efe4769f7515",
)
data = client.polymarket.get_market_data(
condition_id="0x0008043c3ed513ecff7ee64380fc943dc73eb3dfb6674f281149efe4769f7515",
date="2026-02-13",
)
summary = client.polymarket.get_orderbook_summary(
condition_id="0x0008043c3ed513ecff7ee64380fc943dc73eb3dfb6674f281149efe4769f7515",
asset_id="97684905927345553455494278582909124912046930226695064344571162061840768197777",
start_timestamp=1770940800000,
end_timestamp=1770944399999,
resolution=60,
)
kalshi_data = client.kalshi.get_market_data(
ticker="KXBTC-26FEB2606-B60125",
date="2026-02-26",
)
CLI
The CLI ships in the same package:
export ENTITY_API_KEY="YOUR_API_KEY"
entityml health
entityml polymarket market-data \
--condition-id 0x0008043c3ed513ecff7ee64380fc943dc73eb3dfb6674f281149efe4769f7515 \
--date 2026-02-13
The legacy poly-storage command is still installed as a compatibility alias.
Endpoint groups
client.polymarket: list markets, date ranges, daily data, timestamp ranges, and orderbook summaries.client.kalshi: list markets, date ranges, daily data, timestamp ranges, and orderbook summaries.client.lookup: Polymarket slug lookup.client.api_keys: create, list, delete, last-used, and name lookup.client.billing: checkout, portal, subscription status, usage, and raw Stripe webhook forwarding.client.analytics: user request counts, recent requests, system stats, and popular markets.client.system: health and monitoring status.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file entityml-0.3.1.tar.gz.
File metadata
- Download URL: entityml-0.3.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a7ba1e12775207724019aeed530efaad4ed664e1f9652c8da5a9458649896f9
|
|
| MD5 |
ae4e087bff2aa38e265192d5d440a27d
|
|
| BLAKE2b-256 |
3c7f83555dc9877a380cd354ab6a6bce839f69a299bd54aa057c9510ca169599
|
Provenance
The following attestation bundles were made for entityml-0.3.1.tar.gz:
Publisher:
publish.yml on anaygupta2004/entityml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
entityml-0.3.1.tar.gz -
Subject digest:
9a7ba1e12775207724019aeed530efaad4ed664e1f9652c8da5a9458649896f9 - Sigstore transparency entry: 1443251201
- Sigstore integration time:
-
Permalink:
anaygupta2004/entityml@9d65a3b1684d91466cca32475522b9eb66dbd913 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/anaygupta2004
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d65a3b1684d91466cca32475522b9eb66dbd913 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file entityml-0.3.1-py3-none-any.whl.
File metadata
- Download URL: entityml-0.3.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a3f536ff91c468e040d172a3d65b588b8a3018285d0fa9bfd051c38c7a357af
|
|
| MD5 |
8fd42e14bbadb502fa4a17c6033955fd
|
|
| BLAKE2b-256 |
c0fe662aabe6ab292afa952c1fec60bcb1927a9b903b7f5a90019692f35290bb
|
Provenance
The following attestation bundles were made for entityml-0.3.1-py3-none-any.whl:
Publisher:
publish.yml on anaygupta2004/entityml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
entityml-0.3.1-py3-none-any.whl -
Subject digest:
2a3f536ff91c468e040d172a3d65b588b8a3018285d0fa9bfd051c38c7a357af - Sigstore transparency entry: 1443251338
- Sigstore integration time:
-
Permalink:
anaygupta2004/entityml@9d65a3b1684d91466cca32475522b9eb66dbd913 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/anaygupta2004
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d65a3b1684d91466cca32475522b9eb66dbd913 -
Trigger Event:
workflow_dispatch
-
Statement type: