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": 23184,
    "articles": [
        {
            "id": "be3371c6c3951d7201cd70e8c9676033",
            "title": "The wide-brimmed Sombrero galaxy is revealed in all its splendor by a telescope in Chile",
            "description": "The Sombrero galaxy and its glowing halo of stars have never looked this good. The latest photo of the popular hat-shaped galaxy was released on Friday. A telescope in Chile observed the popular...",
            "content": "CAPE CANAVERAL, Fla. (AP) — The Sombrero galaxy and its glowing halo of stars have never looked this good.\nThe U.S. National Science Foundation’s NOIRLab released the latest photo of the popular hat-shaped galaxy on Friday. A telescope in Chile obser... [820 chars]",
            "url": "https://www.manisteenews.com/news/article/the-wide-brimmed-sombrero-galaxy-is-revealed-in-22224399.php",
            "image": "https://s.hdnux.com/photos/01/66/04/51/30952045/3/rawImage.jpg",
            "publishedAt": "2026-04-24T17:17:58Z",
            "lang": "en",
            "source": {
                "id": "6aa5456b09e20b2d3ab7c4f3c0cdd24f",
                "name": "Manistee News Advocate",
                "url": "https://www.manisteenews.com"
            }
        },
        {
            "id": "85a3cc64b6e700a8225348d9c9507727",
            "title": "WATCH: iPhone Video of Earthset Taken by Artemis II Astronaut",
            "description": "Reid Wiseman, who commanded the Artemis II mission, posted an iPhone video of the Earth disappearing behind the moon.",
            "content": "The view of a distant Earth disappearing behind a huge moon is a view few humans have ever witnessed in person, but Reid Wiseman, who commanded the Artemis II mission, posted a video of the view on X.\nEarthset From Artemis II Mission\n“Like watching s... [1698 chars]",
            "url": "https://www.tomorrowsworldtoday.com/space/watch-iphone-video-of-earthset-taken-by-artemis-ii-astronaut/",
            "image": "https://www.tomorrowsworldtoday.com/wp-content/uploads/2026/04/earth-dips-behind-the-moon-photo-nasa.png",
            "publishedAt": "2026-04-24T15:00:50Z",
            "lang": "en",
            "source": {
                "id": "f0a3c8cac99777514f47d1c5bf8bac81",
                "name": "Tomorrow's World Today",
                "url": "https://www.tomorrowsworldtoday.com"
            }
        },
        {
            "id": "19557fb817cf1f93db0179e26c7239af",
            "title": "Climate stress may trigger genetic changes that last generations",
            "description": "A short period of heat stress changed genes in fruit flies, and these changes lasted for generations. Some offspring even developed faster.",
            "content": "Heat waves often feel like short, intense events. A day of extreme heat passes, and life returns to normal. But new research suggests that organisms may carry a memory of that heat far beyond a single lifetime.\nThis idea is changing how scientists th... [5728 chars]",
            "url": "https://www.earth.com/news/climate-stress-may-trigger-genetic-changes-that-last-generations/",
            "image": "https://cff2.earth.com/uploads/2026/04/24064943/climate-stress-evolution.jpg",
            "publishedAt": "2026-04-24T14:48:45Z",
            "lang": "en",
            "source": {
                "id": "fca72a05020e12df547eedb79c870663",
                "name": "Earth.com",
                "url": "https://www.earth.com"
            }
        }
    ]
}

Categories