Stadium Data API

Stadium Details

get

API Endpoint: Get Stadium Details

This endpoint retrieves detailed information about a specific cricket stadium based on the provided stadium ID. It is useful for obtaining various statistics and attributes related to the stadium.

Request

  • Method: GET

  • URL: https://apiv3.sportsapi360.com/cricket/api/v2/stadium/:stadiumId

  • Path Parameter:

    • stadiumId (string): The unique identifier for the stadium whose details are to be fetched.

Response

The response will return a JSON object containing the following structure:

  • image (string): URL or path to an image of the stadium.

  • venueID (string): Unique identifier for the venue.

  • fullName (string): Full name of the stadium.

  • capacity (string): Seating capacity of the stadium.

  • city (string): City where the stadium is located.

  • country (string): Country where the stadium is located.

  • bowlingEnds (string): Description of the bowling ends.

  • floodlight (string): Information regarding floodlight availability.

Additionally, the response includes venueStats, which contains detailed statistics for different formats of cricket:

  • odiDetails: Statistics for One Day Internationals.

    • avgIstInningScore (string): Average score in the first innings.

    • firstBattingWin (integer): Number of times the first batting team won.

    • firstMatch, lastMatch, highestScoreMatch, lowestScoreMatch: Objects containing details about specific matches (e.g., match name, status, score, start date).

  • testDetails: Statistics for Test matches (same structure as odiDetails).

  • t20Details: Statistics for T20 matches (same structure as odiDetails).

This structured response allows consumers of the API to easily access and utilize stadium-related information for various cricket formats.

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

OK

application/json
Responseobject
get
/cricket/api/v2/stadium/{stadiumId}
200

OK

Last updated