The Guardian
Overview
Major UK/international news outlet. Open public REST API at content.guardianapis.com for searching articles, fetching full content, and browsing section feeds.
Workflows
Search for articles on a topic
searchArticles(q) → id, webTitle, sectionId, webPublicationDate
getArticle(ids=id) → fields.body, fields.headline, fields.byline
Browse latest news in a section
getSectionFeed(section) → id, webTitle, webPublicationDate
getArticle(ids=id) → full article body
Research a topic across sections
searchArticles(q, order-by: newest) → recent coverage
getSectionFeed(section) → compare coverage across sections
Operations
| Operation |
Intent |
Key Input |
Key Output |
Notes |
| searchArticles |
find articles by keyword |
q |
id, webTitle, sectionId, webPublicationDate, fields |
entry point, paginated |
| getArticle |
full article content |
ids <- searchArticles / getSectionFeed |
fields.body, fields.headline, fields.byline |
body is HTML |
| getSectionFeed |
latest in a section |
section |
id, webTitle, webPublicationDate, fields |
defaults to newest first |
Quick Start
# Search for articles
openweb guardian exec searchArticles '{"q": "artificial intelligence"}'
# Get a specific article (use id from search results)
openweb guardian exec getArticle '{"ids": "technology/2025/dec/10/police-facial-recognition-technology-bias"}'
# Get latest technology articles
openweb guardian exec getSectionFeed '{"section": "technology"}'
# Get latest world news
openweb guardian exec getSectionFeed '{"section": "world"}'
1---2name: guardian3description: The Guardian4---5# The Guardian67## Overview8Major UK/international news outlet. Open public REST API at content.guardianapis.com for searching articles, fetching full content, and browsing section feeds.910## Workflows1112### Search for articles on a topic131. `searchArticles(q)` → `id`, webTitle, sectionId, webPublicationDate142. `getArticle(ids=id)` → fields.body, fields.headline, fields.byline1516### Browse latest news in a section171. `getSectionFeed(section)` → `id`, webTitle, webPublicationDate182. `getArticle(ids=id)` → full article body1920### Research a topic across sections211. `searchArticles(q, order-by: newest)` → recent coverage222. `getSectionFeed(section)` → compare coverage across sections2324## Operations2526| Operation | Intent | Key Input | Key Output | Notes |27|-----------|--------|-----------|------------|-------|28| searchArticles | find articles by keyword | q | id, webTitle, sectionId, webPublicationDate, fields | entry point, paginated |29| getArticle | full article content | ids <- searchArticles / getSectionFeed | fields.body, fields.headline, fields.byline | body is HTML |30| getSectionFeed | latest in a section | section | id, webTitle, webPublicationDate, fields | defaults to newest first |3132## Quick Start3334```bash35# Search for articles36openweb guardian exec searchArticles '{"q": "artificial intelligence"}'3738# Get a specific article (use id from search results)39openweb guardian exec getArticle '{"ids": "technology/2025/dec/10/police-facial-recognition-technology-bias"}'4041# Get latest technology articles42openweb guardian exec getSectionFeed '{"section": "technology"}'4344# Get latest world news45openweb guardian exec getSectionFeed '{"section": "world"}'46```