Live stream
On each planFree keyNot includedMatch WeekIn fullArchiveNot includedProIn fullAnalyst ProIn full
Live scores pushed instead of polled: one connection sends server-sent events as they happen.
GET
https://api.cricketdatabase.com/v1/live/streamTry it
Kept in this browser and filled in on every docs page.
Parameters
| Name | Type | Required | Description | Values |
|---|---|---|---|---|
match | string | no | A live match address from /v1/live; leave out for every match in play |
Returns
| Field | Type | What it holds |
|---|---|---|
data | object | |
data.stream | string | |
data.events | object | |
data.events.snapshot | string | |
data.events.score | string | Runs and wickets, every innings |
data.events.ball | string | |
data.matches_in_play[] | array | match, name, competition, format, state, international, women, status, starts_at, venue, city, teams, innings, ball_by_ball, batting, winner, updated_at |
data.matches_in_play[].teams[].name | string | The name as shown |
data.matches_in_play[].teams[].score | string | Runs and wickets, every innings |
data.matches_in_play[].innings[].innings | integer | The innings number |
data.matches_in_play[].innings[].team | string | A side's address name |
data.matches_in_play[].innings[].runs | integer | Runs |
data.matches_in_play[].innings[].wickets | integer | Wickets |
data.matches_in_play[].innings[].overs | string | Overs faced |
data.matches_in_play[].innings[].chase_target | string or null | |
data.matches_in_play[].innings[].innings_declared | boolean | |
meta | object | |
meta.plan | string | The plan the key is on |
meta.note | string |
Example answer
A real answer for /v1/live/stream, lists cut to their first two items.
{
"data": {
"stream": "text/event-stream",
"events": {
"snapshot": "every match in play on connect, as /v1/live gives it",
"score": "a match whose score or state changed (one /v1/live row)",
"ball": "one new ball, as /v1/live/{match}/balls gives it, with its match"
},
"matches_in_play": [
{
"match": "2026-12-01-lumbini-province-under-19s-v-madhesh-province-under-19s",
"name": "Lumbini Province Under-19s v Madhesh Province Under-19s",
"competition": "Naresh Shrestha Memorial U19 Men's National Cricket Tournament 2026/27",
"format": "List A",
"state": "live",
"international": false,
"women": false,
"status": "Lumbini U19s require 59 runs",
"starts_at": "2026-12-01T03:15:00Z",
"venue": "Fapla International Cricket Ground, Dhangadi",
"city": "Dhangadi",
"teams": [
{
"name": "Lumbini Province Under-19s",
"score": "43/7 (14.4/50 ov, target 102)"
},
{
"name": "Madhesh Province Under-19s",
"score": "101"
}
],
"innings": [
{
"innings": 1,
"team": "Madhesh Province Under-19s",
"runs": 101,
"wickets": 10,
"overs": "29.3",
"chase_target": null,
"innings_declared": false
},
{
"innings": 2,
"team": "Lumbini Province Under-19s",
"runs": 43,
"wickets": 7,
"overs": "14.4",
"chase_target": 102,
"innings_declared": false
}
],
"ball_by_ball": true,
"batting": "Lumbini Province Under-19s",
"winner": null,
"updated_at": "2026-12-01T06:36:00Z"
},
{
"match": "2026-12-01-bagmati-province-under-19s-v-karnali-province-under-19s",
"name": "Bagmati Province Under-19s v Karnali Province Under-19s",
"competition": "Naresh Shrestha Memorial U19 Men's National Cricket Tournament 2026/27",
"format": "List A",
"state": "live",
"international": false,
"women": false,
"status": "Bagmati U19s require 138 runs",
"starts_at": "2026-12-01T03:15:00Z",
"venue": "Mahendranagar Cricket Ground, Mahendranagar",
"city": "Mahendranagar",
"teams": [
{
"name": "Bagmati Province Under-19s",
"score": "48/0 (6.2/50 ov, target 185)"
},
{
"name": "Karnali Province Under-19s",
"score": "184"
}
],
"innings": [
{
"innings": 1,
"team": "Karnali Province Under-19s",
"runs": 184,
"wickets": 10,
"overs": "34.1",
"chase_target": null,
"innings_declared": false
},
{
"innings": 2,
"team": "Bagmati Province Under-19s",
"runs": 48,
"wickets": 0,
"overs": "6.2",
"chase_target": 185,
"innings_declared": false
}
],
"ball_by_ball": true,
"batting": "Bagmati Province Under-19s",
"winner": null,
"updated_at": "2026-12-01T06:35:56Z"
},
"... 4 more"
]
},
"meta": {
"plan": "plus",
"note": "The call itself answers a stream of events; this is what its first event carries."
}
}
Errors
| Status | Code | When |
|---|---|---|
| 400 | bad_request | A value is not one this parameter takes, or the key was sent in the address |
| 401 | unauthorized | No key, or one that is unknown or revoked |
| 403 | upgrade_required | The plan does not reach it; the answer names the plan that does |
| 422 | unknown_parameter | A parameter this endpoint does not take |
| 429 | rate_limited | Too fast: wait for Retry-After |
| 429 | quota_exceeded | The day's calls are used: they reset at midnight UTC |