What it returns
Every ball of 23,000+ cricket matches: Tests, ODIs, T20Is and T20 leagues (IPL, BBL, PSL, CPL, The Hundred, WPL), men's and women's. Match results, ball-by-ball deliveries with running score, and batting and bowling cards. Data from Cricsheet, updated weekly.
Request
POST https://api.pushbuild.com/cricket-ball-by-ball/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
output | string: matches, deliveries, batting, bowling | matches: one row per match. deliveries: every ball (needs matchIds or player). batting / bowling: per-player cards for each match. Default: "matches". |
team | string | e.g. India, Mumbai Indians. |
event | string | e.g. Indian Premier League, Big Bash League, ICC Men's T20 World Cup. |
matchType | string: Test, ODI, T20, IT20, ODM, MDM | |
gender | string: male, female | |
teamType | string: international, club | |
dateFrom | string | |
dateTo | string | |
matchIds | list of strings | Cricsheet match ids from the matches output. |
player | string | Scorecard name, e.g. V Kohli. Not used by the matches output. |
maxItems | integer | Maximum items to return (1-500). Default: 100. |
offset | integer | Default: 0. |
Example
curl -X POST https://api.pushbuild.com/cricket-ball-by-ball/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"maxItems": 20}'
Response
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.
Pricing
Pay only for results returned: $0.16 per 1,000 rows. No charge for errors or empty searches.
Related APIs
Academic Papers Search API
Search scholarly papers across Crossref (150M+ works), arXiv and PubMed in one run.
Art Institute of Chicago API
Artworks from the Art Institute of Chicago collection: title, artist, date, medium, dimensions, place of origin, department, type, classification, style, public-domain and on-view flags, gallery, credit line, subject terms and a IIIF image URL.
Article & Web Page to Markdown API
Turn any URLs into clean, Markdown, text or JSON.
Bitcoin Fees API
Bitcoin network data from mempool.space: recommended fee rates (sat/vB), projected next blocks, mempool size, recent blocks with fees, reward and mining pool, difficulty adjustment estimate, hashrate and difficulty history, and mining pool share..
Bitstamp API
Bitstamp exchange public market data: 24h ticker for every pair (last, bid, ask, open, high, low, VWAP, volume in base and quote, change) and OHLC candles from 1 minute to 3 days, up to 1,000 per pair..
Book Search API
Search millions of books by keyword, title, author, subject or ISBN, plus author lookup.
Tell us what you need built.
Questions about this API, higher volumes, or a data source you need that we don't cover yet.
hello@pushbuild.com