GET/sun/articleapiKey2 credits/request
Returns one The Sun article by `url`, a canonical HTTPS article link. The response has the title, description, section, authors, publication and update times, lead image URL, body `paragraphs` and a `paywalled` flag. Subscriber-only or blocked pages return an error instead.
Required: url.
Sampled 14 Oct 2026: 8 fields returned with a value. In the sample: published_at: 2026-10-13; section: “News”; url: thesun.co.uk; title: 119 characters; authors: 1 entry; updated_at: 2026-10-13; image_url: thesun.co.uk; paragraphs: 23 entries.
Open in Playground
GET/sun/authorapiKey2 credits/request
Returns a Sun author's profile by `url`, a canonical `thesun.co.uk/author/<slug>/` link: name, job title, bio and recent articles with title, URL, excerpt, category and category URL. `job_title` is often empty because most Sun bylines carry only a name and bio.
Required: url.
Sampled 14 Oct 2026: 18 items. Filled in every item: title, url, category, category_url. Not in every item: excerpt (1). In the sample: url: thesun.co.uk; title: median 75 characters; category_url: thesun.co.uk; excerpt: median 211 characters.
Open in Playground
GET/sun/headlinesapiKey1 credit/request
Returns the current headlines for one The Sun section. `section` is required and takes one of `news`, `politics`, `royal-family`, `sport`, `showbiz`, `money`, `tech`, `fabulous`, `travel` or `health`. Every item has its title and URL. The `news` section also carries summary, author, publication time and image when the outlet provides them.
Required: section (10 allowed values: news, politics, royal-family, sport, showbiz, money, tech, fabulous, travel, health).
Sampled 14 Oct 2026: 14 items. Filled in every item: title, url, summary, published_at, image_url. Not in every item: author (13). In the sample: published_at: 2026-10-13; url: thesun.co.uk; title: median 115 characters; summary: median 332 characters; image_url: thesun.co.uk.
Open in Playground
GET/sun/newsapiKey1 credit/request
Returns the current top stories from The Sun. It takes no parameters. Each item has its title, URL and, where available, a summary, author, publication time, image URL and `type`. Use the headlines endpoint to read one section.
Takes no parameters.
Sampled 14 Oct 2026: 14 items. Filled in every item: title, url, summary, published_at, image_url. Not in every item: author (13). In the sample: published_at: 2026-10-13; url: thesun.co.uk; title: median 115 characters; summary: median 332 characters; image_url: thesun.co.uk.
Open in Playground
GET/sun/sectionsapiKey1 credit/request
Lists the The Sun sections that the headlines endpoint accepts, such as `news`, `politics`, `royal-family`, `sport`, `showbiz`, `money`, `tech`, `fabulous`, `travel` and `health`. Each entry has a `slug`, a display `name` and a section `url`.
Takes no parameters.
Sampled 14 Oct 2026: 10 items. Filled in every item: slug, name, url. In the sample: name: “News” and 9 other values; url: thesun.co.uk.
Open in Playground