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": 24684,
    "articles": [
        {
            "id": "29787dff60234aa97ece2caedaf34e36",
            "title": "50-year mystery solved: Astronomers finally detect wind from Milky Way’s giant black hole",
            "description": "Astronomers in a recent scientific breakthrough have unravelled the 50-year-old mystery of this Universe by finally discovering wind emanating from our Milky Way Galaxy’s supermassive...",
            "content": "Astronomers in a recent scientific breakthrough have unravelled the 50-year-old mystery of this Universe by finally discovering wind emanating from our Milky Way Galaxy’s supermassive blackhole.\nUsing the 5 years of observation from the Chile-based ‌... [1861 chars]",
            "url": "https://www.thenews.com.pk/latest/1404957-50-year-mystery-solved-astronomers-finally-detect-wind-from-milky-way-s-giant-black-hole",
            "image": "https://www.thenews.com.pk/assets/uploads/2026-06-06/1404957_013439_updates.jpg",
            "publishedAt": "2026-06-06T08:34:00Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        },
        {
            "id": "3f890b8f03948c688d731943d022f321",
            "title": "Different meteorites may have come from the same strange birthplace near Jupiter",
            "description": "New simulations suggest that various meteorite families may have formed in the same ancient ring near Jupiter.",
            "content": "Six families of carbon-rich space rocks have puzzled scientists for years. They look nothing alike. Some crumble at a touch, while others are packed with hard little pellets.\nThe working assumption has long been that such different rocks must have fo... [5534 chars]",
            "url": "https://www.earth.com/news/different-meteorites-may-have-come-from-the-same-strange-birthplace-near-jupiter/",
            "image": "https://cff2.earth.com/uploads/2026/05/04083452/dust-trap-near-jupiter-meteorite-origin.jpg",
            "publishedAt": "2026-06-05T19:07:30Z",
            "lang": "en",
            "source": {
                "id": "fca72a05020e12df547eedb79c870663",
                "name": "Earth.com",
                "url": "https://www.earth.com"
            }
        },
        {
            "id": "1fa0d965be8b24d5c3fdb82e88f03a5f",
            "title": "AI models are teaching each other 'violent and antisocial' traits through hidden data signals, study finds - and scientists can't figure out why",
            "description": "Scientists found that AI models can inherit a taste for murder (or owls) from other models' training data.",
            "content": "Large language models (LLMs) are secretly teaching each other unwanted habits through seemingly benign training data, scientists say.\nThe phenomenon, known as \"subliminal learning,\" occurs when a pretrained \"teacher\" artificial intelligence (AI) mode... [4514 chars]",
            "url": "https://www.livescience.com/technology/artificial-intelligence/the-best-solution-is-to-murder-him-in-his-sleep-ai-can-learn-violent-tendencies-from-each-other-despite-zero-references-to-violence-in-training-data",
            "image": "https://cdn.mos.cms.futurecdn.net/yKaYMbrzkx8H5ybw5qRwBW-1920-80.jpg",
            "publishedAt": "2026-06-05T10:00:00Z",
            "lang": "en",
            "source": {
                "id": "95993cee63c947c63f6bfe9192834ef8",
                "name": "Live Science",
                "url": "https://www.livescience.com"
            }
        }
    ]
}

Categories