Leagues

The leagues endpoint typically serves as the initial access point for most users. Sending a request to this API will result in a response containing information about all the leagues available to you, depending on the subscription plan you have.

The leagues endpoint provides you with League information ID, league name, image etc.

API Request

https://cricket.sportsjupiter.com/v1/leagues?api_token={api_token}

API Response
{
  "data": [
    {
      "id": 2,
      "name": "One Day International",
      "code": "ODI",
      "image_url": "https://d2419d3f12rvro.cloudfront.net/cricket/assets/leagues/2.png",
      "type": "leagues"
    },
    {
      "id": 3,
      "name": "Twenty20 International",
      "code": "T20I",
      "image_url": "https://d2419d3f12rvro.cloudfront.net/cricket/assets/leagues/3.png",
      "type": "leagues"
    },
    {
      "id": 4,
      "name": "Test Series",
      "code": "TEST",
      "image_url": "https://d2419d3f12rvro.cloudfront.net/cricket/assets/leagues/4.png",
      "type": "leagues"
    },
    {
      "id": 5,
      "name": "Big Bash League",
      "code": "BBL",
      "image_url": "https://d2419d3f12rvro.cloudfront.net/cricket/assets/leagues/5.png",
      "type": "leagues"
    },
    {
      "id": 111,
      "name": "ICC World Test Championship",
      "code": "WTC",
      "image_url": "https://d2419d3f12rvro.cloudfront.net/cricket/assets/leagues/111.png",
      "type": "leagues"
    },
    {
      "id": 258,
      "name": "Twenty20 International Women",
      "code": "T20IW",
      "image_url": "https://d2419d3f12rvro.cloudfront.net/cricket/assets/leagues/258.png",
      "type": "leagues"
    },
    {
      "id": 261,
      "name": "One Day International Women",
      "code": "ODIW",
      "image_url": "https://d2419d3f12rvro.cloudfront.net/cricket/assets/leagues/261.png",
      "type": "leagues"
    }
  ]
}

Downloads

Last updated