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": 26208,
    "articles": [
        {
            "id": "188d415a46509e050fa84a31edd6deef",
            "title": "James Webb Space Telescope discovers 'galaxy-killing' wind that may explain why some early galaxies lived f...",
            "description": "A “galaxy-killing” wind driven by cosmic mergers may explain why many massive galaxies in the early universe stopped forming stars far earlier than expected, according to new JWST and ALMA observation...",
            "content": "When you buy through links on our articles, Future and its syndication partners may earn a commission.\nUsing the James Webb Space Telescope (JWST) and the Atacama Large Millimeter/submillimeter Array (ALMA), astronomers may have uncovered new clues a... [3175 chars]",
            "url": "https://www.yahoo.com/news/science/articles/james-webb-space-telescope-discovers-190000497.html",
            "image": "https://s.yimg.com/lo/mysterio/api/ce559571baa9d4a57c8e2e837283403da24b8af54dd2663d1f4cfb2194c49bcd/lightyear_networkapi/resizefill_w1200;quality_80;format_webp/https:%2F%2Fmedia.zenfs.com%2Fen%2Fspace_311%2Feddb650bc088e8ff22c7cba147813d8c",
            "publishedAt": "2026-06-11T19:00:00Z",
            "lang": "en",
            "source": {
                "id": "99e8a2cb4638bb798cf9167e5af5b83b",
                "name": "Yahoo",
                "url": "https://www.yahoo.com"
            }
        },
        {
            "id": "01b097ee045cd400c81a5f4b44357065",
            "title": "Exploring The Orbital Stability Of Large, Lightweight Mirrors Around Exoplanets",
            "description": "Welcome to Astrobiology.com",
            "content": "Extraterrestrial civilizations might place large, lightweight mirrors into orbit around an exoplanet, either to alter its climate or to provide illumination to the planet’s dark side. We previously analyzed the detectability of a fleet of 1km x 1km, ... [1663 chars]",
            "url": "https://astrobiology.com/2026/06/exploring-the-orbital-stability-of-large-lightweight-mirrors-around-exoplanets.html",
            "image": "https://astrobiology.com/wp-content/uploads/2026/06/Exploring-The-Orbital.png",
            "publishedAt": "2026-06-11T15:54:24Z",
            "lang": "en",
            "source": {
                "id": "1ff5b422408f5ec9bc27a0260c24caee",
                "name": "astrobiology.com",
                "url": "https://astrobiology.com"
            }
        },
        {
            "id": "70d5bf8eb9bbdc5390b2211119a2c4e8",
            "title": "Resolution Infrared Spectroscopy with the Habitable Worlds Observatory",
            "description": "Welcome to Astrobiology.com",
            "content": "A high-resolution near-IR spectroscopy capability on the Habitable Worlds Observatory (HWO) could strongly and efficiently advance many of the mission’s goals.\nThe technical barriers that made such a capability unfeasible on previous missions have la... [1470 chars]",
            "url": "https://astrobiology.com/2026/06/the-case-for-high-resolution-infrared-spectroscopy-with-the-habitable-worlds-observatory.html",
            "image": "https://astrobiology.com/wp-content/uploads/2026/06/The-Case-for.png",
            "publishedAt": "2026-06-11T15:54:12Z",
            "lang": "en",
            "source": {
                "id": "1ff5b422408f5ec9bc27a0260c24caee",
                "name": "astrobiology.com",
                "url": "https://astrobiology.com"
            }
        }
    ]
}

Categories