Pakistan Science News API

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

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

GET
https://gnews.io/api/v4/top-headlines?country=pk&category=science&apikey=API_KEY
{
    "totalArticles": 23808,
    "articles": [
        {
            "id": "6c43aec4a62971a9db8a7296a378fe8b",
            "title": "Plants control their immune system with a self-destruct switch",
            "description": "Plants use a complex self-regulating system to control immunity, with a newly discovered protein helping balance disease defense and growth.",
            "content": "Plants use a multi-layered self-regulating system to control their own immune response – one that’s more intricate than anyone had previously recognized.\nUnderstanding how it works could open up new ways to make crops more resilient without resorting... [4937 chars]",
            "url": "https://www.earth.com/news/plants-control-their-immune-system-with-a-hidden-self-destruct-switch/",
            "image": "https://cff2.earth.com/uploads/2026/05/05073001/Plant-immune-system.jpg",
            "publishedAt": "2026-05-05T14:26:15Z",
            "lang": "en",
            "source": {
                "id": "fca72a05020e12df547eedb79c870663",
                "name": "Earth.com",
                "url": "https://www.earth.com"
            }
        },
        {
            "id": "8456f641c318e26534200d97d201a9b9",
            "title": "Mars's Moon Phobos Faces a Faster End Than We Thought, and It Will Be Explosive",
            "description": "Phobos is speeding toward its inevitable destruction, but scientists have uncovered a surprising twist in its timeline. Could it break apart even sooner than expected?",
            "content": "Mars’s moon Phobos, once thought to face a slow and steady demise due totidal forces, could actually break apart much sooner and in a far more dramatic way. New research suggests that its destruction might involve violent eruptions of material, oblit... [2608 chars]",
            "url": "https://dailygalaxy.com/2026/05/mars-phobos-falling-apart-sooner/",
            "image": "https://dailygalaxy.com/wp-content/uploads/2026/05/Marss-Moon-Phobos-Faces-a-Faster-End-Than-We-Thought-and-It-Will-Be-Explosive-scaled.jpg",
            "publishedAt": "2026-05-05T14:15:00Z",
            "lang": "en",
            "source": {
                "id": "15b3a075005c2186c70ef27f4d08b583",
                "name": "The Daily Galaxy",
                "url": "https://dailygalaxy.com"
            }
        },
        {
            "id": "3ce375a379acdc0b3bcdf9d6d40cf530",
            "title": "JWST Uncovers Ancient Massive Galaxy Defying Galactic Rotation Models",
            "description": "Astronomers using the James Webb Space Telescope found a surprising non-rotating galaxy from the early universe, challenging existing galaxy formation theories.",
            "content": "Astronomers using the James Webb Space Telescope found a surprising non-rotating galaxy from the early universe, challenging existing galaxy formation theories. The study was published in Nature Astronomy.\nThis phenomenon is typically observed only i... [4447 chars]",
            "url": "https://www.azoquantum.com/News.aspx?newsID=11119",
            "image": "https://www.azoquantum.com/images/news/ImageForNews_11119_17779763287082776.png",
            "publishedAt": "2026-05-05T14:07:00Z",
            "lang": "en",
            "source": {
                "id": "22a0dc05d5831b219f21826c0b6bd239",
                "name": "AZoQuantum",
                "url": "https://www.azoquantum.com"
            }
        }
    ]
}

Categories