sofascore_draft_picks
SofaScore league draft picks. Returns one round of a league draft: each pick with the overall and in-round number, the drafting team, and the drafted prospect (name, position, college or club, top-prospect flag and the player id when…
Instructions
SofaScore league draft picks. Returns one round of a league draft: each pick with the overall and in-round number, the drafting team, and the drafted prospect (name, position, college or club, top-prospect flag and the player id when SofaScore has one), plus the teams that hold no pick in that round. The league enum accepts nba (rounds 1 and 2) and nfl (rounds 1 to 7); other rounds return 400. Get year from the draft endpoint's draft.year and previous_draft.year; SofaScore keeps only recent drafts, so an older year returns 404. Returns 404 when SofaScore has no picks for that year and round.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Four-digit draft year | |
| round | Yes | Draft round: 1 to 2 for nba, 1 to 7 for nfl | |
| league | Yes | League whose draft to return |