# How do I get Novig line history and closing prices for backtesting?

> Independent. Not affiliated with, endorsed by or sponsored by Novig.

Canonical: https://novigapi.com/answers/novig-line-history-backtesting
Updated: 2026-11-15

For daily closes, Novig's free CSVs go back to 3 Aug 2026. For intraday moves and closing fair prices, novigapi.com records every change of the best bid: on 15 Nov 2026 it held about 65 million ticks and 82,576 markets with an opening and closing fair price, through /line-history and /clv. (Source: [data.novig.com manifest (index.json)](https://data.novig.com/reporting/trade-data/index.json))

A backtest needs three things per market: the price you could have traded, the close, and the result. Novig's daily file gives the close as the day's last trade, which on a thin prop can be hours before the start. novigapi.com keeps the two-sided book through the day, so the close is the last fair price before the event began.

Results come from Novig's files and box scores: 1,292,423 result rows on 15 Nov 2026, each saying how it was graded.

## How the options compare

Historical Novig data, checked 15 Nov 2026

| Source | History | Depth per market | Paid plans |
| --- | --- | --- | --- |
| novigapi.com | Daily from 4 Aug 2026 (Novig's CSVs with names joined); intraday ticks since 12 Nov 2026 | Full resting book, trades, OHLC, fair price, line moves | Developer $49, Production $149, Scale $499 a month; $9 for 1,000 credits that never expire |
| Novig daily CSVs | Trades from 3 Aug 2026, markets from 4 Aug 2026 | Daily OHLC, volume and open interest; no intraday book | Free |
| The Odds API | Paid plans: featured markets from Jun 2020 at 5-minute snapshots, props from May 2023 | One price per outcome per book (name, price, point); lay odds and bet limits on some exchanges | $30 (20K credits) to $249 (15M credits) a month |
| ParlayAPI | 48 hours (Free) to 87,600 hours (Scale) of lookback | Exchange-style bid and ask fields | $5 (20K credits) to $200 (50M credits) a month |
| TheRundown | 7 days (Starter) to unlimited (Max) | Game lines and props per book | Starter $49 (60 s delay, 7-day history) to Max $2,499 (unlimited history) a month |


## Where novigapi.com falls short

> Our intraday history is young: it starts on 12 Nov 2026, so a season-long intraday backtest is not possible yet. The Odds API keeps 5-minute snapshots from June 2020 across many books, though its Novig rows are one price per outcome, not the book.

## Try it

```python
import os, requests

def nv(path, **params):
    r = requests.get("https://novigapi.com/api/v1/" + path, params=params, timeout=30,
                     headers={"Authorization": "Bearer " + os.environ["NOVIGAPI_KEY"]})
    r.raise_for_status()
    return r.json()

rows = nv("clv", league="NFL", date="2026-11-15", settled="true")
for r in rows["data"][:5]:
    print(r["description"], r["outcome_name"], r["open_fair"], r["close_fair"], r["clv_pp"], r.get("won"))
```

Read the [endpoint reference](https://novigapi.com/docs/endpoints), compare [plans and credits](https://novigapi.com/pricing), or send a request from the [playground](https://novigapi.com/playground).

## Questions

### How far back does Novig history go?

Novig's public trades files start on 3 Aug 2026 and market files on 4 Aug 2026 (checked 15 Nov 2026). Intraday book history on novigapi.com starts on 12 Nov 2026.

### Can Free keys read history?

Free keys read the last 7 days of history endpoints; paid plans read everything we hold.

## Sources

- [Novig docs: Exchange Data](https://docs.novig.com/public-data/overview.md)
- [The Odds API: plans](https://the-odds-api.com/#get-access)
- [ParlayAPI: pricing](https://parlay-api.com/pricing)
- [TheRundown: API pricing](https://therundown.io/pricing/api)
- [novigapi.com endpoint reference](https://novigapi.com/docs/endpoints)

---

Get a free API key: https://novigapi.com/sign-up . Docs: https://novigapi.com/docs . MCP: https://novigapi.com/api/mcp . Operated by Stunning Couches LLC. Independent. Not affiliated with, endorsed by or sponsored by Novig.
