Flag of the United Kingdom

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": 132063,
    "articles": [
        {
            "title": "Erik ten Hag FUMES at Man United's underperforming stars and warns Mason Mount and Co that their defeat against Rosenborg was 'not the standard for top football'",
            "description": "Erik ten Hag has been left fuming with his Man United players following a pre-season defeat to Rosenborg, warning his young stars they were nowhere near the standards he demands.",
            "content": "Erik ten Hag has been left fuming with his Manchester United players following a pre-season defeat to Rosenborg, warning his young stars they were nowhere near the standards he demands.\nUnited lost 1-0 with what was almost the very last kick of the g... [2886 chars]",
            "url": "https://www.dailymail.co.uk/sport/football/article-13637115/Erik-ten-Hag-fume-Man-United-Rosenborg-Mason-Mount-Marcus-Rashford.html",
            "image": "https://i.dailymail.co.uk/1s/2024/07/15/20/87370337-0-image-a-16_1721070773800.jpg",
            "publishedAt": "2024-07-15T19:16:05Z",
            "source": {
                "name": "Daily Mail",
                "url": "https://www.dailymail.co.uk"
            }
        },
        {
            "title": "Donald Trump picks Ohio senator JD Vance as 2024 running mate",
            "description": "Former US marine and author of ‘Hillbilly Elegy’ once described ex-president as an ‘idiot’",
            "content": "Print this page\nThe stories that matter on money and politics in the race for the White House\nDonald Trump has picked Senator JD Vance as his running mate, elevating a former US marine who grew up poor in a move that could help the former president w... [3848 chars]",
            "url": "https://www.ft.com/content/aef1a7cf-13ee-4c8a-9509-e7218aa2429a",
            "image": "https://www.ft.com/__origami/service/image/v2/images/raw/https%3A%2F%2Fwww.ft.com%2F__origami%2Fservice%2Fimage%2Fv2%2Fimages%2Fraw%2Fhttps%253A%252F%252Fd1e00ek4ebabms.cloudfront.net%252Fproduction%252F015c5046-e92f-4399-ba20-34832dba54f6.jpg%3Fsource%3Dnext-article%26fit%3Dscale-down%26quality%3Dhighest%26width%3D700%26dpr%3D1?source=next-opengraph&fit=scale-down&width=900",
            "publishedAt": "2024-07-15T19:15:05Z",
            "source": {
                "name": "Financial Times",
                "url": "https://www.ft.com"
            }
        },
        {
            "title": "Yvette Cooper says ‘disgraceful scenes’ of election candidate abuse must end",
            "description": "Ministers will meet to address what home secretary calls an alarming rise in intimidation of politicians",
            "content": "An alarming rise in candidate intimidation during the UK’s general election campaign will be addressed next week at a meeting of ministers and civil servants, the home secretary has said.\nYvette Cooper said there had been “disgraceful scenes” in some... [4133 chars]",
            "url": "https://www.theguardian.com/politics/article/2024/jul/15/yvette-cooper-disgraceful-scenes-election-campaign-abuse-intimidation-harassment-candidates-mps",
            "image": "https://i.guim.co.uk/img/media/a989836a8b0e6e8af5de5ec6054be661ebd9fedf/0_74_4182_2509/master/4182.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctZGVmYXVsdC5wbmc&enable=upscale&s=9ef2e8e27685bbdcecf701cc12b6038f",
            "publishedAt": "2024-07-15T18:52:00Z",
            "source": {
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        }
    ]
}

Categories