Start Plans Docs Litzscore.com Love My Apps
Get Started Usage Limits Concept Free APIs API Coverage Spider API Coverage Auth API Match API Ball By Ball API Recent Matches API Recent Seasons API Schedule API Season API Season Stats API Season Points API Season Player Stats API Over Summary API News Aggregation API Card Objects ICC Teams League Teams Properties Team Object Player Object Season Object Innings Object
  • Answer
  • Answer Metrics
  • Player Stats
  • Team Stats
  • Player Vs Team Stats
  • Player Timeline
  • Team Timeline
  • Guide API's Spider API's Reference

    Concept

    Basics


    Before you begin, you must create an app and attach plans to it. An app can have multiple plans. Plan grants access to app. Plans may expire over the time but not your app.

    • API Plan - Defines the access to cricket data for a specified duration or season.
    • Data Plan - Defines the access limitation for an app
    • Access Key & Secret key - A unique keys for your application, which is generated by us. Please don't share it with others.
    • Device ID - An unique id per device or browser, provided by you.
    • Access Token - An unique key provided by us, which expires in a a short time. To access any API, you need this token.
    • Endpoint - https://rest.cricketapi.com/
    • Current Version - 2.0.3

    Request and Response


    All API are accessible via simple HTTP protocol. Access token is required for all APIs except auth api. Response is always in JSON even when if there is an error in request. Response always follows the same structure. API is only accessible via HTTPS protocol. All API response are always gzip encoded. Read 'Content-Type' header in the response, before processing the content. Most library takes care of decoding gzip by default.

    Cache


    Our API supports Etag based caching. In all response, if a cache is applicable for the request, we will provide you Etag. You can also get ETag from the response header. When you make request with a ETag, we will return 304 status if data is not modified. Its very useful, when you are calling same api multiple times for the score update, you will save lots of bandwidth. And you don't need to refresh the screen, if nothing is changed.

    Learn more about ETag here http://en.wikipedia.org/wiki/HTTP_ETag and https://developers.facebook.com/docs/reference/ads-api/etags-reference/

    Match API

    • With match API you will get,
    • Super fast live update for cricket score.
    • Toss information.
    • Playing 11.
    • Short description about the match with timing and venue details.
    • Alert for live matches.
    • Notification for fall of wickets.
    • Squad details with exclusive player photos.
    • Man of the match for completed matches.
    • Automatic ball by ball comments.

    Schedule API

    • Correct match start time in GMT
    • Country codes of participating teams with expanded country names
    • Venue details with stadium name, place and country.
    • Finely designed png flag images for all teams
    • Tiny description about the match schedule

    Season API

    • List of all matches in a season
    • List of all participating teams
    • Player info for all teams which contains player name,
    • Venue details with stadium name and place
    • Start date and time

    Stats API

    • Points table for all teams
    • Count for matches won, lost and tie
    • Net Run Rate for every teams
    • Points earned by a team
    • Overall tournament sixes, fours
    • Top four Runs, Wickets, Sixes, Fours, Boundaries,
    • Top four batsman, bowler, catches, bowlers boundaries