odds-api-client
Python SDK for odds-api/odds-api, an OpenAPI-first sports betting odds API for coding agents and developers.
Use this package when you want typed Python access to sports odds, betting odds, bookmaker comparison, arbitrage examples, positive EV examples, line movement, racing odds, and local mock-friendly tests.
Install
After the first PyPI release is published:
python3 -m pip install odds-api-client
For local development from the GitHub repo:
git clone https://github.com/odds-api/odds-api.git
cd odds-api
python3 -m pip install -e sdks/python
Quickstart
from odds_api import OddsApiClient
client = OddsApiClient(api_key="your_api_key")
events = client.search_events(sport="rugby-league", league="NRL")
print(events)
The SDK also reads ODDS_API_KEY and ODDS_API_BASE_URL from the environment:
from odds_api import OddsApiClient
client = OddsApiClient()
sports = client.list_sports()
Common methods
list_sports()list_bookmakers()list_leagues()search_events()get_odds_snapshot()get_odds_history()find_best_odds()compare_bookmakers()find_arbitrage()find_positive_ev()get_line_movement()search_racing_events()get_racing_odds()
Safety
Arbitrage and positive EV examples are betting research workflows, not guaranteed-profit systems. Always account for stale odds, limits, delays, suspensions, voids, jurisdiction, and execution risk.
Links
Metadata
Release files for odds-api-client 0.1.1
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 |
|---|---|---|---|---|
| odds_api_client-0.1.1.tar.gz | 5.0 kB | With provenance | Details for odds_api_client-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odds_api_client-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for odds_api_client-0.1.1-py3-none-any.whl |
Total release size: 9.6 kB
Release files / odds_api_client-0.1.1.tar.gz
| Download URL | odds_api_client-0.1.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df179402c554487bf478ecb38560c0a8b215fbaa3ee1ade1169cd2fa7d59e7de
|
|
BLAKE2b-256 checksum How to use checksums |
cddffebdf435a6ec80eaecc07afc57c1972eae614dbb09cdc4bc9a7ae7f19108
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 29, 2026.
Transparency logRelease files / odds_api_client-0.1.1-py3-none-any.whl
| Download URL | odds_api_client-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e69e801ad4791cc01fba034b7fb87438523a1f5f3ae97f3600aac6f80b57e81
|
|
BLAKE2b-256 checksum How to use checksums |
6be1ffda6881eee4ed547712afe8e1f058eabeda998b6efefae8962943557d92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 29, 2026.
Transparency logSecurity for odds-api-client 0.1.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for odds_api_client-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 29, 2026.
Transparency logA 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.