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": 22994,
    "articles": [
        {
            "id": "e3ac03ee1e8422fe7717da9c161649ae",
            "title": "450-Million-Year-Old Fossils Reveal Strange, Tube-Dwelling Jellyfish Relative",
            "description": "Paleontologists have identified a new genus and species of soft-bodied, tubicolous polyp medusozoan from well-preserved specimens found about 50 km northeast of Quebec City in Canada.",
            "content": "Paleontologists have identified a new genus and species of soft-bodied, tubicolous polyp medusozoan from well-preserved specimens found about 50 km northeast of Quebec City in Canada.\n“Jellyfish and their polyp relatives belong to an ancient group of... [2469 chars]",
            "url": "https://www.sci.news/paleontology/paleocanna-tentaculum-14711.html",
            "image": "https://cdn.sci.news/images/2026/04/image_14711_1-Paleocanna-tentaculum.jpg",
            "publishedAt": "2026-04-21T22:23:44Z",
            "lang": "en",
            "source": {
                "id": "c74358087a9ef7a865a623801c9a631c",
                "name": "Sci.News",
                "url": "https://www.sci.news"
            }
        },
        {
            "id": "78031bd945a21b2c1776e2a1f3ab0def",
            "title": "Coroner raises concern over prescribing errors following prison death",
            "description": "The Pharmaceutical Journal from the Royal College of Pharmacy",
            "content": "A coroner has raised concerns over the potential for prescribing errors at a London prison after a prisoner died from a cardiac arrest following an epileptic seizure.\nIn a ‘Prevention of future deaths’ report’ (PFD), published on 13 April 2026, Jenny... [6164 chars]",
            "url": "https://pharmaceutical-journal.com/article/news/coroner-raises-concern-over-prescribing-errors-following-prison-death",
            "image": "https://pharmaceutical-journal.com/wp-content/uploads/2026/04/Coroner-raises-concern-over-prescribing-errors-following-prison-death-.jpg",
            "publishedAt": "2026-04-21T21:22:30Z",
            "lang": "en",
            "source": {
                "id": "59f6e4b398e15af75182728038b9a0fc",
                "name": "The Pharmaceutical Journal",
                "url": "https://pharmaceutical-journal.com"
            }
        },
        {
            "id": "fd176c4b387df4b9baf6c85525ae0954",
            "title": "Scientists Probed the Rings Around Uranus to Find Out How They Got There",
            "description": "Though they orbit the same planet, Uranus' outer rings have two very different origin stories.",
            "content": "The cold, icy world of Uranus is framed by a pair of rings that orbit the planet at twice the distance of its main ring system. Each ring tells a different story — the outermost ring appears blue, while the inner ring has a reddish hue. For years, as... [3558 chars]",
            "url": "https://gizmodo.com/scientists-probed-the-rings-around-uranus-to-find-out-how-they-got-there-2000749115",
            "image": "https://gizmodo.com/app/uploads/2026/04/uranus-rings-1200x675.jpg",
            "publishedAt": "2026-04-21T19:25:33Z",
            "lang": "en",
            "source": {
                "id": "b86966b1ce9f29cc65fd4b3bf0671e5c",
                "name": "Gizmodo",
                "url": "https://gizmodo.com"
            }
        }
    ]
}

Categories