Kenya Science News API

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

Get API key for the Kenya 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 Kenya.

GET
https://gnews.io/api/v4/top-headlines?country=ke&category=science&apikey=API_KEY
{
    "totalArticles": 1716,
    "articles": [
        {
            "id": "5e6e3c972dcb8d04a5b5218a44bd87e6",
            "title": "Earth Asteroid 2026 JH2 extremely close encounter: an image",
            "description": "Near-Earth asteroid 2026 JH2, spotted on 16 May 2026, two days before its extremely close, but safe encounter with Earth. Photo: G. Masi.",
            "content": "While waiting for its close approach, we managed to take a picture of near-Earth asteroid 2026 JH2 and here we share it.\nThe image above comes from a single 300-second exposure, remotely taken with the Celestron C14+Paramount ME+SBIG ST10-XME robotic... [725 chars]",
            "url": "https://www.virtualtelescope.eu/2026/05/16/near-earth-asteroid-2026-jh2-extremely-close-encounter-an-image-16-may-2026/",
            "image": "https://www.virtualtelescope.eu/wordpress/wp-content/uploads/2026/05/2026JH2_16may2026_masi_c14.jpg",
            "publishedAt": "2026-05-16T21:45:00Z",
            "lang": "en",
            "source": {
                "id": "14466034b1fd13044e03939c97bd683b",
                "name": "The Virtual Telescope Project 2.0",
                "url": "https://www.virtualtelescope.eu"
            }
        },
        {
            "id": "708b3e650e0c506960e4d1fd6a2aba73",
            "title": "We fixed the ozone crisis once. These new rockets could erode it once more",
            "description": "Does the increase in rocket launches to space have an impact on the ozone layer? Deterioration is a major cause for concern",
            "content": "The ecological impact of rocket launches has long been a concern. Some fuel systems, such as the solid rocket boosters used by NASA's Space Launch System, release vast quantities of damaging chlorine into the atmosphere.\n20 years ago, an estimated 0.... [1563 chars]",
            "url": "https://www.sciencefocus.com/space/rocket-launches-ozone-layer",
            "image": "https://c02.purpledshub.com/uploads/sites/41/2026/04/rocket-launches-ozone.jpg?w=1200",
            "publishedAt": "2026-05-16T15:30:23Z",
            "lang": "en",
            "source": {
                "id": "a6d40cae3c12ff6dbbc249de2f75e3fc",
                "name": "BBC Science Focus Magazine",
                "url": "https://www.sciencefocus.com"
            }
        },
        {
            "id": "0fd0a504a476769cc5bd8f7249812573",
            "title": "First-ever direct image of the cosmic web reveals the Universe’s hidden highways",
            "description": "Astronomers have revealed the sharpest image ever captured of a filament in the cosmic web — the enormous hidden structure connecting galaxies across the Universe. The glowing strand stretches 3 million light-years and links two galaxies from nearly 12 billion years ago. By observing this faint intergalactic gas directly for the first time in such detail, scientists gained new insight into how galaxies are fueled and formed.",
            "content": "The discovery offers a rare direct look at one of the largest structures in existence and could help researchers better understand how galaxies grow and evolve over cosmic time.\nThe Universe's Hidden Structure\nModern cosmology suggests that dark matt... [3502 chars]",
            "url": "https://www.sciencedaily.com/releases/2026/05/260516034136.htm",
            "image": "https://www.sciencedaily.com/images/1920/cosmic-filament-twin.webp",
            "publishedAt": "2026-05-16T13:20:40Z",
            "lang": "en",
            "source": {
                "id": "81a05fd2712964dbdb32b1c6a27646fd",
                "name": "ScienceDaily",
                "url": "https://www.sciencedaily.com"
            }
        }
    ]
}

Categories