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": 495638,
    "articles": [
        {
            "id": "bfcd85f5e7c07ecfd359ab84ea93bb5d",
            "title": "Social media ban for under 16s could be in force this year",
            "description": "The prime minister will use new powers to force through faster changes to the law, which could include phone curfews or a clampdown on scrolling features",
            "content": "Downing Street insisted that a consultation was necessary to consider how any social media ban might work, but that changes announced on Sunday would enable ministers to act without having to wait potentially years for new legislation to come into fo... [4633 chars]",
            "url": "https://www.thetimes.com/uk/politics/article/social-media-fuels-gender-dysphoria-among-children-says-expert-lfnt72vv8",
            "image": "https://www.thetimes.com/imageserver/image/%2Fe1112fd7-aa8e-4781-bec0-751432c9310c.jpg?crop=2928%2C1647%2C0%2C21&resize=1200",
            "publishedAt": "2026-02-15T22:30:00Z",
            "lang": "en",
            "source": {
                "id": "9e0e1039092ec85a0b069e08b66bb337",
                "name": "The Times",
                "url": "https://www.thetimes.com"
            }
        },
        {
            "id": "1fa67fee94fd5b170bb80f8fd5a8b64e",
            "title": "Habib Diarra on the spot as Sunderland ease past toothless Oxford",
            "description": "A first-half penalty from Habib Diarra secured a 1-0 win for Sunderland over Oxford United in the fourth round of the FA Cup",
            "content": "Precipitation not perspiration was the order of the day at the Kassam Stadium, as the rain hammered down on the banks of a bloated river Thames and Sunderland made it to the FA Cup fifth round without having to break a sweat.\nHabib Diarra’s first‑hal... [4109 chars]",
            "url": "https://www.theguardian.com/football/2026/feb/15/oxford-sunderland-fa-cup-fourth-round-match-report",
            "image": "https://i.guim.co.uk/img/media/a5ee36954874a7b3954ebc9bee6754d01c1d2db0/318_24_1721_1376/master/1721.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=afa152564d4980038902ae5d54db36f8",
            "publishedAt": "2026-02-15T21:42:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "id": "c61513f44ff548e9a3a768aeae0b00e4",
            "title": "UK’s top prosecutor says ‘nobody above law’ amid claims against former prince Andrew",
            "description": "Director of public prosecutions says he is confident police would examine any evidence of potential misconduct",
            "content": "The UK’s top prosecutor has said “nobody is above the law” amid growing pressure on police to fully investigate Andrew Mountbatten-Windsor’s links with Jeffrey Epstein.\nThames Valley police said earlier this week they were in discussion with the Crow... [4118 chars]",
            "url": "https://www.theguardian.com/uk-news/2026/feb/15/uks-top-prosecutor-says-nobody-above-law-as-detectives-investigate-andrews-epstein-links",
            "image": "https://i.guim.co.uk/img/media/14063e054c4f9d4f874c2adff693de1714b25764/285_0_1468_1175/master/1468.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=d6dc54d263589f0f407dbd67ba33fd30",
            "publishedAt": "2026-02-15T20:43:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        }
    ]
}

Categories