← All APIs

The Odds API

byAPI3FreeAirnode v0.1.2

The Odds API aggregates live betting odds from bookmakers across the US, UK, Europe and Australia, along with the schedules and scores of the games they price. This Airnode wraps the read endpoints worth attesting, so a consumer receives the odds with a signature saying this Airnode obtained them from The Odds API at this time, rather than trusting a screenshot of a bookmaker's page. Odds move constantly and are gone once a game settles, so a signed copy is the only thing left afterwards that says what was on offer.

Every response carries an EIP-191 signature from the Airnode that served it, so the data can be attributed back to its source rather than trusted on reputation.

Ask the Hub what The Odds API can tell you →

Interface

Served at https://airnode-theoddsapi.fly.dev/. Each operation is reached the way the provider documents it, under https://airnode-theoddsapi.fly.dev/api, and answers with the provider's own response and the attestation in headers, so a client built against the provider works unchanged. The same operations are also served as one JSON envelope on POST /, which the HTTP interface covers. Every request below can be sent from this page, and what comes back is verified right here in the browser.

GET /

Returns the machine-readable documentation this page is rendered from. Free, and everything an agent needs.

ANY /api/…

The provider's own requests, one per operation, forwarded as they are. The provider's response comes back untouched, with the attestation in the X-Airnode headers.

Verify the response

Paste a response to verify it originates from the current Airnode: the JSON a POST / answers with, or a passthrough response with its headers, as curl --include prints it.