An Apify actor that saves Underdog Fantasy pick'em lines with separate Higher and Lower payouts, line moves, past boards and graded results to an Apify dataset (JSON, CSV, Excel) on a schedule or on demand.
It does not scrape Underdog Fantasy pages. It reads the documented underdogapi.com API with your own key, so runs are fast, rows have a stable schema and nothing breaks when the Underdog Fantasy site changes. Without a key this actor returns the keyless demo rows (fictional, flagged as demo) so you can see the schema. Add a free key for live Underdog lines.
underdogapi.com is an independent data service operated by Stunning Couches LLC. It is not affiliated with or endorsed by Underdog Fantasy.
- Get a free key (100 credits a month, no card): https://underdogapi.com/sign-up?utm_source=apify&utm_medium=actor&utm_campaign=underdog-scraper
- Run the actor with
apiKeyset, pick what to read, and setleague. - Download the dataset or connect it to Sheets, Zapier, Make or a webhook.
endpoint |
Rows |
|---|---|
projections |
Current board: every live line with Higher/Lower payouts |
odds |
Each line's Higher and Lower side as odds entries |
changes |
Change feed: line moves, new and removed lines |
results |
Graded lines (paid plans) |
demo |
Demo rows, no key (fictional data in the live schema) |
| Field | Default | Notes |
|---|---|---|
apiKey |
empty | Stored as a secret. Empty means the keyless feed. You can also set UNDERDOG_API_KEY in the actor environment. |
endpoint |
projections |
See the table above. |
league |
NBA |
|
limit |
100 | Rows per page. |
maxPages |
1 | Pages followed by cursor. Each page spends credits on your own underdogapi.com plan. |
maxItems |
none | Stop after this many rows. |
extraParams |
{} |
Any other query parameter from the docs. |
Each row is the API's own JSON row plus _endpoint and _source.
Apify compute for a one-page run is a few seconds. API usage is billed by underdogapi.com on your own plan: the free tier covers small scheduled runs, and paid plans raise the limits. Credit costs per call: https://underdogapi.com/api/v1/credit-costs
The same data is in the official packages: Python, JavaScript and an MCP server for AI agents.
npm install
npm test # no network
APIFY_LOCAL_STORAGE_DIR=./storage UNDERDOG_API_KEY=... npm startMIT License.