Flag of 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": 483148,
    "articles": [
        {
            "id": "4c5aa997b7fec11c5f9030ba46522d86",
            "title": "Is it true that … more testosterone means more muscle?",
            "description": "Popular diet tweaks may boost the hormone a little, but the effect on your pecs is likely to be limited",
            "content": "It’s an increasingly popular idea: “boosting” testosterone with diet tweaks – increasing foods rich in zinc and magnesium – hoping to build muscle faster. But the reality is more nuanced.\nTestosterone is an androgen hormone that plays a key role in d... [1576 chars]",
            "url": "https://www.theguardian.com/lifeandstyle/2026/apr/06/is-it-true-that-more-testosterone-means-more-muscle",
            "image": "https://i.guim.co.uk/img/media/f5afd813f5a148774808e7522606d479741b4f99/0_2_1188_950/master/1188.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=5e3c55d8090ccd8e3f45a8af177c924a",
            "publishedAt": "2026-04-06T07:00:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "id": "04c9c3a135cf2e85eebe567218203202",
            "title": "Multiple city centre streets cordoned off after man 'threatened with gun'",
            "description": "Multiple police cordons are in place in the city centre this morning",
            "content": "Multiple streets in Liverpool city centre have been sealed off after a reports a man was threatened with a gun. There are currently cordons in place on Button Street, Mathew Street, Victoria Street and part of Whitechapel.\nLarge portions of the Caver... [1130 chars]",
            "url": "https://www.liverpoolecho.co.uk/news/liverpool-news/liverpool-city-centre-live-police-33720545",
            "image": "https://i2-prod.liverpoolecho.co.uk/article33720546.ece/ALTERNATES/s1200d/0_WhatsApp-Image-2026-04-06-at-065512jpeg.jpg",
            "publishedAt": "2026-04-06T06:48:35Z",
            "lang": "en",
            "source": {
                "id": "1aa6f0dbd00b7d9acf000f0ae47eaa40",
                "name": "Liverpool Echo",
                "url": "https://www.liverpoolecho.co.uk"
            }
        },
        {
            "id": "7be009b33d3e9dfc918b8000f32c08dc",
            "title": "The professional sports gamblers being hunted down by the bookies",
            "description": "Bookmakers are weeding out profitable punters and even losing bets can cause accounts to be closed with profit margins tighter than ever",
            "content": "In early 2019, Dave McNeill endured a catastrophic series of betting losses with William Hill. Over six months, he lost £40,000.\nWhile McNeill’s losses soared, William Hill continually offered tickets for an array of sporting events. “They kept calli... [13722 chars]",
            "url": "https://www.telegraph.co.uk/sport/2026/04/06/professional-sport-gamblers-closed-down-bookmakers-sharps/",
            "image": "https://www.telegraph.co.uk/content/dam/sport/2026/04/03/TELEMMGLPICT000476608648_17752027869210_trans_NvBQzQNjv4BqqVzuuqpFlyLIwiB6NTmJwfSVWeZ_vEN7c6bHu2jJnT8.jpeg?impolicy=OG-Standard",
            "publishedAt": "2026-04-06T05:00:00Z",
            "lang": "en",
            "source": {
                "id": "0fc579b3cc7a823fd67a74b9ed6f0796",
                "name": "The Telegraph",
                "url": "https://www.telegraph.co.uk"
            }
        }
    ]
}

Categories