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": 123615,
    "articles": [
        {
            "title": "Two Premier League players arrested over allegation of rape",
            "description": "Two 19-year-old footballers were arrested and released on bail, police said",
            "content": "For free real time breaking news alerts sent straight to your inbox sign up to our breaking news emails Sign up to our free breaking news emails Please enter a valid email address Please enter a valid email address SIGN UP I would like to be emailed ... [1616 chars]",
            "url": "https://www.independent.co.uk/news/uk/crime/premier-league-players-rape-arrest-b2533922.html",
            "image": "https://static.independent.co.uk/2023/08/25/15/3_2.png?quality=75&width=1200&auto=webp",
            "publishedAt": "2024-04-24T11:50:23Z",
            "source": {
                "name": "The Independent",
                "url": "https://www.independent.co.uk"
            }
        },
        {
            "title": "Ukraine-Russia war live news: US to send weapons to Kyiv ‘this week’ after £76bn aid package approved",
            "description": "The US Senate has passed £49bn in military aid for Ukraine which can be delivered ‘within days’",
            "content": "✕ Close Representatives celebrate and wave flags after Congress passes Ukraine aid package\nFor free real time breaking news alerts sent straight to your inbox sign up to our breaking news emails Sign up to our free breaking news emails Please enter a... [1433 chars]",
            "url": "https://www.independent.co.uk/news/world/europe/russia-ukraine-war-news-latest-aid-package-b2533791.html",
            "image": "https://static.independent.co.uk/2024/04/24/10/SEI201186890.jpg?quality=75&width=1200&auto=webp",
            "publishedAt": "2024-04-24T11:03:01Z",
            "source": {
                "name": "The Independent",
                "url": "https://www.independent.co.uk"
            }
        },
        {
            "title": "Two Premier League stars, both 19, arrested in a rape probe are 'suspended by their club'",
            "description": "Two Premier League stars, both aged 19, who were both arrested in a police rape probe have now reportedly been suspended by their football club (stock photo)",
            "content": "Two Premier League stars who were both arrested in a police rape probe have now reportedly been suspended by their football club.\nThe two unnamed footballers, both 19, are from the same club and were arrested at the weekend after the alleged victim m... [2541 chars]",
            "url": "https://www.dailymail.co.uk/news/article-13344459/club-suspends-two-premier-league-stars-arrested-rape-probe.html",
            "image": "https://i.dailymail.co.uk/1s/2024/04/24/11/84002413-0-image-m-26_1713953575915.jpg",
            "publishedAt": "2024-04-24T10:30:12Z",
            "source": {
                "name": "Daily Mail",
                "url": "https://www.dailymail.co.uk"
            }
        }
    ]
}

Categories