Flag of Pakistan

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": 19272,
    "articles": [
        {
            "id": "f401d71ae8a6ad2171a003ee417dc6fe",
            "title": "What happens when fire ignites in space? 'A ball of flame'",
            "description": "When fire breaks out in the low-gravity, high-stakes conditions inside spacecraft or space stations, it behaves very differently than back here on Earth. So, as humans",
            "content": "When fire breaks out in the low-gravity, high-stakes conditions inside spacecraft or space stations, it behaves very differently than back here on Earth.\nSo, as humans aim to set foot on Mars in the coming decades, researchers are seeking to learn ho... [3465 chars]",
            "url": "https://24newshd.tv/14-Jan-2026/happens-fire-ignites-space-ball-flame",
            "image": "https://24newshd.tv/digital_images/large/2026-01-14/happens-fire-ignites-space-ball-flame-1768407305-4449.jpg",
            "publishedAt": "2026-01-14T16:15:16Z",
            "lang": "en",
            "source": {
                "id": "b1077da602132f5e33b16d1e40d9cf4d",
                "name": "24 News HD",
                "url": "https://24newshd.tv"
            }
        },
        {
            "id": "0c40e3466990cf6932a16485a7d8611f",
            "title": "How Did These Strange, Ancient Earth Life Forms Turn Into Such Remarkable Fossils?",
            "description": "Welcome to Astrobiology.com",
            "content": "In Earth’s fossil record, soft-bodied organisms like jellyfish rarely stand the test of time. What’s more, it’s hard for any animal to get preserved with exceptional detail in sandstones, which are made of large grains, are porous, and commonly form ... [4673 chars]",
            "url": "https://astrobiology.com/2026/01/how-did-these-strange-ancient-earth-life-forms-turn-into-such-remarkable-fossils.html",
            "image": "https://astrobiology.com/wp-content/uploads/2026/01/How-did-these-strange.png",
            "publishedAt": "2026-01-14T15:02:20Z",
            "lang": "en",
            "source": {
                "id": "1ff5b422408f5ec9bc27a0260c24caee",
                "name": "astrobiology.com",
                "url": "https://astrobiology.com"
            }
        },
        {
            "id": "fb3fedfb90b165405bc0eb5b3691160f",
            "title": "Follow SpaceX's Returning Crew-11 Mission Wednesday Night",
            "description": "In a historic first, an unspecified medical issue is prompting an early return from the International Space Station on Wednesday night, January 14th. And while the return will be featured live online from undocking to splashdown, if skies are clear, you might just be able to see the pair crossing the night sky tonight, shortly after undocking.",
            "content": "Crew-11’s early return could be visible across the U.S. Wednesday night.\nIn a historic first, an unspecified medical issue is prompting an early return from the International Space Station on Wednesday night, January 14th. And while the return will b... [3795 chars]",
            "url": "https://www.universetoday.com/articles/follow-spacexs-returning-crew-11-mission-wednesday-night",
            "image": "https://www.universetoday.com/article_images/Screenshot_2026-01-14_075904_20260114_133638.png",
            "publishedAt": "2026-01-14T13:56:00Z",
            "lang": "en",
            "source": {
                "id": "e209c18934dfc136fe2651208d3d9a69",
                "name": "Universe Today",
                "url": "https://www.universetoday.com"
            }
        }
    ]
}

Categories