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": 24740,
    "articles": [
        {
            "id": "e9d5649c3e01ab4edb170694e2ffe102",
            "title": "Hubble Could Get a New Lease on Life-If NASA Can Afford It",
            "description": "The space agency is considering keeping Hubble around for longer if it can reduce the telescope's operating costs.",
            "content": "NASA’s Hubble space telescope is running out of time. The aging observatory is slowly being dragged down toward Earth and is estimated to reenter through the atmosphere by 2033. NASA could save it, but only if Hubble becomes more affordable.\nNASA is ... [3650 chars]",
            "url": "https://gizmodo.com/hubble-could-get-a-new-lease-on-life-if-nasa-can-afford-it-2000768823",
            "image": "https://gizmodo.com/app/uploads/2026/01/hubble-space-telescope-1200x675.jpg",
            "publishedAt": "2026-06-08T18:45:20Z",
            "lang": "en",
            "source": {
                "id": "b86966b1ce9f29cc65fd4b3bf0671e5c",
                "name": "Gizmodo",
                "url": "https://gizmodo.com"
            }
        },
        {
            "id": "74034be04dac76086d05c19119a71cbb",
            "title": "Scientists Release Results After Scanning 3I/ATLAS for Alien Signals",
            "description": "Here's what they found.",
            "content": "In July 2025, astronomers spotted a mysterious object screaming through the solar system from interstellar space.\nThe object, later dubbed 3I/ATLAS, has been a fertile area of investigation for researchers curious about the composition its far-away p... [2621 chars]",
            "url": "https://www.yahoo.com/news/science/articles/scientists-release-results-scanning-3i-181741899.html",
            "image": "https://s.yimg.com/lo/mysterio/api/1be72884cc1327fe22f8cf20b87d20b46ec9efa68c80476dd8bb14495761930a/lightyear_networkapi/resizefill_w1200;quality_80;format_webp/https:%2F%2Fmedia.zenfs.com%2Fen%2Ffuturism_981%2F6a1a8779a30a7b9a1a6f6147d9f67836",
            "publishedAt": "2026-06-08T18:17:41Z",
            "lang": "en",
            "source": {
                "id": "99e8a2cb4638bb798cf9167e5af5b83b",
                "name": "Yahoo",
                "url": "https://www.yahoo.com"
            }
        },
        {
            "id": "2c296c49a2d1a279e9ae314174f71dfe",
            "title": "Catch Comet 220P McNaught in Outburst",
            "description": "We witnessed a surprise outburst late last week, from a lesser known periodic comet. Posts flashed across message boards late last week, alerting comet watchers to a dramatic change in brightness for periodic comet 220P McNaught. Though it wasn’t on our list for bright comets to watch for in 2026, Comet 220P is now in range of binoculars or a small telescope, low to the east at dawn as it heads towards perihelion this coming weekend.",
            "content": "Comet 220P McNaught bursts into telescopic view, low in the dawn sky.\nWe had a surprise outburst late last week, from a lesser known periodic comet. Posts flashed across message boards late last week, alerting comet watchers to a dramatic change in b... [3370 chars]",
            "url": "https://www.universetoday.com/articles/catch-comet-220p-mcnaught-in-outburst",
            "image": "https://www.universetoday.com/article_images/thumbnail_2_20260608_173639.jpg",
            "publishedAt": "2026-06-08T18:04:00Z",
            "lang": "en",
            "source": {
                "id": "e209c18934dfc136fe2651208d3d9a69",
                "name": "Universe Today",
                "url": "https://www.universetoday.com"
            }
        }
    ]
}

Categories