TheSportsDB Scraper avatar

TheSportsDB Scraper

Pricing

from $26.25 / 1,000 results

Go to Apify Store
TheSportsDB Scraper

TheSportsDB Scraper

Scrape leagues, teams, players, and events from TheSportsDB - the open sports database covering soccer, basketball, American football, baseball, ice hockey, and more. No API key required.

Pricing

from $26.25 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

2 days ago

Last modified

Share

ParseForge Banner

๐Ÿฅ… TheSportsDB Scraper

๐Ÿš€ Export TheSportsDB's open sports catalogue in seconds. Pull leagues, teams, players, upcoming and past events, league standings, and live scores across soccer, basketball, ice hockey, baseball, American football, and many more sports. No sign-up, no manual scraping, no setup.

๐Ÿ•’ Last updated: 2026-05-15 ยท ๐Ÿ“Š 30+ fields per record ยท ๐Ÿฅ… Multi-sport coverage ยท ๐Ÿ” 10 lookup modes ยท ๐ŸŒ Open community catalogue

The TheSportsDB Scraper exports the crowd-sourced TheSportsDB catalogue and returns up to 30+ structured fields per record. Whether you're pulling all leagues, searching for a team or player by name, fetching upcoming and past events for a league, looking up league standings, or grabbing live scores for a sport, the Actor returns a clean structured row per entity ready for your dataset.

The catalogue covers soccer, basketball, American football, baseball, ice hockey, and many more sports, with team metadata, player bios, league structure, fixture lists, standings tables, and a continuously updated live-scores feed. This is the friendliest open sports database on the web, packaged for one-click export.

๐ŸŽฏ Target Audience๐Ÿ’ก Primary Use Cases
Sports media, fantasy app developers, hobbyist sports devs, journalists, fan communities, indie analytics teamsMulti-sport league directories, team + player lookups, fixture feeds, standings widgets, live-score tickers, content automation

๐Ÿ“‹ What the TheSportsDB Scraper does

Ten lookup modes in a single run:

  • ๐ŸŒ All Leagues. Every league across every sport.
  • ๐ŸŸ๏ธ Team Search. Resolve teams by name (e.g. "Arsenal").
  • ๐Ÿ†” Team Lookup. Resolve a team by canonical ID with full metadata.
  • ๐Ÿ‘ค Player Search. Resolve players by name (e.g. "Messi").
  • ๐Ÿ“‹ Team Roster. All players on a team by team ID.
  • ๐Ÿ“… Upcoming Events. Next 15 events for a league by league ID.
  • ๐Ÿ•“ Past Events. Last 15 events for a league by league ID.
  • ๐Ÿ“Š Lookup Table. League standings table for a season (e.g. 2024-2025).
  • ๐Ÿ”ด Live Scores. Live in-progress events by sport (e.g. Soccer, Basketball, Ice Hockey).
  • ๐Ÿ—“๏ธ Events on a Day. All matches on a specific date, optionally filtered by sport or league.

Each record is normalised: empty fields are stripped, every row carries a scrapedAt ISO 8601 timestamp, and the original TheSportsDB field names are preserved for direct join compatibility with the catalogue.

๐Ÿ’ก Why it matters: TheSportsDB is one of the few free, multi-sport, multi-league databases on the web. Building your own pipeline against it means handling 10 different lookup endpoints, normalising responses, and refreshing data manually. This Actor packages all of that into one click.


๐ŸŽฌ Full Demo

๐Ÿšง Coming soon: a 3-minute walkthrough showing how to go from sign-up to a downloaded dataset.


โš™๏ธ Input

InputTypeDefaultBehavior
modestring"leagues"One of leagues, teamSearch, teamLookup, playerSearch, teamRoster, upcomingEvents, pastEvents, lookupTable, livescore, eventsday.
querystring""Search text for teamSearch / playerSearch.
leagueIdstring""League ID for upcomingEvents / pastEvents / lookupTable (e.g. 4328 = English Premier League).
teamIdstring""Team ID for teamLookup / teamRoster.
seasonstring""Season for lookupTable (e.g. 2024-2025).
sportstring""Sport name for livescore / eventsday (e.g. Soccer, Basketball, Ice_Hockey).
datestring""YYYY-MM-DD for eventsday mode.
maxItemsinteger10Free plan caps at 10, paid plan at 1,000,000.

Example: every league in the catalogue.

{
"mode": "leagues",
"maxItems": 100
}

Example: English Premier League standings table for 2024-2025.

{
"mode": "lookupTable",
"leagueId": "4328",
"season": "2024-2025"
}

โš ๏ธ Good to Know: TheSportsDB's free public tier returns a fixed page size (typically 10-15 items) for some endpoints. The maxItems input still applies on the dataset side for display purposes.


๐Ÿ“Š Output

Each record contains up to 30+ fields, depending on mode. Download the dataset as CSV, Excel, JSON, or XML.

๐Ÿงพ Schema (leagues mode example)

FieldTypeExample
๐Ÿ†” idLeaguestring"4328"
๐Ÿ† strLeaguestring"English Premier League"
โšฝ strSportstring"Soccer"
๐Ÿ”– strLeagueAlternatestring"Premier League"
๐Ÿ”— slugstring"english-premier-league-soccer"
๐Ÿ•’ scrapedAtISO 8601"2026-05-15T00:00:00.000Z"

๐Ÿงพ Schema (teamSearch / teamLookup mode)

FieldTypeExample
๐Ÿ†” idTeamstring"133604"
๐ŸŸ๏ธ strTeamstring"Arsenal"
๐Ÿณ๏ธ strCountrystring"England"
โšฝ strSportstring"Soccer"
๐Ÿ† strLeaguestring"English Premier League"
๐Ÿ“… intFormedYearstring"1886"
๐ŸŸ๏ธ strStadiumstring"Emirates Stadium"
๐Ÿ–ผ๏ธ strBadgestring"https://www.thesportsdb.com/images/media/team/badge/..."
๐Ÿ“ strDescriptionENstring"Arsenal Football Club is a..."

๐Ÿ“ฆ Sample record


โœจ Why choose this Actor

Capability
๐Ÿฅ…Ten lookup modes. Leagues, teams, players, fixtures, standings, live scores, day filters all in one Actor.
๐ŸŒMulti-sport coverage. Soccer, basketball, American football, baseball, ice hockey, and more.
๐Ÿ–ผ๏ธRich media. Team badges, stadium photos, player thumbs come straight from the catalogue.
๐Ÿ“…Fixture feeds. Next 15 + last 15 events per league, plus exact-date filters.
๐Ÿ“ŠStandings tables. Season-aware league tables with per-team metrics.
๐Ÿ”Always fresh. Every run pulls the latest catalogue state.
๐ŸšซNo sign-up. Works against the public catalogue. No login or token required.

๐Ÿ“Š TheSportsDB is the open multi-sport reference of choice for indie devs, fantasy startups, and fan-engagement platforms.


๐Ÿ“ˆ How it compares to alternatives

ApproachCostCoverageRefreshFiltersSetup
โญ TheSportsDB Scraper (this Actor)$5 free credit, then pay-per-useMulti-sport, 10 modesLive per runmode, query, league, team, sport, dateโšก 2 min
Commercial sports data vendors$$$$/monthFull + extrasStreamingManyโณ Weeks
Manual scrapingFreeInconsistentOn demandNone๐Ÿข Days
Sport-specific scrapersFreeSingle leagueLiveLimited๐Ÿ•’ Variable

Pick this Actor when you want broad multi-sport coverage, normalised records, and zero pipeline maintenance.


๐Ÿš€ How to use

  1. ๐Ÿ“ Sign up. Create a free account w/ $5 credit (takes 2 minutes).
  2. ๐ŸŒ Open the Actor. Go to the TheSportsDB Scraper page on the Apify Store.
  3. ๐ŸŽฏ Set input. Pick a mode and supply the relevant inputs (league ID, team ID, query, or date).
  4. ๐Ÿš€ Run it. Click Start and let the Actor collect your data.
  5. ๐Ÿ“ฅ Download. Grab your results in the Dataset tab as CSV, Excel, JSON, or XML.

โฑ๏ธ Total time from signup to downloaded dataset: 3-5 minutes. No coding required.


๐Ÿ’ผ Business use cases

๐Ÿ“บ Sports Media & Publishing

  • Multi-sport content directories
  • Auto-write article previews from upcoming-event feeds
  • Live-score tickers across multiple leagues
  • Daily fixture digests for newsletter automation

๐ŸŽฒ Fantasy & Indie Sports Apps

  • Cross-league fantasy product seeding
  • Roster catalogue caches with badges and bios
  • League standings widgets refreshed nightly
  • Player search-as-you-type backed by real data

๐ŸŸ๏ธ Fan Communities & Discord Bots

  • Multi-sport "what's on tonight" channel posts
  • Team-badge gallery commands for fan servers
  • Postseason bracket dashboards
  • Live-score push notifications

๐Ÿ“Š Analytics & Research

  • Cross-sport calendar studies
  • League-structure datasets for academic research
  • Multi-league benchmark comparisons
  • Time-series pulls for sports-econ projects

๐Ÿ”Œ Automating TheSportsDB Scraper

Control the scraper programmatically for scheduled runs and pipeline integrations:

  • ๐ŸŸข Node.js. Install the apify-client NPM package.
  • ๐Ÿ Python. Use the apify-client PyPI package.
  • ๐Ÿ“š See the Apify documentation for full details.

The Apify Schedules feature lets you trigger this Actor on any cron interval. Refresh live scores every minute, daily fixture digests, or weekly league snapshots are all one click.


๐ŸŒŸ Beyond business use cases

Multi-sport data powers more than commercial workflows. The same records support research, education, civic projects, and personal initiatives.

๐ŸŽ“ Research and academia

  • Cross-sport coursework with real catalogue data
  • Comparative league-structure studies
  • Sport-history dissertations grounded in standings
  • Reproducible research pulls with cited timestamps

๐ŸŽจ Personal and creative

  • Hobbyist multi-sport tracker dashboards
  • Discord bots for fan communities
  • Trading-card generators with team badges
  • Creator content automation across leagues

๐Ÿค Non-profit and civic

  • Local-league publicity dashboards
  • Sport-journalism for local newsrooms
  • Inclusion analyses across player rosters
  • Open-data hackathons on world-sport coverage

๐Ÿงช Experimentation

  • Train cross-sport schedule models
  • Prototype agent pipelines that resolve team IDs
  • Validate fan-product hypotheses with real fixtures
  • Test live-stream UX concepts with real scores

๐Ÿค– Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:


โ“ Frequently Asked Questions

๐Ÿงฉ How does it work?

Pick a mode (one of the ten lookup modes), supply the relevant inputs, and click Start. The Actor pulls fresh records from the public TheSportsDB catalogue and emits a clean structured row per league, team, player, or event.

๐Ÿฅ… Which sports are covered?

Soccer, basketball, American football, baseball, ice hockey, and many more. Use the leagues mode to inspect every sport and league the catalogue knows about.

๐Ÿ“… Can I get a fixture list for a league?

Yes. Set mode to upcomingEvents (next 15 fixtures) or pastEvents (last 15 fixtures) and supply the leagueId (e.g. 4328 for the English Premier League).

๐Ÿ“Š How do I get a league standings table?

Set mode to lookupTable, supply leagueId, and set season to a season string (e.g. 2024-2025). Leave season empty to get the current season.

๐Ÿ”ด Can I pull live scores?

Yes. Set mode to livescore and supply the sport name (e.g. Soccer, Basketball, Ice_Hockey). The Actor returns all in-progress events for that sport.

๐Ÿ—“๏ธ Can I get matches on a specific date?

Yes. Set mode to eventsday, supply date as YYYY-MM-DD, and optionally narrow by sport or leagueId.

๐Ÿ” How do I look up a team or player?

Use teamSearch or playerSearch and supply the name in query (e.g. "Arsenal", "Messi"). Use teamLookup or teamRoster if you already have the canonical ID.

โฐ Can I schedule regular runs?

Yes. Use Apify Schedules to run this Actor every minute, hourly, or daily. The dataset always reflects the current state of the public catalogue.

The TheSportsDB catalogue is published as an open community dataset. Review the source's terms of use for your specific use case, particularly if you redistribute or commercialise the content.

๐Ÿ’ณ Do I need a paid Apify plan to use this Actor?

No. The free Apify plan is enough for testing and small runs (10 records per run). A paid plan lifts the limit and unlocks scheduling and higher concurrency.

๐Ÿ” What happens if a run fails or gets interrupted?

Apify automatically retries transient errors. If a run still fails, you can inspect the log in the Runs tab, fix the input, and re-run. Partial datasets from failed runs are preserved so you never lose progress.

๐Ÿ†˜ What if I need help?

Our support team is here to help. Contact us through the Apify platform or use the Tally form linked below.


๐Ÿ”Œ Integrate with any app

TheSportsDB Scraper connects to any cloud service via Apify integrations:

  • Make - Automate multi-step workflows
  • Zapier - Connect with 5,000+ apps
  • Slack - Get score updates in your channels
  • n8n - Self-hosted workflow automation
  • Pipedream - Event-driven serverless workflows
  • Airbyte - Pipe sports data into your warehouse
  • GitHub - Trigger runs from commits
  • Google Drive - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Push fresh fixtures into your product backend, or alert your fans in Slack when a goal is scored.


๐Ÿ’ก Pro Tip: browse the complete ParseForge collection for more reference-data scrapers.


๐Ÿ†˜ Need Help? Open our contact form to request a new scraper, propose a custom data project, or report an issue.


โš ๏ธ Disclaimer: this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by TheSportsDB or any of its contributors. All trademarks mentioned are the property of their respective owners. Only publicly available open sports catalogue data is collected.