NBA odds API

Moneyline, point spread and total prices for every NBA game as JSON, from 21 books. One credit per call.

NBA odds by game

TeamDraftKingsUnibetPinnacle
7:00 PM ET
Boston CelticsBoston Celtics+120+125+122
New York KnicksNew York Knicks-142-150-138
9:30 PM ET
Denver NuggetsDenver Nuggets-115-110-112
Los Angeles LakersLos Angeles Lakers-105-110+102

NBA request and response

curl -s "https://api.dino.markets/v2/odds?league=nba&markets=moneyline,spread,total&limit=100" \
  -H "Authorization: Bearer $DINO_API_KEY"
import json, os
from urllib.request import Request, urlopen

url = "https://api.dino.markets/v2/odds?league=nba&markets=moneyline,spread,total&limit=100"
request = Request(url, headers={"Authorization": f"Bearer {os.environ['DINO_API_KEY']}"})
with urlopen(request, timeout=30) as response:
    events = json.load(response)["events"]
print(len(events), "games")
const url = "https://api.dino.markets/v2/odds?league=nba&markets=moneyline,spread,total&limit=100";
const response = await fetch(url, {
  headers: { Authorization: `Bearer ${process.env.DINO_API_KEY}` },
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const { events } = await response.json();
console.log(events.length, "games");
package main

import (
	"encoding/json"
	"fmt"
	"log"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest("GET", "https://api.dino.markets/v2/odds?league=nba&markets=moneyline,spread,total&limit=100", nil)
	if err != nil {
		log.Fatal(err)
	}
	req.Header.Set("Authorization", "Bearer "+os.Getenv("DINO_API_KEY"))
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		log.Fatal(err)
	}
	defer res.Body.Close()
	if res.StatusCode != 200 {
		log.Fatal(res.Status)
	}
	var body struct {
		Events []json.RawMessage `json:"events"`
	}
	if err := json.NewDecoder(res.Body).Decode(&body); err != nil {
		log.Fatal(err)
	}
	fmt.Println(len(body.Events), "games")
}
// Extensions, then Apps Script. Add DINO_API_KEY under Project Settings, Script properties.
function odds() {
  const url = "https://api.dino.markets/v2/odds?league=nba&markets=moneyline,spread,total&limit=100";
  const key = PropertiesService.getScriptProperties().getProperty("DINO_API_KEY");
  const response = UrlFetchApp.fetch(url, { headers: { Authorization: "Bearer " + key } });
  const rows = [["start_time", "book", "market", "outcome", "point", "price", "american"]];
  JSON.parse(response.getContentText()).events.forEach((e) =>
    e.books.forEach((b) => b.markets.forEach((m) => m.outcomes.forEach((o) =>
      rows.push([e.start_time, b.name, m.key, o.name, o.point || "", o.price, o.american])))));
  SpreadsheetApp.getActiveSheet().getRange(1, 1, rows.length, rows[0].length).setValues(rows);
}
200 OK
{
  "events": [{ "league": "nba", "start_time": "2026-11-28T00:10:00Z",
    "books": [{ "key": "draftkings", "markets": [{ "key": "moneyline",
    "updated_at": "2026-11-27T04:24:09Z",
    "outcomes": [
      { "name": "New York Knicks",
        "price": "1.575", "american": "-174" },
      { "name": "Miami Heat",
        "price": "2.460", "american": "+146" }
    ] }] }] }],
  "next_cursor": null
}

Go to Docs

NBA odds by book

NBA odds questions

What are today's NBA odds?

11 NBA games on 27 Nov 2026: moneylines from DraftKings, Unibet and Pinnacle where they post a price, and the spread and total from DraftKings. Read 27 Nov 2026 at 04:54 UTC.

Which books show NBA odds?

The games table shows DraftKings, Unibet and Pinnacle, and leaves a cell empty where a book posts no price for a game. In the read on 27 Nov 2026 at 04:57 UTC, 21 books had an NBA price, each listed under odds by book on this page.

How do I get NBA odds as JSON?

Send the request above with your key. Get a free key for 1,000 credits a month.

How many credits does an NBA call cost?

A call that returns prices costs one credit, whatever the markets and books, with up to 100 games in it. The leagues list is free.

What fields does the NBA odds API return?

Each game has id, kind, sport, league, start_time, live, participants and books. A book has key, name and markets. A market has key, period, line, main, updated_at and outcomes, and an outcome has name, participant_id, side, point on the spread and total, price and american.

How many books have NBA point spread and total prices?

In the read on 27 Nov 2026 at 04:57 UTC, 21 books had an NBA price. 21 had the moneyline, 16 the point spread and 15 the total.

How fresh are the NBA odds?

The games table was last read on 27 Nov 2026 at 04:54 UTC. The response and the books were read on 27 Nov 2026 at 04:57 UTC. The page reads our API every 3 hours. The API itself reads most books every 30 to 60 seconds; Kambi books, Paddy Power and Smarkets every 1.5 to 2.5 minutes, and updated_at on each market is when we first saw its current prices.

What errors can an NBA call return?

400 invalid_request for a bad parameter, 401 unauthorized for a missing or wrong key, 404 not_found, 405 method_not_allowed, 429 rate_limited or quota_exceeded, 500 internal_error and 503 unavailable. Each error body has error, message and request_id, and an error costs no credit.

What are the limits on the NBA odds API?

limit takes 1 to 100 games a call and is 25 by default, and next_cursor gives the next page. event_ids takes up to 100 ids. The monthly credits are 1,000 on Free, 50,000 on Starter, 1,000,000 on Basic and 10,000,000 on Pro. A call over a key's rate limit answers 429 with Retry-After.

What is the difference between the point spread and the moneyline?

The moneyline pays on who wins. The point spread (spread) adds a line to one team's score before the bet is settled, so a favourite at -3.5 has to win by 4 or more. Each spread outcome carries the line as point. In the response on this page, DraftKings has New York Knicks at 1.575 on the moneyline and at 1.870 with -3.5 on the point spread.