# Novig API & Scraper: Exchange Odds, Props, Fair Prices (`pp-api/novig-scraper`) Actor

Novig exchange markets as a dataset, one row per outcome: game lines and player props with bid, ask, last trade, taker odds, no-vig fair price, volume and open interest. Free delayed data with no key. Independent; not affiliated with Novig.

- **URL**: https://apify.com/pp-api/novig-scraper.md
- **Developed by:** [PP API Inc.](https://apify.com/pp-api) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Novig Exchange Odds API & Scraper

An Apify actor that saves Novig exchange markets to an Apify dataset (JSON, CSV, Excel) on a schedule or on demand: one row per outcome, for game lines (moneyline, spread, total, team total) and player props, with the best bid, the ask a taker gets, the last trade, the taker price as American and decimal odds, the no-vig fair price, volume, open interest and the time it was captured.

It does not scrape Novig pages and needs no Novig account. It reads the documented, read-only [novigapi.com](https://novigapi.com/?utm_source=apify\&utm_medium=actor\&utm_campaign=novig-scraper) API so runs are fast, rows have a stable schema and nothing breaks when the Novig app changes. No key is needed to start: without one the actor reads the free delayed tier. Add a free key for live prices and every market.

Independent; not affiliated with Novig. novigapi.com is an independent data service operated by Stunning Couches LLC. It is not affiliated with, endorsed by or sponsored by Novig. For placing orders or reading a Novig account, use Novig's official trading API. The data is prices, not betting advice.

### Quick start

1. Run the actor with a `league` and a `market`. No key needed: you get real Novig rows from the free delayed tier.
2. For live prices and every market, get a free key (100 credits a month, no card): https://novigapi.com/sign-up?utm_source=apify\&utm_medium=actor\&utm_campaign=novig-scraper and set `apiKey`.
3. Download the dataset or connect it to Sheets, Zapier, Make or a webhook.

### With and without a key

| | No key (free delayed tier) | Free or paid key |
| --- | --- | --- |
| Data | Real Novig markets, a few minutes behind live | Live, at most about 10 seconds old on paid plans |
| Markets | The 40 most traded upcoming markets per league (next 7 days), at most 50 rows per market type per run | Every market, any status, cursor paging |
| Fields | Bid, ask, last, fair price, volume, open interest | Plus outcome ids, bid size, event id and status |
| `data_tier` column | `free_delayed` | `live` |
| Cost | Nothing | Credits on your novigapi.com plan |

The free tier is https://novigapi.com/api/v1/free/markets; you can call it with curl too.

### What it can read

| `market` | Novig market types |
| --- | --- |
| `game-lines` | `MONEY`, `SPREAD`, `TOTAL`, `TEAM_TOTAL` |
| `moneyline` | `MONEY` |
| `spread` | `SPREAD` |
| `total` | `TOTAL` |
| `team-total` | `TEAM_TOTAL` |
| `player-props` | Every market with a player, such as `POINTS`, `REBOUNDS`, `PASSING_YARDS` |
| `all` | Everything Novig lists for the league |

Set `marketTypeCode` to read one raw Novig market type instead, for example `POINTS`.

### Input

| Field | Default | Notes |
| --- | --- | --- |
| `apiKey` | empty | Optional. Without it the run reads the free delayed tier. Stored as a secret. You can also set `NOVIGAPI_KEY` in the actor environment. |
| `league` | `NBA` | Novig league code: `NBA`, `NFL`, `NHL`, `MLB`, `NCAAF`, `NCAAB`, `WNBA`, `MLS`, `EPL`, `UFC`, `ATP`, `WTA` and others. |
| `market` | `game-lines` | See the table above. |
| `marketTypeCode` | empty | One raw Novig market type; overrides `market`. |
| `includeFair` | `true` | Adds `fair_probability`, `fair_american` and `fair_decimal`. |
| `player` | empty | Player slug, for example `lebron-james`. |
| `team` | empty | Team slug, for example `phoenix-suns`. |
| `status` | `open` | `open`, `suspended`, `closed`, `settled` or `all`. |
| `maxItems` | 1000 | Stop after this many outcome rows. |

### Output

One row per outcome:

```json
{
  "book": "novig",
  "league": "NBA",
  "event": "Dallas Mavericks @ Minnesota Timberwolves",
  "event_id": "01a1cac7-5c83-7e41-ba84-afe1af0c1ca6",
  "event_status": "OPEN_PREGAME",
  "starts_at": "2026-11-13T01:05:00.000Z",
  "market_id": "01a1d00f-ec01-71c0-9776-0facc97e44a7",
  "market_type": "STEALS",
  "market": "player_prop",
  "description": "Cooper Flagg 1.5 STEALS",
  "player": "cooper-flagg",
  "team": null,
  "stat": "steals",
  "line": 1.5,
  "outcome_id": "01a1d00f-ec01-71c0-9776-0fb0230cbd18",
  "outcome": "Over 1.5",
  "side": "over",
  "bid": 0.39,
  "ask": 0.43,
  "last": 0.415,
  "price_american": 133,
  "price_decimal": 2.3256,
  "bid_qty": 18938,
  "spread_pp": 4,
  "volume": 198265,
  "open_interest": 146324,
  "status": "OPEN",
  "captured_at": "2026-11-12T17:23:56.000Z",
  "fair_probability": 0.41,
  "fair_american": 144,
  "fair_decimal": 2.439,
  "data_tier": "live"
}
```

Novig prices are probabilities from 0 to 1, and Novig's book holds bids only: the ask is 1 minus the best bid on the other side, and `price_american` / `price_decimal` are that ask as odds (what a taker gets now). The fair price is the two-sided mid, (bid + ask) / 2, and is null unless both sides have a bid. One contract pays $0.01 if it wins.

### Costs

Apify compute for a run is a few seconds. A run with no key reads the free delayed tier and costs no credits. With a key, API usage is billed by novigapi.com on your own plan: one credit per page of 100 markets. The free plan (100 credits a month, prices delayed up to 5 minutes) covers small scheduled runs; [paid plans](https://novigapi.com/pricing?utm_source=apify\&utm_medium=actor\&utm_campaign=novig-scraper) give live prices and more credits, and 1,000-credit top-ups never expire.

### Prefer code?

The same data is in the official packages: [Python](https://github.com/novigapi/novigapi-python) (`pip install novigapi`), [JavaScript](https://github.com/novigapi/novigapi-js) and an [MCP server](https://github.com/novigapi/novigapi-mcp) for AI agents. Full reference: https://novigapi.com/docs?utm_source=apify\&utm_medium=actor\&utm_campaign=novig-scraper

### Develop

```bash
npm install
npm test                      # no network
APIFY_LOCAL_STORAGE_DIR=./storage NOVIGAPI_KEY=nv_... npm start
```

MIT License.

# Actor input Schema

## `apiKey` (type: `string`):

Optional. Without a key the actor reads the free delayed tier: real Novig markets a few minutes delayed, the 40 most traded upcoming markets per league only, at most 50 per market type. With a free key (100 credits a month, no card: https://novigapi.com/sign-up?utm_source=apify\&utm_medium=actor\&utm_campaign=novig-scraper) rows are live and every market is read. You can also set NOVIGAPI_KEY in the actor environment. No Novig account is needed.

## `league` (type: `string`):

Novig league code, for example NBA, NFL, NHL, MLB, NCAAF, NCAAB, WNBA, MLS, EPL, UFC, ATP, WTA.

## `market` (type: `string`):

Which Novig market types to read. Ignored when Novig market type code is set.

## `marketTypeCode` (type: `string`):

Optional. One raw Novig market type such as POINTS, REBOUNDS or PASSING_YARDS; overrides Market.

## `includeFair` (type: `boolean`):

Adds fair_probability, fair_american and fair_decimal: the two-sided mid, (bid + 1 - other bid) / 2.

## `player` (type: `string`):

Optional, for example lebron-james.

## `team` (type: `string`):

Optional, for example phoenix-suns.

## `status` (type: `string`):

Market status to read. Open is the default; all returns every status (needs a key).

## `maxItems` (type: `integer`):

Stop after this many outcome rows. Each page of 100 markets costs one credit on your own novigapi.com plan.

## Actor input object example

```json
{
  "league": "NBA",
  "market": "game-lines",
  "includeFair": true,
  "status": "open",
  "maxItems": 100
}
```

# Actor output Schema

## `results` (type: `string`):

All rows from this run as a dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "league": "NBA",
    "market": "game-lines",
    "status": "open",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("pp-api/novig-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "league": "NBA",
    "market": "game-lines",
    "status": "open",
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("pp-api/novig-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "league": "NBA",
  "market": "game-lines",
  "status": "open",
  "maxItems": 100
}' |
apify call pp-api/novig-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pp-api/novig-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/LjBI8PALrtQePrSy5/builds/OnxgbyomTEE5SfxXL/openapi.json
