Get all your news in one place.
100’s of premium titles.
One app.
Start reading
The Guardian - UK
The Guardian - UK
Michael Brunton-Spall & Stephen Wells

Related content now available in the Content API

We have added the ability to find related content for a specific content item, in much the same way as our website shows you at the bottom of an article. We have also made some minor infrastructure changes behind the scenes that improves performance.

To get the related content, make a request to the item endpoint at http://content.guardianapis.com/open-platform/getting-started.json
and then add the show-related parameter, for example: http://content.guardianapis.com/open-platform/getting-started.json?show-related=true

This will return back the same results as before, but there will also be a relatedContent element list that contains the related items. The show-fields and show-tags parameters will apply to the related items as well as the main item, which should let you see the body, headline etc. of each item of related content.

We've updated the content API explorer to add a checkbox on the item endpoint to turn related content on and off. You can see this in the explorer

We hope you enjoy this feature and look forward to releasing more features soon. If you have a requirement or suggestion then we'd love to hear from you, feel free to contact us at openplatform@guardian.co.uk or via this mailing list.

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.