CricketLineAPI

Cricket fantasy points API for live matches

Power a fantasy score view with player points that update as the match progresses. The breakdown separates batting, bowling, fielding, and bonus points so the total can be explained to users.

Fantasy scoring data

Live player points

Points refresh after new match events are processed.

Point breakdown

Runs, boundaries, wickets, catches, stumpings, and bonuses are separated.

Match leaderboard

Request the top performers without loading every squad manually.

Series totals

Aggregate player points across the matches in a tournament.

Example fantasy response

{"match_id":"ind-eng-t20-2026-01","player":"Virat Kohli","fantasy_points":94.5,"breakdown":{"runs":62,"boundaries":14,"milestone":8,"catch":8,"bonus":2.5}}

Where fantasy points are used

Fantasy apps

Show a user's selected players with the latest points and rank.

Live leaderboards

Sort players in a match by current fantasy score.

Post-match review

Explain why a player scored or lost points.

Tournament pages

Combine match points into a series leaderboard.

Fantasy endpoints

GET /api/match/{id}/fantasy

Returns all player points for a match.

GET /api/match/{id}/fantasy/{player_id}

Returns one player and the scoring breakdown.

GET /api/match/{id}/fantasy/top

Returns the current top fantasy performers.

GET /api/series/{id}/fantasy

Returns aggregated series fantasy totals.

Implementation notes

Use the match endpoint for a playing-XI screen and the player endpoint for a detail drawer. Store the breakdown separately from the total so the interface can show why the score changed. The default scoring model follows common fantasy cricket rules, and a paid integration can map those components to a custom ruleset.

Refresh live matches on a short interval. Cache completed matches for longer because their points no longer change. If a player has not batted, bowled, or fielded yet, the player can still appear with a zero total and an empty breakdown.

Fantasy points should be presented as application data, not as a promise of contest winnings. Pair this endpoint with the scorecard or ball-by-ball feed when the product needs to show the match evidence behind the points.

Fantasy points questions

How current are live points?

Live matches are recalculated after new ball and scorecard events arrive.

Can the scoring model be adjusted?

The default model follows common fantasy rules and can be mapped to custom values.

Are completed matches stored?

Yes. Completed match points remain available for analysis and recaps.

Related cricket APIs

Start with the free cricket data tier

Create an API key, call the endpoint with a match, player, or series ID, and upgrade only when your traffic grows.

Compare API plans