Get MaxPreps team rankings
maxpreps_get_rankingsGet ranked leaderboards of high school teams by sport, nationally or within a state, with rank, rating, record, movement, and a team path for further exploration.
Instructions
Ranked leaderboard of teams for a sport — nationally, or within one state. Each entry carries the rank, rating, overall record, movement, and a teamPath ready to pass to the other team tools, so this is the way to discover teams rather than look one up. Results are paginated 25 at a time. Omitting season uses the current one, which is empty before that sport is under way. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | Yes | Sport slug as used in MaxPreps URLs, e.g. football, basketball | |
| state | No | Two-letter state code, e.g. NC. Omit for national rankings. | |
| season | No | Season label, e.g. 25-26. Omit for the current season. | |
| pageNumber | No | 1-based page; 25 teams per page |