clutchapi
The official Python client for the CLUTCH API: live odds and player props from 30+ sportsbooks, line movement, closing lines, CLV grading, arbitrage and webhooks. Standard library only.
pip install clutchapi
from clutchapi import Clutch
clutch = Clutch("ck_live_...") # or set CLUTCH_API_KEY
nfl = clutch.odds("nfl")
props = clutch.props("nba", market="points")
steam = clutch.steam(sport="nfl")
close = clutch.closing(sport="nfl", game_key="...", market="spread")
Get a key at api.clutchbets.online/console.
Live stream
for event, data in clutch.stream(sport="nba"):
print(event, data)
Line-move webhooks
out = clutch.alerts.create(channel="webhook", url="https://your.app/hooks/clutch",
book="pinnacle", sport="nfl", min_move=1)
secret = out["secret"] # shown once, save it
Verify each delivery (Flask example, raw body):
from clutchapi import verify_webhook
@app.post("/hooks/clutch")
def hook():
if not verify_webhook(request.get_data(), request.headers.get("X-Clutch-Signature"), SECRET):
return "", 401
moves = request.get_json()["moves"]
return "", 200
Errors and limits
Failed requests raise ClutchError with .status and .body. After every call, clutch.last_limits holds your rate-limit and monthly-quota headers.
Any endpoint is reachable directly with clutch.get("/api/v1/...", {...}). Full reference: api.clutchbets.online/docs.
MIT © Cooper Tech Solutions LLC
Metadata
Release files for clutchapi 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| clutchapi-0.1.0.tar.gz | 4.6 kB | Without provenance | Details for clutchapi-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| clutchapi-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for clutchapi-0.1.0-py3-none-any.whl |
Total release size: 9.3 kB
Release files / clutchapi-0.1.0.tar.gz
| Download URL | clutchapi-0.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe4274be3188ba15cad21668dd0a243fac696f08132f2f698198ec723a806e00
|
|
BLAKE2b-256 checksum How to use checksums |
ca5201db3a6804e37691387b0c28b89468bacf43a38f08426543e0c6d440477e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.0
|
Release files / clutchapi-0.1.0-py3-none-any.whl
| Download URL | clutchapi-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
defd4d3fb6abebd02285e5a0fd318d079f09737a50ab27654a774a4eec462c5c
|
|
BLAKE2b-256 checksum How to use checksums |
0b58250ae738392c597f385b1fde25f5b60821c466f07315a88eb3bdcdb0cf46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.0
|
Security for clutchapi 0.1.0
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.