The Guardian
communityBritish daily newspaper with open API. Covers world news, politics, culture, sport, and opinion.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://content.guardianapis.com/searchSearch articles via Open Platform API
Parameters
qsearch query (stringoptionalapi-keyAPI key (stringrequiredsectionworld|politics|technology|science|business|sport|culture (stringoptionalfrom-dateYYYY-MM-DD (stringoptionalpage-sizeresults per page (integeroptionalReturns
response.results[] with id, webTitle, webUrl, sectionName, webPublicationDate, fieldsGET
https://content.guardianapis.com/{id}Get article content
Parameters
idcontent path (stringrequiredapi-keyAPI key (stringrequiredshow-fieldsbodyoptional— headline, thumbnail, byline (stringReturns
response.content with id, webTitle, webUrl, fields.body, fields.byline, webPublicationDateGET
https://content.guardianapis.com/sectionsList content sections
Parameters
api-keyAPI key (stringrequiredReturns
response.results[] with id, webTitle, webUrl, editions[]