Get NBA prices into your spreadsheet.
Fetch one public sample of up to five NBA games. Each row pairs a team’s moneyline price with its bookmaker and the timestamp that market supplied.
The table shows two fictional rows. Fetch a preview to use current response data.
| Event ID | Away | Home | Book key | Outcome | American price | Reported market time |
|---|---|---|---|---|---|---|
| demo-01 | Comets | Owls | north | Comets | 105 | 2030-01-14T18:00:01Z |
| demo-01 | Comets | Owls | north | Owls | -118 | 2030-01-14T18:00:01Z |
Try a two-row import
Download the fictional example CSV for Excel, or paste this formula into A1 of a blank Google Sheet. Leave A1:G3 clear for the header and both rows.
=IMPORTDATA("https://jacobiusmakes.github.io/parlayapi-sheets/examples/fictional-moneyline.csv")
If A1 shows #REF! and Sheets asks about external data, an editor can choose Allow access in a desktop browser. This enables external imports for that spreadsheet. To use the file directly, download the CSV above and choose File → Import → Upload. Google’s import help.
Look in column E for the team and column F for its American price. F2 should show 105 for the Comets and F3 should show -118 for the Owls. The practice file always contains these two rows. The public NBA preview returns a separate sample.
Open the CSV
Which book changed Atlanta’s price? Try the four-row exercise in your browser or compare two Atlanta moneyline snapshots in Excel.
In Google Sheets choose File → Import → Upload. In Excel use Data → From Text/CSV. Import event IDs as text to preserve their digits. A blank market time means the response provided no market timestamp for that price.
What does Atlanta at −122 pay?
On December 4, BetRivers moved Atlanta from −122 to −110 in two saved observations. A winning $100 bet would earn $81.97 at the first price and $90.91 at the second. The returned stake is separate.
Open the moneyline worksheet in Google Sheets and choose File → Make a copy, or download it for Excel. Paste a price in column A, rows 7–18, to see decimal odds, break-even percentage and net profit. The formulas work without an API key or Apps Script.
Is table tennis in the archive?
Check the table-tennis archive before making a keyed odds request. Compare the result with one NBA source and bring the same lookup into a Google Sheet.
Run the preview in a cell
Open Extensions → Apps Script in your sheet. Paste the Sheets kit into the editor, save it, and enter this formula in an empty cell with seven free columns.
=PARLAY_NBA_PREVIEW()
The formula uses the public sample even when a key is saved. The installation guide covers the other formulas and manual refresh.