How It Works - AFLW in the API
The complete 2023 season of the NAB AFLW league is now available from the AFL API. This article describes how you can access AFLW 2023 matches and what API endpoints apply to them.
You must be licensed to access the AFLW league and its matches. If it isn't returned by the Leagues endpoint as described below, please contact Champion Data to check if you are correctly licensed.
AFLW Leagueโ
The AFLW League has been assigned league Id 3, which you can see here when you call the Leagues endpoint.
You can call every Season endpoint using league Id 3, they all support AFLW. Currently only the 2023 and (upcoming) 2024 seasons are available from the API, so you will receive a 404 error if you call on the prior seasons.
AFLW Matchesโ
AFLW match data is accessed the same way as AFL Premiership matches; by looking up their match ids and calling the match endpoints.
As with the AFL Premiership, you can look up AFLW matches via the Season Fixture endpoint (enter league Id 3, level Id 1, season 2023) and get their match ids from there.
AFLW matches are supported by all the match endpoints, including the transactions endpoint if you are licensed to access it.
Sandbox AFLW Match Replayโ
The Sandbox environment contains a replaying AFLW match, starting at the same times as the other matches. Note however, as AFLW match quarters are shorter than Premiership matches, the match status timing table doesn't completely align with the AFLW match.
Unsupported Metricsโ
The following metrics do not support AFLW matches and are not returned via the match statistic endpoints.
Group | Metrics |
---|---|
Player Ratings |
|
Expected Score |
|
Time on Ground |
|