United Kingdom Nation News API

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

Get API key for the United Kingdom Nation 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=nation&apikey=API_KEY
{
    "totalArticles": 564960,
    "articles": [
        {
            "id": "f6473aa281990a482d0989081c9bb4df",
            "title": "‘Slough is like an experiment’: Europe’s largest datacentre hub leaves town sweltering",
            "description": "Emerging research suggests datacentres create a heat island effect, pushing up temperatures in the immediate vicinity by as much as 9C",
            "content": "The community living next to the largest datacentre park in Europe say the scorching summer heat has grown unbearable.\nOn days like Wednesday, said Nabeel Nawaz, the store manager of a Chaiiwala franchise in the centre of Slough, the heat is like som... [4351 chars]",
            "url": "https://www.theguardian.com/environment/2026/jun/26/slough-is-like-an-experiment-europes-largest-datacentre-hub-leaves-town-sweltering",
            "image": "https://i.guim.co.uk/img/media/ef2f3fefa8300f0bc4bb47f18e6f33e90dc4f6d5/1158_0_5800_4640/master/5800.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&precrop=40:21,offset-x50,offset-y0&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctZGVmYXVsdC5wbmc&enable=upscale&s=034ed23e5fdbc4ceca100088281a7deb",
            "publishedAt": "2026-06-26T07:02:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "id": "3f6486c015ba229246d0328fc01aafad",
            "title": "UK heatwave live: Thunderstorms hit Britain as record for June’s hottest day could be broken again",
            "description": "UK weather live updates as Met Office extends extreme heat warning",
            "content": "Swipe for next article\nLiveupdated\nUK heatwave live: Thunderstorms hit Britain as record for June’s hottest day could be broken again\nA high of 40C is forecast in the southeast of England on Friday\nHeavy rain and lightning hit the UK overnight, with ... [10916 chars]",
            "url": "https://www.independent.co.uk/weather/uk-heatwave-live-updates-weather-forecast-warnings-thunderstorms-b3003445.html",
            "image": "https://static.independent.co.uk/2026/06/25/22/2026-06-25T144651Z_1978242810_RC2Y0MA1WSBW_RTRMADP_3_EUROPE-WEATHER-BRITAIN.JPG?trim=0,0,0,0&width=1200&height=800&crop=1200:800",
            "publishedAt": "2026-06-26T06:01:00Z",
            "lang": "en",
            "source": {
                "id": "0d5c0adfb0e84da759fe48296b9f6e55",
                "name": "The Independent",
                "url": "https://www.independent.co.uk"
            }
        },
        {
            "id": "b83923472e05e6d225553ab47b0d0b1d",
            "title": "Crocodile attack: Hospital probe after boy's records accessed",
            "description": "Cambridge University Hospitals refers itself to the Information Commissioner over the breach.",
            "content": "A hospital has launched an investigation after the medical details of a child seriously injured in a crocodile pit were accessed by up to 40 members of staff.\nThe three-year-old boy, who is now in a stable condition at Addenbrooke's Hospital in Cambr... [790 chars]",
            "url": "https://www.bbc.co.uk/news/articles/cvg5kvpdd15o",
            "image": "https://ichef.bbci.co.uk/ace/branded_news/1200/cpsprodpb/c9a7/live/28c43ae0-6b3a-11f1-8546-8f19e4fe30f4.jpg",
            "publishedAt": "2026-06-26T05:43:40Z",
            "lang": "en",
            "source": {
                "id": "da05009467a13bbcc84557ea09d86db3",
                "name": "BBC",
                "url": "https://www.bbc.co.uk"
            }
        }
    ]
}

Categories