Flag of the United Kingdom

United Kingdom Science News API

Get the live top science headlines from United Kingdom with our JSON API.

Get API key for the United Kingdom Science 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=science&apikey=API_KEY
{
    "totalArticles": 5108,
    "articles": [
        {
            "title": "Astronaut Thought He Photographed Mt. Fuji, But it Was Actually a Tool Bag",
            "description": "A SpaceX Crew 7 astronaut revealed how he attempted to photograph Japan's Mount Fuji but ended up taking a picture of space junk instead.",
            "content": "A SpaceX Crew 7 astronaut revealed how he attempted to photograph Japan’s Mount Fuji but ended up taking a picture of a notorious piece of space junk instead.\nIn November, NASA astronauts accidentally dropped their toolbox during a spacewalk while ca... [2263 chars]",
            "url": "https://petapixel.com/2024/03/28/astronaut-thought-he-photographed-mt-fuji-but-it-was-actually-a-tool-bag/",
            "image": "https://petapixel.com/assets/uploads/2023/11/Toolbag.jpg",
            "publishedAt": "2024-03-28T12:26:01Z",
            "source": {
                "name": "PetaPixel",
                "url": "https://petapixel.com"
            }
        },
        {
            "title": "Elon Musk reveals plan for next Starship mission",
            "description": "Next launch could prove critical to SpaceX’s plans for world’s biggest rocket",
            "content": "Sign up to our free weekly IndyTech newsletter delivered straight to your inbox Sign up to our free IndyTech newsletter Please enter a valid email address Please enter a valid email address SIGN UP I would like to be emailed about offers, events and ... [2198 chars]",
            "url": "https://www.independent.co.uk/space/starship-launch-date-mission-musk-b2519938.html",
            "image": "https://static.independent.co.uk/2024/03/28/09/starship%20launch%20date%20next.png?quality=75&width=1200&auto=webp",
            "publishedAt": "2024-03-28T11:27:10Z",
            "source": {
                "name": "The Independent",
                "url": "https://www.independent.co.uk"
            }
        },
        {
            "title": "Almost 50 New Galaxies Discovered With MeerKAT Scan",
            "description": "The universe just got a bit more grand with MeerKAT's recent discovery of almost 50 new galaxies. Here's what we know.",
            "content": "The significance of this discovery lies not only in the number of new galaxies detected but also in the insights it provides into their dynamic interactions. Observations revealed galactic neighbors engaging in gravitational dances, with some galaxie... [372 chars]",
            "url": "https://www.giantfreakinrobot.com/sci/50-new-galaxies.html",
            "image": "https://www.giantfreakinrobot.com/wp-content/uploads/2024/01/hubble-galaxies.jpg",
            "publishedAt": "2024-03-28T06:00:00Z",
            "source": {
                "name": "Giant Freakin Robot",
                "url": "https://www.giantfreakinrobot.com"
            }
        }
    ]
}

Categories