TheSportsDB Scraper: Teams, Leagues & Stadiums
Pricing
Pay per usage
Go to Apify Store

TheSportsDB Scraper: Teams, Leagues & Stadiums
Look up sports teams by name via the public TheSportsDB API: league, sport, stadium, capacity, formation year and badge. No login, no proxy, no browser.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Naimur Hasan
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
TheSportsDB Scraper
Looks up sports teams by name through the public TheSportsDB API: league, sport, stadium, capacity, formation year and badge. No proxy, no browser.
Input
| Field | Type | Notes |
|---|---|---|
teamNames | array | Required. Team names, e.g. ["Arsenal", "Chicago Bulls"]. |
includeStadiumCapacity | boolean | Look up each team's venue for its capacity. Default true. |
apiKey | string | Optional. Your own TheSportsDB key; empty uses the free test key. |
Output
One row per matched team: teamId, team, alternateNames, sport,
league, country, formedYear, stadium, stadiumLocation,
stadiumCountry, venueId, stadiumCapacity, website, badgeUrl,
description.
Notes
- The old free key
3was permanently disabled. It answers HTTP 403 with a plain-text notice naming its replacement, the test key123, which is what this Actor uses when noapiKeyis given. - The free key is shared by every anonymous caller, so its rate limit is a
pool rather than a per-user budget: a burst gets HTTP 429 with a Cloudflare
HTML page, and once tripped the block persists for a while rather than
clearing on the next request. Requests are spaced 800 ms apart and retried
with a capped backoff. Supplying your own
apiKeyavoids the pool entirely, and is worth doing for anything beyond a handful of names. - Capacity moved off the team record.
intStadiumCapacityis gone; teams now carry anidVenueand the capacity lives on the venue. Filling the column costs one extra request per team, so it can be switched off when looking up many names. - A name can match more than one team across different sports and countries, so the row count can exceed the number of names submitted.
- Every numeric field arrives as a string upstream (
"60338"); they are converted to numbers here so capacity and formation year sort correctly. - A name with no match is logged and skipped; the run only fails if nothing matched at all.