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": 24626,
    "articles": [
        {
            "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"
            }
        },
        {
            "id": "4274a4f9de602105878f3c1b33ca2b4f",
            "title": "Rare ‘High’ Chance Of Aurora In These States Tonight",
            "description": "Several states along the northern U.S. border will have a chance to see aurora borealis Thursday night.",
            "content": "Topline\nThe northern lights have a much higher than usual chance to make an appearance Wednesday night in parts of the U.S., according to the National Oceanic and Atmospheric Administration, which forecast mild auroral activity along the northern U.S... [1722 chars]",
            "url": "https://www.forbes.com/sites/antoniopequenoiv/2026/06/04/northern-lights-forecast-17-states-may-see-aurora-borealis-thursday-night/",
            "image": "https://imageio.forbes.com/specials-images/imageserve/6a21bb63b0c4a523d3b61f70/0x0.jpg?format=jpg&height=900&width=1600&fit=bounds",
            "publishedAt": "2026-06-04T17:54:17Z",
            "lang": "en",
            "source": {
                "id": "c4e32b557a3dd75225975f11fb68a3a9",
                "name": "Forbes",
                "url": "https://www.forbes.com"
            }
        }
    ]
}

Categories