Get the full text and metadata of one cricket news story

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

Returns the full detail of a single news story, selected by the required numeric `newsId` path parameter (default 122025). Take the newsId from the `id` field of a story returned by the news list, news by category or news by topic operations. No live probe was recorded for this operation, so the response description comes from a supplied source example (3,356 characters, not truncated) and is unverified. In that example the body is one object with an `appIndex` object (`seoTitle`, `webURL`), an `authors` array (each entry has `id`, `imageId`, `name` and `twitterHandle`), a `content` array, `headline`, `intro`, `context`, `storyType`, `source`, an integer `id`, the string timestamps `publishTime` and `lastUpdatedTime` (epoch-style digits whose unit is not documented), an empty `entitlements` object, a `coverImage` with `caption`, `id` and `source`, a `tags` array and a `format` array. Each `content` entry is either a `content` object holding `contentType` (`text` in the example) and `contentValue` (one paragraph), sometimes with `hasFormat`, or an `ad` object with `layout`, `name` and `position`, so a client has to skip the ad slots. Paragraphs flagged with `hasFormat` contain short placeholder markers, and the `format` array (entries of type `urls` and `links`, each with an `id` and a `value`) lists what each marker stands for. Each `tags` entry has `itemId`, `itemName` and `itemType` (`team` and `player` in the example). The article body is editorial content, so confirm your content-use terms before storing or republishing it, and check the exact field set against a live response before depending on it.

API Features

One story by newsId A single GET with the newsId path parameter returns one story, so a reader screen opens the exact article the user tapped in a list instead of searching by title.
Paragraph-level article body In the source example the content array holds one contentValue per paragraph with a contentType of text, which lets you render the article as separate blocks rather than one string.
Author objects with IDs The authors array carries id, imageId, name and twitterHandle for each byline. The author id is the key for the author profile and author article list operations.
Team and player tags Each tags entry holds itemId, itemName and itemType (team or player in the example), so a story page can link to related team and player pages that use the same identifiers.
Placeholder markers resolved by format Paragraphs flagged with hasFormat contain short markers, and the format array maps each marker id to a urls or links value so inline links can be rebuilt on the client.
Cover image and timestamps The example includes a coverImage with caption, id and source plus publishTime and lastUpdatedTime strings, enough for a hero image block and a published or updated label.

Live API Demo

GET /api/project/cricbuzz-cricket/news-detail

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/news-detail?key=<API_KEY>&newsId=122025'
📢
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 news detail operation return?

It returns one news story selected by newsId. No probe was recorded, so the shape comes from an unverified source example: appIndex, authors, a content array of paragraphs and ad placeholders, headline, intro, context, coverImage, tags, format and timestamps.

Where do I get a valid newsId?

Use the id field of a story returned by the news list, news by category or news by topic operations. The default value 122025 is the sample id supplied with the parameter notes, so confirm your own ids against a list response.

How is the article text structured?

In the source example the content array holds entries with a content object, which has contentType and contentValue for one paragraph, mixed with ad objects that hold layout, name and position. Skip the ad entries and join the paragraphs in order to rebuild the text.

What are hasFormat and the format array for?

In the example, a paragraph flagged with hasFormat contains a short placeholder marker. The format array has entries of type urls and links that give each marker id a value. Substitute them yourself if you want inline links, and treat the behaviour as unverified.

How do I find the author or related players and teams?

The authors array lists id, name, imageId and twitterHandle for each byline, and the tags array lists itemId, itemName and itemType for related teams and players. Pass those ids to the matching author, team or player operations.

Can I store or republish the article text?

The returned text is editorial content, and this documentation does not grant redistribution rights. Check the content-use terms that apply to you before you store, mirror or republish article bodies.

Which response fields are verified?

None of them have been confirmed by a live probe for this operation. The fields named here come from a supplied source example, so check them against your own response, especially the timestamp units and the format array.

What happens with an unknown newsId?

The supplied evidence does not show a response for an unknown or removed newsId. It may return an empty body or an error status, so handle that case defensively in your client.

Related operations

Guides

View Subscription Plans →