Skip to content

About

Apify actor: Underdog Scraper (Underdog Fantasy pick'em lines and payouts). Reads the documented underdogapi.com API with your own key.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Underdog Scraper (Underdog Fantasy pick'em lines and payouts)

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.

Quick start

  1. 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
  2. Run the actor with apiKey set, pick what to read, and set league.
  3. Download the dataset or connect it to Sheets, Zapier, Make or a webhook.

What it can read

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)

Input

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.

Costs

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

Prefer code?

The same data is in the official packages: Python, JavaScript and an MCP server for AI agents.

Develop

npm install
npm test                      # no network
APIFY_LOCAL_STORAGE_DIR=./storage UNDERDOG_API_KEY=... npm start

MIT License.

About

Apify actor: Underdog Scraper (Underdog Fantasy pick'em lines and payouts). Reads the documented underdogapi.com API with your own key.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages