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": 24204,
    "articles": [
        {
            "id": "2c3a30fac922fe0a9f3e3694b1e09dbb",
            "title": "Perseverance rover nears Mars marathon milestone",
            "description": "Nasa’s Perseverance rover has travelled 26.09 miles on Mars and is expected to pass the marathon mark within a month.",
            "content": "WASHINGTON: For Nasa’s Perseverance Rover, life on Mars has been a marathon, not a sprint. For more than five years, the six-wheeled robotic explorer has been steadily traversing the Martian surface seeking signs of ancient life, studying its geology... [2459 chars]",
            "url": "https://www.pakistantoday.com.pk/2026/05/21/perseverance-rover-is-ready-to-complete-a-martian-marathon",
            "image": "https://i.dawn.com/large/2026/05/21084631862f5d8.webp",
            "publishedAt": "2026-05-21T04:23:14Z",
            "lang": "en",
            "source": {
                "id": "42f01186ca43680b240acb0cb5600463",
                "name": "Pakistan Today",
                "url": "https://www.pakistantoday.com.pk"
            }
        },
        {
            "id": "c3ef2212d3ce63ba179bdc9382453218",
            "title": "The impact of rising temperatures on social conflict in China",
            "description": "We examine the causal effect of temperature on social conflict in China, with a specific focus on labor unrest including strikes and worker protests—which constitutes a frequently overlooked form of social conflict. Using city-daily weather data matched with social conflicts (2014–2020), we employ a high-dimensional fixed effects to account for time-invariant city characteristics and common temporal shocks, thereby isolating plausibly exogenous temperature variation. We find that a one-standard-deviation increase in temperature raises the probability of social conflicts by 0.21 percentage points, representing a 38% increase relative to the sample mean conflict rate of 6%, with effects intensifying during politically sensitive periods and in regions that are more economically vulnerable or have historically cooler climates. Using temperature bins to estimate nonlinear effects, we document that conflict incidence rises sharply at extreme temperatures relative to the reference range (6–10 °C). These findings remain robust across multiple specification checks. Moreover, we explore the role of thermal adaptation, demonstrating that unexpected temperature increases beyond adaptation levels can trigger social conflicts, and these effects are only slightly mitigated by improvements in physiological adaptation. Finally, we provide suggestive evidence that insufficient sleep and heightened negative emotions during hot days serve as potential mechanisms.",
            "content": "We examine the causal effect of temperature on social conflict in China, with a specific focus on labor unrest including strikes and worker protests—which constitutes a frequently overlooked form of social conflict. Using city-daily weather data matc... [2750 chars]",
            "url": "https://www.nature.com/articles/s41599-026-07604-2?error=cookies_not_supported&code=c0cc3ea5-8dfa-4a9b-9845-5ffe841e027b",
            "image": "https://www.nature.com/static/images/favicons/nature/favicon-48x48-b52890008c.png",
            "publishedAt": "2026-05-21T03:49:34Z",
            "lang": "en",
            "source": {
                "id": "7abf0df285fbe93cdccffcc7c4088737",
                "name": "Nature",
                "url": "https://www.nature.com"
            }
        },
        {
            "id": "bf0586efb85bc596a9dbc661c0483b73",
            "title": "Antarctic glacier collapses with astonishing speed, setting an ice-loss record that was captured by NASA satellites",
            "description": "Scientists uncover how a flat seabed triggered Hektoria Glacier’s record collapse, offering new warnings for Antarctica’s ice and rising seas.",
            "content": "A glacier on the eastern Antarctic Peninsula has just broken speed records. In late 2022, Hektoria Glacier retreated about five miles (8 kilometers) in just two months, making it the fastest known modern collapse of any grounded Antarctic glacier.\nRe... [4974 chars]",
            "url": "https://www.earth.com/news/antarctica-hektoria-glacier-collapse-fastest-ice-melt-in-recorded-history-nasa-satellites/",
            "image": "https://cff2.earth.com/uploads/2025/11/20184654/Hektoria-glacier-Antarctica_record-collapse_before-after_NASA_1m.jpg",
            "publishedAt": "2026-05-21T02:15:00Z",
            "lang": "en",
            "source": {
                "id": "fca72a05020e12df547eedb79c870663",
                "name": "Earth.com",
                "url": "https://www.earth.com"
            }
        }
    ]
}

Categories