Flag of the United Kingdom

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": 105515,
    "articles": [
        {
            "title": "British army’s new Ajax fighting vehicle will not be ready until end of decade",
            "description": "Labour accuse government of failing taxpayers and troops with £5.5bn programme that is already six years late",
            "content": "A troubled £5.5bn programme which is already six years late in building the British army’s new Ajax fighting vehicle won’t be delivered until the end of the decade.\nLabour accused the government of failing British taxpayers and troops after the Minis... [3428 chars]",
            "url": "https://www.theguardian.com/uk-news/2023/mar/20/british-armys-new-ajax-fighting-vehicle-will-not-be-ready-until-end-of-decade",
            "image": "https://i.guim.co.uk/img/media/3e41cfacc3f9605bb9baeb3d8313852ea459173b/0_0_3500_2101/master/3500.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctZGVmYXVsdC5wbmc&enable=upscale&s=32d72bc073b93e3899ee84e21d844fb0",
            "publishedAt": "2023-03-20T18:28:00Z",
            "source": {
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "title": "Tributes paid to boy, 17, stabbed to death at house party in Leeds",
            "description": "Police have arrested four men on suspicion of murder after Trust Junior Jordan Gangata was found injured on Sunday morning",
            "content": "Tributes have been paid to a “hardworking, funny and loyal” 17-year-old boy who was stabbed to death at a house party in Leeds.\nPolice launched a murder investigation after Trust Junior Jordan Gangata, known as TJ, was found injured at a property in ... [1937 chars]",
            "url": "https://www.theguardian.com/uk-news/2023/mar/20/tributes-paid-to-boy-17-stabbed-to-death-at-house-party-in-leeds",
            "image": "https://i.guim.co.uk/img/media/c56575ca2268ad8a0d885950c9471794e5db7ebc/0_143_2595_1557/master/2595.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctZGVmYXVsdC5wbmc&enable=upscale&s=71ffa2a72f4ab850e59b82bf41a46c76",
            "publishedAt": "2023-03-20T17:41:00Z",
            "source": {
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "title": "Bringing back Boris Johnson as UK PM would be ‘a joke’, says polls expert",
            "description": "Tories could do better than expected in May elections as Sunak shakes off predecessor’s legacy, Lord Hayward predicts",
            "content": "Bringing Boris Johnson back as Conservative leader would be seen as “an utter joke” by voters, who would not tolerate yet another change of prime minister, a leading elections expert has said.\nRobert Hayward, who is a Conservative peer but has analys... [3647 chars]",
            "url": "https://www.theguardian.com/politics/2023/mar/20/bringing-back-boris-johnson-as-uk-pm-would-be-a-joke-says-polls-expert",
            "image": "https://i.guim.co.uk/img/media/4a179adcf571bf28953438ec990a6bbe63fd0082/0_0_4000_2402/master/4000.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctZGVmYXVsdC5wbmc&enable=upscale&s=d41194298b115a90503dfafa258ad042",
            "publishedAt": "2023-03-20T17:20:00Z",
            "source": {
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        }
    ]
}

Categories