Action Network Odds, Line Movement & Betting Splits Scraper
Pricing
from $0.02 / 1,000 item extracteds
Action Network Odds, Line Movement & Betting Splits Scraper
Action Network odds for NBA, NFL, MLB, NHL and college: moneylines, spreads, totals, opening lines, line movement history and public bet/money splits from DraftKings, FanDuel, BetMGM, Caesars and more.
Pricing
from $0.02 / 1,000 item extracteds
Rating
0.0
(0)
Developer
Automation Lab
Maintained by CommunityActor stats
0
Bookmarked
46
Total users
3
Monthly active users
8 hours ago
Last modified
Categories
Features
Share
Action Network Sports Odds Line Movement Scraper
Action Network Sports Odds Line Movement Scraper collects current sportsbook snapshots from public Action Network scoreboard endpoints. Use it to monitor moneylines, spreads, totals, team totals, opening lines and line movement, timestamped line history per sportsbook, public betting splits (share of bets and share of money), and event context across NBA, NFL, MLB, NHL, college football, and college basketball. Books include DraftKings, FanDuel, BetMGM, Caesars, BetRivers, bet365, Consensus, and the market opener.
What does Action Network Sports Odds Line Movement Scraper do?
It turns Action Network scoreboard API responses into clean Apify dataset rows.
- 🏟️ Fetch leagues such as
mlb,nba,nfl,nhl,ncaab, andncaaf - 📅 Query one or more dates
- 📈 Save one row per game and sportsbook, named from Action Network's own book list (DraftKings, FanDuel, BetMGM, Caesars, BetRivers, bet365, Consensus, Open)
- 📉 Add the opening line to every row, with spread and total movement since the open
- 🕒 Optionally add each book's full timestamped moneyline, spread, and total history (
includeLineHistory) - 💸 Extract moneylines, spreads, totals, team totals, and their available prices
- ↕️ Preserve Action Network
line_statusindicators for moneyline, spread, total, and team-total outcomes - 👥 Include public betting and money percentages when Action Network provides them
- 📺 Add week, broadcast, coverage, rotation numbers, team logos, and records when available
- 🔗 Include both the API URL and a user-facing Action Network game URL
- 🛡️ Deduplicate route inputs, enforce the selected sportsbook IDs, retry transient failures, report partial failures, and fail clearly if every route fails
Who is it for?
Sports betting analysts use it to compare lines across books.
Affiliate and content teams use it to create odds tables and daily market summaries.
Quantitative bettors schedule it to collect repeatable snapshots for their own historical models.
Media researchers use it to track market movement around high-profile games.
Automation teams use it to feed dashboards, alerts, spreadsheets, and data warehouses.
Why use it?
Action Network exposes rich scoreboard data, but the raw JSON is nested by game and sportsbook. This actor normalizes the data into flat rows that are easy to export, join, filter, and analyze.
You can run it on a schedule, compare books, archive odds snapshots, or pipe the data into your own betting intelligence workflow.
What data can you extract?
| Field group | Examples |
|---|---|
| League and event | league, sport, season, week, gameId, startTime, status, broadcastNetwork, coverage, rotation numbers |
| Teams | names, abbreviations, IDs, logos, wins, losses, and ties |
| Sportsbook | bookId, bookName, bookDisplayName, period, marketType |
| Moneyline | moneylineHome, moneylineAway, and source line-status indicators |
| Spread | spreadHome/away, prices, and source line-status indicators |
| Total | total, over/under prices, and source line-status indicators |
| Team totals | home/away totals, over/under prices, and source line-status indicators |
| Betting splits | public bet percentages, money percentages, and numBets when present |
| Line movement | openingMoneylineHome/Away, openingSpreadHome/Away with prices, openingTotal with prices, spreadHomeMovement, totalMovement |
| Line history (optional) | lineHistory: market, side, value, odds, lineStatus, updatedAt for every move, opener first; lineHistoryChanges |
| Traceability | apiUrl, sourceUrl, insertedAt, scrapedAt |
How much does it cost to scrape Action Network sports odds?
The actor uses pay-per-event pricing.
- Start event: small one-time run fee
- Item event: charged per saved odds row
- Higher usage tiers receive discounted per-row pricing
Use maxItems to control spend during tests. A normal monitoring run can start with 100-250 rows and scale up after you verify the leagues and books you need. Odds rows are saved and charged in bounded batches to avoid a separate storage round trip for every row. The SDK limits output to the remaining run charge budget; the Actor stops when that budget is reached. A storage or charge-request failure fails the run rather than continuing to collect uncharged output.
Input options
| Input | Description |
|---|---|
leagues | Action Network league slugs to fetch |
dates | Dates in YYYY-MM-DD or YYYYMMDD; leave empty for today |
bookIds | Action Network sportsbook IDs |
period | Source market period; game is the commonly supported full-game value, while custom source-supported values remain accepted |
includeLineHistory | Add each book's timestamped line history to every row (one extra request per game) |
maxItems | Maximum odds rows saved |
includeLive | Include live/in-progress games |
includeCompleted | Include completed games |
Example input
{"leagues": ["mlb", "nba", "nfl", "nhl"],"dates": [],"bookIds": ["15", "30", "68", "69", "75", "123", "71", "79"],"period": "game","maxItems": 250,"includeLineHistory": true,"includeLive": true,"includeCompleted": true}
Example output
{"league": "nba","sport": "basketball","gameId": 295475,"startTime": "2026-11-21T18:00:00.000Z","status": "scheduled","bookId": 69,"bookName": "FanDuel","bookDisplayName": "FanDuel NJ","homeTeamName": "Philadelphia 76ers","awayTeamName": "Milwaukee Bucks","moneylineHome": -620,"moneylineAway": 460,"spreadHome": -12.5,"spreadHomePrice": -106,"total": 229.5,"overPrice": -110,"underPrice": -110,"homeTeamTotal": 121.5,"homePublicBetPercent": 96,"homeMoneyPercent": 88,"numBets": 1186,"openingMoneylineHome": -680,"openingSpreadHome": -12.5,"openingTotal": 229.5,"spreadHomeMovement": 0,"totalMovement": 0,"lineHistory": [{ "market": "spread", "side": "home", "value": -12.5, "odds": -110, "lineStatus": "opener", "updatedAt": "2026-11-21T00:47:08.581Z" },{ "market": "spread", "side": "home", "value": -12.5, "odds": -106, "lineStatus": "normal", "updatedAt": "2026-11-21T02:45:06.030Z" }],"lineHistoryChanges": 16,"apiUrl": "https://api.actionnetwork.com/web/v2/scoreboard/nba?...","sourceUrl": "https://www.actionnetwork.com/nba/game/...","scrapedAt": "2026-11-21T11:40:10.608Z"}
How to scrape Action Network odds
- Choose one or more leagues.
- Add dates or leave dates empty for today.
- Keep the default sportsbook IDs or enter your own Action Network book IDs.
- Set
maxItemsto a safe number for your first run. - Run the actor.
- Export the dataset as JSON, CSV, Excel, or via the Apify API.
Tips for best results
- Use active sports seasons for the largest output volume.
- Include multiple leagues when you need at least 100 rows.
- Keep completed games enabled for historical date backfills.
- Use scheduled runs for daily line monitoring.
- Store
apiUrl,insertedAt, andscrapedAtso you can audit exactly which Action Network snapshot produced each row. - Opening lines come from Action Network's market opener (book 30, "Open"); it is fetched for every run, so each row shows movement since the open even if you do not request book 30.
- Turn on
includeLineHistoryfor every timestamped move of each book. Leave it off for faster, lighter snapshot monitoring.
Integrations
Send results to Google Sheets for editorial odds tables.
Send results to BigQuery, Snowflake, or Postgres for modeling.
Use webhooks to trigger Slack or Discord alerts when a scheduled run completes.
Use Make, Zapier, or n8n to combine odds rows with internal content calendars.
API usage with Node.js
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('automation-lab/action-network-sports-odds-line-movement-scraper').call({leagues: ['mlb', 'nba'],dates: ['2026-07-06'],maxItems: 100});console.log(run.defaultDatasetId);
API usage with Python
from apify_client import ApifyClientclient = ApifyClient('MY-APIFY-TOKEN')run = client.actor('automation-lab/action-network-sports-odds-line-movement-scraper').call(run_input={'leagues': ['mlb', 'nba'],'dates': ['2026-07-06'],'maxItems': 100,})print(run['defaultDatasetId'])
API usage with cURL
curl -X POST 'https://api.apify.com/v2/acts/automation-lab~action-network-sports-odds-line-movement-scraper/runs?token=MY-APIFY-TOKEN' \-H 'Content-Type: application/json' \-d '{"leagues":["mlb","nba"],"dates":["2026-07-06"],"maxItems":100}'
MCP integration
Use this actor from Claude Code or Claude Desktop through Apify MCP.
MCP server URL:
https://mcp.apify.com/?tools=automation-lab/action-network-sports-odds-line-movement-scraper
Claude Code CLI setup:
$claude mcp add --transport http apify-action-network-odds https://mcp.apify.com/?tools=automation-lab/action-network-sports-odds-line-movement-scraper
Claude Desktop setup (JSON config):
{"mcpServers": {"apify-action-network-odds": {"url": "https://mcp.apify.com/?tools=automation-lab/action-network-sports-odds-line-movement-scraper"}}}
Cursor setup: add the same URL as a remote HTTP MCP server named apify-action-network-odds in Settings → Tools & Integrations → MCP.
VS Code setup: add the same remote HTTP URL through MCP: Add Server, then select HTTP and name it apify-action-network-odds.
Example prompts:
- "Run the Action Network sports odds scraper for MLB and NBA today and summarize the tightest spreads."
- "Fetch 250 Action Network odds rows and identify books with different totals for the same game."
- "Export Action Network line movement snapshots for yesterday into a CSV-ready dataset."
Scheduling workflows
Run every morning for pre-game odds.
Run hourly during busy slates.
Run after major injury news if your workflow needs fresh market data.
Keep maxItems high enough to cover all selected leagues and books.
Data quality notes
The actor saves exactly what the public Action Network scoreboard endpoint returns at run time. If Action Network omits prices, percentages, or line-status indicators for a market, the actor returns null for those fields instead of guessing.
Transient network errors, HTTP 429 responses, and temporary server errors are retried with bounded backoff. If some league/date routes fail, useful rows are still saved and the failed routes are summarized in the log. If every requested route fails, the run fails rather than reporting a misleading empty success. A valid HTTP 200 response with no matching games or odds remains a successful zero-item result with an explanatory log message.
Book names come from Action Network's public book list at run time, so every valid book ID is named correctly (bookName is the brand, bookDisplayName the source label such as DK NJ). If that list is unavailable, built-in names cover the default books and other IDs are labeled Book <id>.
Common book IDs: 15 Consensus, 30 Open, 68 DraftKings, 69 FanDuel, 75 BetMGM, 123 Caesars, 71 BetRivers, 79 bet365.
Troubleshooting
If you get no rows, try an active league/date combination such as MLB during regular season.
If you expected a specific book, verify that its Action Network book ID is included in bookIds.
If public betting percentages are null, Action Network did not include them in the public response for that game/book/market.
Data handling and limitations
The actor uses deterministic HTTP extraction and does not call an AI model. It sends only your league, date, sportsbook ID, and period filters to the public Action Network scoreboard API. It does not accept account credentials, create an external cache, or retain a separate copy of results. Run datasets, key-value stores, and logs follow the retention and deletion controls in your Apify account.
Failed operations send sanitized diagnostic input, exceptions, lifecycle phase, bounded route-failure summaries, and Actor/build/run IDs to our private GlitchTip service for repair. Runs lasting over 30 seconds also send bounded progress observations (fetch/write/charge phase, elapsed time and work counters), so a later platform timeout can be investigated without access to private run storage. Secret fields and URL query strings are removed; reports are retained for 30 days. An exhausted route can be reported even when other routes succeed and the run saves useful results.
This is an odds data collector, not a betting recommendation service. Source line-status values are passed through without interpretation, source fields can be missing, and Action Network can change or restrict its public endpoint.
Legality
This independent actor extracts publicly accessible Action Network data and is not affiliated with or endorsed by Action Network. You are responsible for using the data in compliance with Action Network terms, applicable law, sportsbook rules, and any regulations that apply to betting data in your jurisdiction.
Related sports data scrapers
Explore related automation-lab actors on Apify:
- https://apify.com/automation-lab/google-news-scraper
- https://apify.com/automation-lab/espn-scraper
- https://apify.com/automation-lab/youtube-channel-scraper
Changelog
2026-11-21
Fixed sportsbook names (rows were labelled with the wrong book), changed the default books to Consensus, Open, DraftKings, FanDuel, BetMGM, Caesars, BetRivers and bet365, added opening lines with spread and total movement, optional per-book line history, a final status message, and a Server API. Existing inputs keep working and pricing is unchanged.
0.2
Added team totals, source line-status indicators, richer event/team context, duplicate-input normalization, bounded retries, partial-failure diagnostics, and explicit total-outage failures. Existing inputs, output fields, defaults, and pricing remain compatible.
0.1
Initial release with Action Network scoreboard odds extraction by league, date, sportsbook IDs, period, and max item cap.
FAQ
Can it scrape line movement history?
Yes. Every row has the opening line and the spread and total movement since the open. Turn on includeLineHistory to add each book's full timestamped history of moneyline, spread, and total moves, as published by Action Network.
Does it require a sportsbook account?
No. It uses unauthenticated public Action Network scoreboard responses.
Can I choose sportsbooks?
Yes. Pass Action Network sportsbook IDs in bookIds.
Can I run it for multiple days?
Yes. Add multiple values to dates.
Can I export to CSV?
Yes. Apify datasets can be exported as CSV, JSON, Excel, XML, RSS, and HTML.
Is this a betting recommendation tool?
No. It provides structured odds data. It does not advise bets or guarantee price availability.
Server API
This Actor is also a Server Actor: copy the server URL from the Server tab and send authenticated HTTP requests. Normal runs keep the full input and dataset.
GET /odds
Returns the odds rows for one league and date, the same rows a normal run saves.
| Query parameter | Description |
|---|---|
league | Required. Action Network league slug, e.g. nba, nfl, mlb, nhl, ncaab, ncaaf |
date | YYYY-MM-DD or YYYYMMDD; default today (UTC) |
bookIds | Comma-separated book IDs; default 15,30,68,69,75,123,71,79 |
period | Market period; default game |
maxItems | 1–200 rows; default 100 |
includeLive, includeCompleted | true or false; default true |
includeLineHistory | true to add each book's timestamped line history; default false |
Response: { "ok": true, "count": 16, "results": [ ...odds rows ] }.
Charge: one item event per returned row, the same price as a normal run. No start fee per request. A request with no rows is not charged.
Limits: 60-second deadline, 4 MiB response, 200 rows.
Errors use { "ok": false, "error": { "code", "message", "retryable" } }:
| Status | Code | When |
|---|---|---|
| 400 | INVALID_INPUT | Missing or malformed league, date, bookIds, maxItems, period or flag |
| 402 | Your spending limit is reached | |
| 404 | NO_RESULTS | No odds rows matched (not charged) |
| 404 | NOT_FOUND | Action Network has no scoreboard for this league slug |
| 413 | RESPONSE_TOO_LARGE | The result is over 4 MiB; lower maxItems or use a normal run |
| 429 | RATE_LIMITED | Action Network is rate limiting; retry shortly |
| 502 | UPSTREAM_ERROR | Action Network failed; retryable |
| 503 | The server is busy; retry | |
| 504 | The 60-second deadline passed; retry |
curl -H "Authorization: Bearer $APIFY_TOKEN" \"<SERVER_URL>/odds?league=nba&bookIds=68,69,75&includeLineHistory=true&maxItems=20"