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": 18202,
    "articles": [
        {
            "id": "907af85af3930a3337df6b6dc761987b",
            "title": "Astronomers capture close-up images of nova explosions on 2 dead stars in unprecedented detail",
            "description": "Two new stars, or nova eruptions, have been resolved in unprecedented detail by six optical telescopes operating in unison as an interferometer.",
            "content": "The powerful thermonuclear explosions on the surfaces of two white dwarfs have been resolved in detail for the first time, revealing that these eruptions are more complex than previously thought.\nThe findings are courtesy of the Center for High Angul... [3413 chars]",
            "url": "https://www.space.com/astronomy/stars/astronomers-capture-close-up-images-of-nova-explosions-on-2-dead-stars-in-unprecedented-detail",
            "image": "https://cdn.mos.cms.futurecdn.net/Vqn4y9zavDN57bM5GjKgih-1920-80.jpg",
            "publishedAt": "2025-12-11T21:00:00Z",
            "lang": "en",
            "source": {
                "id": "024dd4370bda9e6e6791231c2a935d20",
                "name": "Space",
                "url": "https://www.space.com"
            }
        },
        {
            "id": "7eece01ab64a47e4540538702e4e76e1",
            "title": "Why the Blue Whale Might Not Be the Largest Animal in History",
            "description": "This article summarizes evidence provided by recent discoveries regarding the debate as to whether the blue whale is in fact the largest animal.",
            "content": "Around 100 million years ago, during the late Cretaceous period, the breakaway continents slowly drifted toward their eventual permanent locations. South America was still attached to Africa, with Australia and Antarctica drifting southward. Humans d... [12841 chars]",
            "url": "https://www.worldatlas.com/animals/why-the-blue-whale-might-not-be-the-largest-animal-in-history-48381.html",
            "image": "https://www.worldatlas.com/r/w1200-q80/upload/6d/23/c3/158/shutterstock-2308221249.jpg",
            "publishedAt": "2025-12-11T19:45:00Z",
            "lang": "en",
            "source": {
                "id": "bfe8a7d940b73affd41056fe2a0b9f6e",
                "name": "WorldAtlas",
                "url": "https://www.worldatlas.com"
            }
        },
        {
            "id": "a8a21708ebc772b836aefed70378ccf7",
            "title": "Don’t miss the Geminid meteor shower",
            "description": "This easy-to-observe event peaks Saturday night when the Moon won’t interfere.",
            "content": "The annual Geminid meteor shower, whose peak occurs on the night of December 13, usually puts on a great show. Occurring less than a month after the Leonid meteor shower, the Geminid shower generally produces the brightest meteors of the year. In 202... [4538 chars]",
            "url": "https://www.astronomy.com/observing/dont-miss-the-geminid-meteor-shower/",
            "image": "https://www.astronomy.com/wp-content/uploads/2025/11/ASY-SM1225_04.png",
            "publishedAt": "2025-12-11T19:36:03Z",
            "lang": "en",
            "source": {
                "id": "a69c46820379fd6075b622dd9fbdedd1",
                "name": "Astronomy Magazine",
                "url": "https://www.astronomy.com"
            }
        }
    ]
}

Categories