Nigeria Science News API

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

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

GET
https://gnews.io/api/v4/top-headlines?country=ng&category=science&apikey=API_KEY
{
    "totalArticles": 2164,
    "articles": [
        {
            "id": "a2dbeaa9e101f5ef53b7bb31c0d1f628",
            "title": "223-Megapixel Photo Shows 16.5 Million Stars and Took Three Days to Capture",
            "description": "The James Webb Space Telescope observed Messier 82, also known as the Cigar galaxy, for nearly three days and captured 16.5 million stars.",
            "content": "The James Webb Space Telescope (JWST) recently spent 65 hours, or nearly three days, observing the famous spiral galaxy, Messier 82 (M82), also known as the Cigar galaxy. The resulting 223-megapixel image contains 16.5 million stars and brand-new det... [4192 chars]",
            "url": "https://petapixel.com/2026/06/25/223-megapixel-photo-shows-16-5-million-stars-and-took-three-days-to-capture/",
            "image": "https://petapixel.com/assets/uploads/2026/06/m82-hubble-jwst-1600x840-ftd.jpg",
            "publishedAt": "2026-06-25T18:51:27Z",
            "lang": "en",
            "source": {
                "id": "7c9bbb3c4e144038df75cf7bda3c256e",
                "name": "PetaPixel",
                "url": "https://petapixel.com"
            }
        },
        {
            "id": "f33afb8e90c06fe4ca5dc95962ad3365",
            "title": "Magnetic Fields Channel Gas Through Filaments into Star Formation Sites",
            "description": "Stars form inside molecular clouds where cold gas collapses gravitationally on itself. But there's more to this process than gravity. New research shows how magnetic field lines funnel gas through sub-filaments into star formation sites.",
            "content": "It's obvious that star formation is a defining feature of the Universe, and so we're bound to try to understand it. Stars form in molecular clouds, where cool gas collapses in on itself, and eventually becomes dense enough to trigger fusion. But that... [6679 chars]",
            "url": "https://www.universetoday.com/articles/magnetic-fields-channel-gas-through-filaments-into-star-formation-sites",
            "image": "https://www.universetoday.com/article_images/dr21-magnetic-field-lines-00_20260625_154610.jpg",
            "publishedAt": "2026-06-25T18:44:00Z",
            "lang": "en",
            "source": {
                "id": "e209c18934dfc136fe2651208d3d9a69",
                "name": "Universe Today",
                "url": "https://www.universetoday.com"
            }
        },
        {
            "id": "340ce4c99141fd34adf087e82be615b0",
            "title": "Perseverance rover finds even more signs of extinct life on Mars",
            "description": "Scientists remain skeptical, plead for someone to bring the rocks home",
            "content": "Yet another Martian rock formation has revealed what may be signs of ancient life on the Red Planet. While these findings aren't as scientist-wowing as those reported last year, they add to growing evidence that ancient Mars contained organic carbon ... [5371 chars]",
            "url": "https://www.theregister.com/offbeat/2026/06/25/perseverance-rover-finds-even-more-signs-of-extinct-life-on-mars/5262477",
            "image": "https://image.theregister.com/251831.jpg?imageId=251831&x=0&y=0&cropw=100&croph=100&panox=0&panoy=0&panow=100&panoh=100&width=1200&height=683",
            "publishedAt": "2026-06-25T18:38:12Z",
            "lang": "en",
            "source": {
                "id": "2ed9b389eb136c335139834293465c6b",
                "name": "The Register",
                "url": "https://www.theregister.com"
            }
        }
    ]
}

Categories