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": 26446,
    "articles": [
        {
            "id": "744432e6208f6006fef420e5ee7313e3",
            "title": "Will aging end by 2032? Futurist Ray Kurzweil’s bold prediction explained",
            "description": "American computer scientist and futurist, Ray Kurzweil, in a recent interview has dropped a bombshell prediction about aging, the widely discussed topic of the 21st century along with artificial...",
            "content": "American computer scientist and futurist, Ray Kurzweil, in a recent interview has dropped a bombshell prediction about aging, the widely discussed topic of the 21st century along with artificial intelligence.\nAccording to Kurzweil, humanity will reac... [3009 chars]",
            "url": "https://www.thenews.com.pk/latest/1406384-will-aging-end-by-2032-futurist-ray-kurzweils-bold-prediction-explained",
            "image": "https://www.thenews.com.pk/assets/uploads/2026-06-18/1406384_040833_updates.jpg",
            "publishedAt": "2026-06-18T11:08:00Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        },
        {
            "id": "44af9aabe81cf5b572767ce78c52d02a",
            "title": "NASA: Asteroid the size of 38 Menachem Mendel Schneersons to pass Earth Thursday",
            "description": "Asteroid 2003 LN6, the size of 38 Menachem Mendel Schneersons, is set to pass the Earth on June 18, the anniversary of the death of the Chabad movement leader.",
            "content": "An asteroid around the size of 38 Lubavitcher Rebbes is set to pass the Earth on Thursday, June 18, which is the anniversary of the Rebbe's death, according to NASA's asteroid tracker.\nThe asteroid in question has been designated 2003 LN6, and is set... [3745 chars]",
            "url": "https://www.jpost.com/science/space/article-899728",
            "image": "https://images.jpost.com/image/upload/f_auto,fl_lossy/q_auto/c_fill,g_faces:center,h_720,w_1280/726072",
            "publishedAt": "2026-06-17T19:09:14Z",
            "lang": "en",
            "source": {
                "id": "78834c45a26f98bca295cc641123cf7f",
                "name": "The Jerusalem Post",
                "url": "https://www.jpost.com"
            }
        },
        {
            "id": "19133b005708a7c9ed980922261b8189",
            "title": "James Webb Space Telescope discovers extreme exoplanet being roasted by its home star",
            "description": "Who ordered the roasted exoplanet? Astronomers using the James Webb Space Telescope found a world that really puts the \"hot\" in \"Hot Jupiter.\"",
            "content": "If you thought summer here on Earth could get pretty brutal, spare a thought for the extrasolar planet, or exoplanet, designated HD 80606 b. Using the James Webb Space Telescope, astronomers have discovered that this gas giant exoplanet, located 217 ... [2862 chars]",
            "url": "https://www.space.com/astronomy/exoplanets/james-webb-space-telescope-discovers-extreme-exoplanet-being-roasted-by-its-home-star",
            "image": "https://cdn.mos.cms.futurecdn.net/c7o8Faj5dqs7UtTfaHm56m-1600-80.png",
            "publishedAt": "2026-06-17T19:00:00Z",
            "lang": "en",
            "source": {
                "id": "024dd4370bda9e6e6791231c2a935d20",
                "name": "Space",
                "url": "https://www.space.com"
            }
        }
    ]
}

Categories