SofaScore

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.

get/sofascore/draft-picks

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/draft-picks
  • Auth: API key in header x-api-key

Query parameters

league'nba' | 'nfl' required

League whose draft to return

yearstring required

Four-digit draft year

roundinteger required

Draft round: 1 to 2 for nba, 1 to 7 for nfl

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "league": "nba",
    "picks": [
      {
        "overall_pick": 1,
        "pick_in_round": 1,
        "prospect": {
          "name": "Cooper Flagg",
          "player": {
            "id": 839956,
            "jersey_number": "9",
            "name": "Erling Haaland",
            "position": "F",
            "short_name": "E. Haaland",
            "slug": "erling-haaland"
          },
          "position": "GF",
          "school": {
            "country": "Spain",
            "id": 2817,
            "name": "FC Barcelona",
            "short_name": "Barcelona",
            "slug": "barcelona"
          },
          "school_name": "Duke"
        },
        "round": 1,
        "team": {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        }
      }
    ],
    "round": 1,
    "teams_without_round_pick": [
      {
        "country": "Spain",
        "id": 2817,
        "name": "FC Barcelona",
        "short_name": "Barcelona",
        "slug": "barcelona"
      }
    ],
    "year": 2025
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.