Get one cricket photo gallery by gallery ID, with headline, captions, image IDs and tags
View all Cricket Live Scores, Scorecards & Stats API endpoints →Returns the details of a single cricket photo gallery, selected by the required numeric `galleryId` path parameter (default 5374). Take the galleryId from the photo gallery list operation. The operation accepts no other parameters. No live probe was recorded, so the response description comes from a supplied source example that is unverified. In that example the body is an object with an `appIndex` object (`seoTitle`, `webURL`), a `headline` string, an `intro` string, a `photoGalleryDetails` array, a `photoId` integer that matches the requested gallery id, a `publishedTime` string of epoch-style digits whose unit is not documented, a `state` string (`Published` in the example) and a `tags` array. Each `photoGalleryDetails` entry has a `caption` string and an `imageId` integer; the entries carry no image URL, so the pictures themselves are fetched separately with the image operation using each imageId. Each `tags` entry has `itemId` (a string), `itemName` and `itemType`, and the example uses the types team, series and match to link the gallery to a franchise, a tournament and a fixture. The example gallery covers a single league match with eight captioned photos. Confirm the exact field set, the number of photos, the tag types and the result for an unknown or unpublished galleryId against a live response before depending on them.
API Features
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
/api/project/cricbuzz-cricket/images-get-gallery API Response (JSON)
{} curl -X GET 'https://api.opendata-api.com/api/project/cricbuzz-cricket/images-get-gallery?key=<API_KEY>&galleryId=5374'
Query Result
Use Cases
- Open the gallery a user selected from a gallery listing by passing its galleryId, then render the headline, intro and a grid of photos built from the imageId values.
- Prepare an editorial image-selection view that lists every caption beside its imageId, while usage rights and image availability are checked separately before anything is published.
- Attach a match photo gallery to a match page by reading the match-type tag in the tags array and linking its itemId to the match you already show.
- Build a team or tournament photo hub by collecting galleries whose tags contain a given team or series itemId, then ordering them by publishedTime.
- Create captioned slideshow or social-card drafts where each slide pairs a caption string with the picture fetched through its imageId.
Frequently asked questions
What does the photo gallery operation return?
It returns one gallery. No probe was recorded, so the shape comes from an unverified source example: an appIndex object, headline, intro, a photoGalleryDetails array of caption and imageId entries, photoId, publishedTime, state and a tags array.
Where do I get a valid galleryId?
Use the galleryId returned by the photo gallery list operation. The default 5374 is the sample id supplied with the parameter notes, so check which gallery it maps to in your own list response before you label it.
Does the response include image URLs?
Not in the supplied example. The photoGalleryDetails entries contain a caption and an imageId only. To show a picture, pass the imageId to the image operation, which serves the image by its identifier.
What do the tags describe?
Each tag has itemId, itemName and itemType. The example uses the types team, series and match to link the gallery to teams, a tournament and a fixture. itemId is a string there, so convert it only after checking how your own ids are stored.
Is photoId the same as galleryId?
In the source example photoId equals the requested gallery id (5374). Treat that as an example rather than a guarantee and key your own records on the id you sent.
Which unit does publishedTime use?
The example shows a string of digits that looks like an epoch value, but the unit is not documented. Compare a few values with known publication dates before you convert them.
Can I reuse these photos on my own site?
The response documents captions and image identifiers only. It does not state any licence or redistribution right, so confirm usage rights for the pictures with the content owner independently of this data.
What if a gallery has no photos or the id is unknown?
The supplied evidence does not cover that case, and no probe was recorded. Test an unknown galleryId against a live response and handle an empty or missing photoGalleryDetails array in your client.