League
Fetch aggregated statistics filtered by leagues and/or scouting markets.
Returns aggregated statistics for teams matching the provided leagues and/or scouting markets. At least one of league_ids or scouting_markets must be provided.
get/api/league/statistics
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
league_idsinteger[]
League IDs to filter teams by. Required when scouting_markets is not provided.
[ 11, 12 ]
scouting_marketsinteger[]
Scouting market IDs to filter teams by. Required when league_ids is not provided.
[ 42 ]
seasoninteger
Example:2025
Season year. Defaults to the current year when omitted.
Response
Successful response. Returns aggregated statistics.
Changes
No recorded changes to this operation across all 2 revisions of this API.