Defense vs Position & Pace
defense_vs_positionGet what each NBA or NFL team allows per game to a position group (NBA: G, F, C + pace; NFL: QB, RB, WR, TE) with league ranks (1 = most allowed). Full-season is free; window="recent" (last 10 games) requires Pro.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league | Yes | League ("nba" or "nfl"). | |
| season | No | Optional season year. Defaults to the current season. | |
| window | No | Sample window: "season" (free) or "recent" (last 10 games, requires Pro). | season |
| position | No | Optional position group filter (NBA: "G", "F", "C"; NFL: "QB", "RB", "WR", "TE"). |