Get a cricket image by its image ID, with optional quality (d) and size (p) values.

View all Cricket Live Scores, Scorecards & Stats API endpoints →

Request a cricket image by ID. The path parameter imageId is required and is a string: take the numeric image ID supplied by another endpoint, such as a player profile, and add the letter c in front of it. The supplied default is c231889. Two optional query parameters are documented. d accepts high or low, and p specifies the image size as one of de, det, gthumb or thumb. The source text does not explain what each value changes visually, so test the options you plan to use. The path ends in i.jpg, so the request targets a JPEG image resource rather than a JSON document. No response was observed for this operation in the supplied probe evidence, and the only supplied response example is an empty object, so the returned content type, byte size and pixel dimensions for each d and p value are not verified. Keep the image ID as the linking key to the endpoint that supplied it, and confirm that you have the right to publish a given image before using it in a product.

API Features

Image lookup by identifier A single imageId in the path selects the picture, so any ID that another endpoint supplies can be turned into an image request without extra lookups.
Letter-c ID convention The parameter note says to add c in front of the numeric image ID, and the default c231889 shows the exact form to build in code.
Optional quality selector The d query parameter accepts high or low, giving a client a way to ask for a heavier or lighter version when screen size or bandwidth differs.
Four documented size presets The p query parameter takes one of de, det, gthumb or thumb, so list rows, cards and detail views can request different presets from the same image ID.
Direct JPEG path The route ends in i.jpg, which fits an img element or a download step in a build pipeline better than a JSON parser.

Live API Demo

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

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-image?key=<API_KEY>&imageId=c231889'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

How do I build the imageId value?

Take the numeric image ID supplied by another endpoint, such as a player profile, and add the letter c in front of it. The supplied default c231889 shows the form. The ID is passed as a string path segment.

What do the d and p parameters accept?

d is optional and documented as high or low. p is optional, specifies the image size, and is documented as one of de, det, gthumb or thumb. Both can be left out, and values outside those lists are not documented.

What does the endpoint return?

The route ends in i.jpg and the operation is described as getting an image by ID, so expect an image resource rather than JSON. The only supplied response example is an empty object, so the content type and size of the result are not verified.

Were these behaviours observed in a probe?

No. No response was observed for this operation in the supplied probe evidence. The parameter values come from the endpoint documentation, and the effect of each d and p value should be checked with your own request.

Where do I get an image ID?

From other responses that carry an image identifier, for example a player profile. Keep that source ID next to the generated image URL in your data model so you can trace a picture back to the record that supplied it.

Can I publish any image this returns?

Do not assume so. Having the technical ability to request an image does not grant redistribution rights. Check the image-use terms for your product before showing player or editorial pictures publicly.

What should I do if an image does not load?

Confirm the ID has the c prefix, retry without d and p, and fall back to a placeholder avatar in your interface. Coverage of images depends on the ID, and the documentation does not describe an error body.

Related operations

Guides

View Subscription Plans →