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": 24634,
    "articles": [
        {
            "id": "8e7806b65e095ea33734f312c18f68b7",
            "title": "Public announcements and mask use during COVID-19 bridging regression and machine learning",
            "description": "The effectiveness of public health policies has a major impact on society. Throughout the COVID-19 pandemic, policy-makers worldwide introduced various public health measures, such as social distancing and mask-wearing, to address the severe threat posed by the disease. Despite the importance of these issues, there has been no direct, visual evidence that mask-related policies led to the appropriate mask-wearing behaviour of the general public. Here, we show that regulations and public transport announcements encouraged correct mask-wearing behaviour during the COVID-19 pandemic. Importantly, changes in announcement and regulation contents led to heterogeneous effects on behaviour. Our study contributes the first visual open-source empirical analysis of reactive human behaviour during the COVID-19 pandemic, investigating how compliant a general population is to mask-wearing policy. We combine object-detection-based convolutional neural networks, regression analysis and multilayer perceptrons to analyse visual data of the Viennese public during 2020. By comparing the predictive power of regression analysis and neural networks, we demonstrate that the neural networks provide more accurate predictions of population response during the COVID-19 pandemic. Furthermore, our use of regression modelling allows us to uncover possible causal pathways underlying societal behaviour. Since our findings underscore the importance of appropriate communication content, our work will facilitate more effective non-pharmaceutical interventions in future public health crises. Lastly, we demonstrate that the use of regression modelling and neural networks need not be mutually exclusive in the study of complex systems but can instead complement each other.",
            "content": "The effectiveness of public health policies has a major impact on society. Throughout the COVID-19 pandemic, policy-makers worldwide introduced various public health measures, such as social distancing and mask-wearing, to address the severe threat p... [1512 chars]",
            "url": "https://www.nature.com/articles/s41598-026-55230-4?error=cookies_not_supported&code=378a4fa1-1864-4fc5-be50-fc6c160fca90",
            "image": "https://www.nature.com/static/images/favicons/nature/favicon-48x48-b52890008c.png",
            "publishedAt": "2026-06-05T02:24:48Z",
            "lang": "en",
            "source": {
                "id": "7abf0df285fbe93cdccffcc7c4088737",
                "name": "Nature",
                "url": "https://www.nature.com"
            }
        },
        {
            "id": "c94fd06d20bb43f9db4e2b5a40db08ce",
            "title": "A Rare \"Cannibal\" Solar Storm Will Push the Northern Lights South Tonight. You Might Just Catch Them!",
            "description": "A backwards sunspot hurled a merged plasma cloud toward Earth, promising widespread auroras tonight.",
            "content": "Keep your eyes on the sky tonight: the sun is putting on a rare show, and it’s dragging the Northern Lights further south than usual, potentially reaching parts of the U.S. and Europe rarely illuminated by auroras. While there’s no guarantee, it migh... [2936 chars]",
            "url": "https://www.zmescience.com/space/astronomy-space/a-rare-cannibal-solar-storm-will-push-the-northern-lights-south-tonight-you-might-just-catch-them/",
            "image": "https://cdn.zmescience.com/wp-content/uploads/2026/06/1280px-Magnificent_CME_Erupts_on_the_Sun_-_August_31.jpg",
            "publishedAt": "2026-06-04T22:05:16Z",
            "lang": "en",
            "source": {
                "id": "7467b24e4cb225d2d28c3119640a3232",
                "name": "ZME Science",
                "url": "https://www.zmescience.com"
            }
        },
        {
            "id": "d95ede2c7cee3d5fe507b3e3116f0000",
            "title": "What to know about Artemis III, NASA's next mission in its journey back to the moon - and beyond",
            "description": "The space agency's next big launch will serve as a crucial test of the systems that will take humans down to the lunar surface.",
            "content": "It was only two months ago that the world was captivated by the record-setting voyage of Artemis II, which took its four crew members farther from the Earth than anyone in history as they flew around the moon.\nLong before Artemis II had even left the... [4975 chars]",
            "url": "https://www.yahoo.com/news/science/article/what-to-know-about-artemis-iii-nasas-next-mission-in-its-journey-back-to-the-moon--and-beyond-192115851.html",
            "image": "https://s.yimg.com/lo/mysterio/api/afe872bc6ddf06181afdc7d52cb62d9bf3edc4a3dc97979e3c5bd34ebe4d6015/lightyear_networkapi/resizefill_w985_h554;quality_80;format_webp/https:%2F%2Fd29szjachogqwa.cloudfront.net%2Fimages%2Fuser-uploaded%2Fxbluemoon-nasa-option-2023-05-19-012931-0_6924.jpg",
            "publishedAt": "2026-06-04T19:21:15Z",
            "lang": "en",
            "source": {
                "id": "99e8a2cb4638bb798cf9167e5af5b83b",
                "name": "Yahoo",
                "url": "https://www.yahoo.com"
            }
        }
    ]
}

Categories