LogoLogo
Cricket APISportMonksContactFootball API
  • Welcome
  • Getting Started
    • Getting started
    • All endpoints
    • Enriching your response
  • Our API
    • Introduction to our API
    • Continents
      • GET All Continents
      • GET Continent by ID
    • Countries
      • GET All Countries
      • GET Country by ID
    • Leagues
      • GET All Leagues
      • GET League by ID
    • Seasons
      • GET All Seasons
      • GET Season by ID
    • Fixtures
      • GET All Fixtures
      • GET Fixture by ID
    • Livescores
      • GET All Livescores
    • Teams
      • GET All Teams
      • GET Team by ID
      • GET Squad by Team and Season ID
    • Players
      • GET All Players
      • GET Player by ID
    • Officials
      • GET All Officials
      • GET Official by ID
    • Venues
      • GET All Venues
      • GET Venue by ID
    • Positions
      • GET All Positions
      • GET Position by ID
    • Stages
      • GET All Stages
      • GET Stage by ID
    • Team Rankings
      • GET Global Team Rankings
    • Standings
      • GET Standings by Season ID
      • GET Standings by Stage ID
    • Scores
      • GET All Scores
      • GET Score by ID
  • Relationships
    • Scoreboards
    • Official/Umpries
    • Results
  • API References
  • API Reference Guide
  • API Rate limit
  • Statuses and definitions
  • Demo response files
  • Events
  • Statistics
  • General
  • SportMonks
  • Plans & Pricing
  • FAQ
  • Contact
  • Changelog
    • Changelog
Powered by GitBook
On this page

Was this helpful?

  1. Our API
  2. Teams

GET Squad by Team and Season ID

GET Squad by Team and Season ID

https://cricket.sportmonks.com/api/v2.0/teams/{ID}/squad/{season_ID}

Endpoint details

Authorization

API Key

Pagination

NO

Allowed nested includes

0

Parameters

Available parameters

fields[object]

Only return fields you are interested in. Simply add &fields[object]=id,name,code to your request url.

sort

One or comma separated list of fields to sort on. Can be used by adding &sort= to your request url.

Sort

You can sort on all fields.

Example response

https://cricket.sportmonks.com/api/v2.0/teams/47/squad/10?api_token={API_TOKEN}
  "data": {
        "resource": "teams",
        "id": 47,
        "name": "Adelaide Strikers",
        "code": "AS",
        "image_path": "https://cdn.sportmonks.com/images/cricket/teams/15/47.png",
        "country_id": 98,
        "national_team": false,
        "updated_at": "2019-12-19T12:26:02.000000Z",
        "squad": [
            {
                "resource": "players",
                "id": 392,
                "country_id": 98,
                "firstname": "Kelvin",
                "lastname": "Smith",
                "fullname": "Kelvin Smith",
                "image_path": "https://cdn.sportmonks.com/images/cricket/players/8/392.png",
                "dateofbirth": "1994-09-05",
                "gender": "m",
                "battingstyle": "left-hand-bat",
                "bowlingstyle": "right-arm-offbreak",
                "position": {
                    "resource": "positions",
                    "id": 2,
                    "name": "Bowler"
                },
                "updated_at": "2020-04-03T06:56:02.000000Z",
                "squad": {
                    "season_id": 10
                }
            },
            {
                "resource": "players",
                "id": 393,
                "country_id": 98,
                "firstname": "Jake",
                "lastname": "Weatherald",
                "fullname": "Jake Weatherald",
                "image_path": "https://cdn.sportmonks.com/images/cricket/players/9/393.png",
                "dateofbirth": "1994-11-04",
                "gender": "m",
                "battingstyle": "left-hand-bat",
                "bowlingstyle": "legbreak",
                "position": {
                    "resource": "positions",
                    "id": 1,
                    "name": "Batsman"
                },
                "updated_at": "2020-04-02T15:10:23.000000Z",
                "squad": {
                    "season_id": 10
                }
            },
            {
                "resource": "players",
                "id": 394,
                "country_id": 98,
                "firstname": "Jonathan",
                "lastname": "Wells",
                "fullname": "Jonathan Wells",
                "image_path": "https://cdn.sportmonks.com/images/cricket/players/10/394.png",
                "dateofbirth": "1988-08-13",
                "gender": "m",
                "battingstyle": "right-hand-bat",
                "bowlingstyle": "right-arm-fast-medium",
                "position": {
                    "resource": "positions",
                    "id": 1,
                    "name": "Batsman"
                },
                "updated_at": "2020-04-03T05:27:58.000000Z",
                "squad": {
                    "season_id": 10
                }
            },
            {
                "resource": "players",
                "id": 395,
                "country_id": 98,
                "firstname": "Jake",
                "lastname": "Lehmann",
                "fullname": "Jake Lehmann",
                "image_path": "https://cdn.sportmonks.com/images/cricket/players/11/395.png",
                "dateofbirth": "1992-07-08",
                "gender": "m",
                "battingstyle": "left-hand-bat",
                "bowlingstyle": "slow-left-arm-orthodox",
                "position": {
                    "resource": "positions",
                    "id": 1,
                    "name": "Batsman"
                },
                "updated_at": "2020-04-02T15:10:40.000000Z",
                "squad": {
                    "season_id": 10
                }
            },
PreviousGET Team by IDNextPlayers

Last updated 3 years ago

Was this helpful?