Skip to main content

KashRock Python SDK

Official Python client for the KashRock esports API.

Props, odds, matches, live scores, and history — one key, normalized IDs.

Site: https://www.kashrock.com

Install

pip install kashrock

Four lines to a live prop

from kashrock import KashRock

kr = KashRock("YOUR_API_KEY")
print(kr.props("cs2")["props"][0])

Sandbox key: https://www.kashrock.com/pricing

Docs: https://www.kashrock.com/docs

KASHROCK_API_KEY works if you do not want the key in code.

What you can call

kr.me()
kr.props("cs2", book="prizepicks", limit=20)
kr.lines("cs2")
kr.matches("cs2", status="upcoming")
kr.live_games("cs2")
kr.gamelogs("cs2", "zywoo")
kr.history_tape(market_key="kr_mk_…")

Same paths as the HTTP API and the KashRock MCP. Stacks are not included.

MCP: https://www.kashrock.com/mcp

Sandbox keys work on every sport, up to 500 requests per UTC day: props, matches, players, delayed live scores, and 30 days of history. Hobby+ adds consensus lines and live odds. Builder+ adds the live WebSocket and quote history.

License

MIT

Metadata

Release files for kashrock 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kashrock 0.1.2
File Size Uploaded Provenance Actions
kashrock-0.1.2.tar.gz 5.0 kB Without provenance Details for kashrock-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kashrock 0.1.2
File Interpreter ABI Platform Actions
kashrock-0.1.2-py3-none-any.whl Python 3 none any Details for kashrock-0.1.2-py3-none-any.whl

Total release size: 10.8 kB

Release files / kashrock-0.1.2.tar.gz

Download URL kashrock-0.1.2.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
65983e5b76df36cdbeda9ca85a80cd05fc46d20af5952607df38a16cd54405d7
BLAKE2b-256 checksum
How to use checksums
a068d2b4f7ac1fdd41eb6d4ceba479c65db8dac43ccf4da5b3b055d226834217
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Release files / kashrock-0.1.2-py3-none-any.whl

Download URL kashrock-0.1.2-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
498327ad22d5ca8de7d328166d810bbdf3dddfc64b04b3f0bb8baf5bc1e8e75d
BLAKE2b-256 checksum
How to use checksums
daa5556a61df36a6a7fbd7b390174b396cba286db5c2a5b44aef181c44286d67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Security for kashrock 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page