Flag of the Pakistan

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": 1172438,
    "articles": [
        {
            "title": "James Webb Space Telescope Unveils New Mysteries in \"Largest and Deepest\" Sample of Galaxies Ever Detected",
            "description": "The James Webb Space Telescope yielded the largest galaxy group sample ever observed after scanning a patch of sky known as the COSMOS Web.",
            "content": "The James Webb Space Telescope has yielded the largest galaxy group sample ever observed after scanning a region known as the COSMOS Web, offering a large-scale look at the universe and illuminating galaxy evolution over time.\nThe new Webb images off... [4234 chars]",
            "url": "https://thedebrief.org/james-webb-space-telescope-unveils-new-mysteries-in-largest-and-deepest-sample-of-galaxy-groups-ever-detected/",
            "image": "https://thedebrief.b-cdn.net/wp-content/uploads/2025/05/james-webb-space-telescope-observation.jpg",
            "publishedAt": "2025-05-23T13:43:13Z",
            "source": {
                "name": "The Debrief",
                "url": "https://thedebrief.org"
            }
        },
        {
            "title": "NASA Field Tests New Robot That Could Search Jupiter's Moon Europa for Signs of Life",
            "description": "A Europa Lander prototype was just successfully field tested on Alaska's Matanuska Glacier to simulate the icy conditions of Jupiter's moon.",
            "content": "A new Europa Lander prototype was just successfully field tested on Alaska‘s Matanuska Glacier to simulate the icy conditions of Jupiter’s moon, demonstrating the system’s capabilities for an autonomous sample collection mission.\nBeneath its icy exte... [4617 chars]",
            "url": "https://thedebrief.org/nasa-field-tests-new-robot-that-could-search-jupiters-moon-europa-for-signs-of-life/",
            "image": "https://thedebrief.b-cdn.net/wp-content/uploads/2025/05/Europa-lander-robot.jpg",
            "publishedAt": "2025-05-23T13:38:57Z",
            "source": {
                "name": "The Debrief",
                "url": "https://thedebrief.org"
            }
        },
        {
            "title": "Is the new bacteria aboard China’s Tiangong space station a future threat?",
            "description": "China's discovery of Niallia tiangongensis, an evolving bacteria aboard the Tiangong space station, raises alarming concerns about future space missions.",
            "content": "Scientists have identified a new strain of bacteria, Niallia tiangongensis, aboard China’s Tiangong space station, which is showing signs of evolution in space.\nThis bacteria was collected during the Shenzhou 15 crewed mission in 2023, and researcher... [2478 chars]",
            "url": "https://tribune.com.pk/story/2547409/new-bacteria-discovered-outside-chinese-space-station-danger-ahead",
            "image": "https://i.tribune.com.pk/media/images/express-tribune-news-desk1747990117-0/express-tribune-news-desk1747990117-0.png",
            "publishedAt": "2025-05-23T10:18:45Z",
            "source": {
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        }
    ]
}

Categories