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

One gallery per galleryId A single GET with the galleryId path parameter returns the whole gallery in one response, so a gallery page does not have to assemble photos from several calls.
Gallery IDs from the gallery list galleryId is the identifier returned by the photo gallery list operation. The form is preloaded with 5374, and any other gallery id from the list can be swapped in.
Captions paired with image IDs In the source example photoGalleryDetails holds a caption and an imageId for every photo, so alt text and a photo identifier arrive together and can be stored side by side.
Image IDs ready for the image operation The entries carry imageId values and no URLs. Each imageId can be passed to the image operation to fetch the actual picture at a chosen size, which keeps gallery metadata and image delivery as separate steps.
Team, series and match tags The example tags array links a gallery to teams, a tournament and a fixture through itemType, itemId and itemName, which supports filtering galleries by the entity a reader follows.
Headline, intro and publish state headline and intro give the gallery title, publishedTime records when it went live and state shows its publication status (Published in the example), useful for hiding anything not marked as published.

Live API Demo

GET /api/project/cricbuzz-cricket/images-get-gallery

Request cost is temporarily unavailable. No price is assumed.

View pricing

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/cricbuzz-cricket/images-get-gallery?key=<API_KEY>&galleryId=5374'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

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.

Related operations

Guides

View Subscription Plans →