Ranking Data API V2

Ranking Men

get

Endpoint Description

This endpoint retrieves the current rankings of men's cricket players across different formats, including One Day Internationals (ODI), Test matches, and T20 matches. The rankings are categorized into all-rounders, batsmen, and bowlers, providing a comprehensive overview of player performance.

Request Format

  • Method: GET

  • URL: https://apiv3.sportsapi360.com/cricket/api/v2/ranking/men

  • Request Body: None

Response Structure

The response is a JSON object containing the rankings for men's cricket players, structured as follows:

  • ODI:

    • men:

      • allrounder: Contains details about all-rounder rankings.

        • matchType: Type of match (e.g., ODI).

        • gender: Gender of the players (always "male" for this endpoint).

        • rank: An array of ranking objects, each representing a player.

          • playerName: Name of the player.

          • playerID: Unique identifier for the player.

          • position: Ranking position of the player.

          • Points: Points scored by the player.

          • teamID: Unique identifier for the team.

          • teamName: Name of the team.

      • bat: Similar structure as all-rounder, but for batsmen.

      • bowl: Similar structure as all-rounder, but for bowlers.

  • Test: Same structure as ODI, but for Test match rankings.

  • T20: Same structure as ODI, but for T20 match rankings.

This endpoint provides a comprehensive and structured view of the rankings of men's cricket players, allowing users to access detailed performance metrics across different formats.

Authorizations
HTTPRequired
Header parameters
x-api-keystringOptionalExample: {API_KEY}
Responses
chevron-right
200

OK

application/json
Responseobject
get
/cricket/api/v2/ranking/men
200

OK

Ranking Women

get

Endpoint Description

This API endpoint retrieves the latest women's cricket rankings across different match formats including ODI, Test, and T20.

Request

  • Method: GET

  • Endpoint: https://apiv3.sportsapi360.com/cricket/api/v2/ranking/women

Response Format

The response will be in JSON format and contains rankings for women players categorized by match type. The structure of the response includes:

  • ODI

    • women

      • allrounder

        • matchType: (string) Type of match.

        • gender: (string) Gender of the players.

        • rank: (array) List of players with their ranking details.

          • playerName: (string) Name of the player.

          • playerID: (string) Unique identifier for the player.

          • position: (integer) Ranking position of the player.

          • Points: (string) Points accumulated by the player.

          • teamID: (string) Unique identifier for the team.

          • teamName: (string) Name of the team.

      • bat: Similar structure as allrounder for batting rankings.

      • bowl: Similar structure as allrounder for bowling rankings.

  • Test

    • Structure is similar to ODI, but may contain null values for rankings.

  • T20

    • Structure is similar to ODI, with rankings for allrounders, batsmen, and bowlers.

Notes

  • The response may include null values for certain fields if there are no rankings available.

  • Ensure to handle cases where rankings may not be present for all categories.

Authorizations
HTTPRequired
Header parameters
x-api-keystringOptionalExample: {API_KEY}
Responses
chevron-right
200

OK

application/json
Responseobject
get
/cricket/api/v2/ranking/women
200

OK

Ranking Team

get

Endpoint Description

This API endpoint retrieves the current rankings of cricket teams across different formats (ODI, Test, T20) for both men and women.

Request

  • Method: GET

  • Endpoint: https://apiv3.sportsapi360.com/cricket/api/v2/ranking/team

Response Format

The response will be a JSON object containing the rankings for each format of cricket. The structure of the response is as follows:

  • ODI:

    • men:

      • team:

        • matchType: (string)

        • rank: (array of objects)

          • position: (string)

          • Rating: (string)

          • teamName: (string)

          • teamID: (string)

    • women:

      • team:

        • matchType: (string)

        • rank: (array of objects)

          • position: (string)

          • Rating: (string)

          • teamName: (string)

          • teamID: (string)

  • Test:

    • men:

      • team:

        • matchType: (string)

        • rank: (array of objects)

          • position: (string)

          • Rating: (string)

          • teamName: (string)

          • teamID: (string)

    • women:

      • team:

        • matchType: (null)

        • rank: (null)

  • T20:

    • men:

      • team:

        • matchType: (string)

        • rank: (array of objects)

          • position: (string)

          • Rating: (string)

          • teamName: (string)

          • teamID: (string)

    • women:

      • team:

        • matchType: (string)

        • rank: (array of objects)

          • position: (string)

          • Rating: (string)

          • teamName: (string)

          • teamID: (string)

Notes

  • The matchType indicates the type of match for which the ranking is applicable.

  • The rank array contains the ranking details for each team, including their position, rating, name, and unique identifier.

Authorizations
HTTPRequired
Header parameters
x-api-keystringOptionalExample: {API_KEY}
Responses
chevron-right
200

OK

application/json
Responseobject
get
/cricket/api/v2/ranking/team
200

OK

Last updated