United Kingdom News API

Get the live top headlines from United Kingdom with our JSON API.

Get API key for the United Kingdom News API

API Demonstration

This example demonstrates the HTTP request to make and the JSON response you will receive when you use the news api to get the top headlines from United Kingdom.

GET
https://gnews.io/api/v4/top-headlines?country=gb&category=general&apikey=API_KEY
{
    "totalArticles": 565982,
    "articles": [
        {
            "id": "b7e357ae1124867f59e5838bd5d8e37d",
            "title": "Starmer 'fights on', says deputy PM, as he says Labour must unite to contest by-election",
            "description": "David Lammy tells the BBC that it is time the party \"gets back on the pitch after days of introspection and infighting\".",
            "content": "Labour leadership speculation reopens Brexit debate\nFollowing Labour's poor local election results, Prime Minister Keir Starmer said he wanted his government to be \"defined\" by \"rebuilding our relationship with Europe, by putting Britain at the heart... [11158 chars]",
            "url": "https://www.bbc.com/news/live/crlp25prw6lt",
            "image": "https://ichef.bbci.co.uk/ace/branded_news/1200/cpsprodpb/5efd/live/948ce400-5287-11f1-8a13-e989d3b4b6c8.jpg",
            "publishedAt": "2026-05-18T08:13:36Z",
            "lang": "en",
            "source": {
                "id": "f331a5ed3965fb59761dfcecfc7e7a34",
                "name": "BBC",
                "url": "https://www.bbc.com"
            }
        },
        {
            "id": "83f79706fd39865fd7cc72084da4dd8b",
            "title": "Thailand: Crashed train driver tested positive for drugs, police say",
            "description": "The freight train collided with a bus in Bangkok, killing eight people and injuring dozens of others.",
            "content": "The driver of a freight train involved in a fatal collision with a public bus in Bangkok has tested positive for drugs and been charged with reckless driving, authorities say.\nThe collision, which happened at the Asoke-Din Daeng railway crossing on S... [1808 chars]",
            "url": "https://www.bbc.co.uk/news/articles/c3v2ngnpgl9o",
            "image": "https://ichef.bbci.co.uk/ace/branded_news/1200/cpsprodpb/48e7/live/872d91a0-5283-11f1-8a13-e989d3b4b6c8.jpg",
            "publishedAt": "2026-05-18T07:03:56Z",
            "lang": "en",
            "source": {
                "id": "da05009467a13bbcc84557ea09d86db3",
                "name": "BBC",
                "url": "https://www.bbc.co.uk"
            }
        },
        {
            "id": "51e9bbd9e80b5ff5850bee8bc7683995",
            "title": "Brit tourist, 38, dies after plunging off 400ft cliff at beauty spot in Spain",
            "description": "A BRIT tourist has died after plunging 400ft from a popular viewpoint in a Spanish holiday hotspot.\nThe holidaymaker, 38, is understood to have...",
            "content": "A BRIT tourist has died after plunging 400ft from a popular viewpoint in a Spanish holiday hotspot.\nThe holidaymaker, 38, is understood to have fallen from a beauty spot in Mount Urgull, San Sebastian, before a horrified bystander alerted cops.\nAdver... [1883 chars]",
            "url": "https://www.thesun.co.uk/news/39137922/brit-tourist-dies-plunge-spain/",
            "image": "https://www.thesun.co.uk/wp-content/uploads/2026/05/la-concha-bay-background-city-909224559.jpg?quality=90&strip=all&w=1920&h=1080&crop=1",
            "publishedAt": "2026-05-18T06:06:00Z",
            "lang": "en",
            "source": {
                "id": "8312b3960d99553247ab475ee7eeed9a",
                "name": "The Sun",
                "url": "https://www.thesun.co.uk"
            }
        }
    ]
}

Categories