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": 17790,
    "articles": [
        {
            "id": "87b2b9e8fe95e73449ed97277879f259",
            "title": "New physics equation describes universal law of how things shatter, from glass to pasta",
            "description": "A new mathematical equation describes the distribution of different fragment sizes when an object breaks. Remarkably, the distribution is the same for everything from bubbles to spaghetti.",
            "content": "A dropped vase, a crushed sugar cube and an exploding bubble all have something in common: They break apart in similar ways, a new mathematical equation reveals.\nA French scientist recently discovered the mathematical equation, which describes the si... [2704 chars]",
            "url": "https://www.livescience.com/physics-mathematics/mathematics/law-of-maximal-randomness-explains-how-broken-objects-shatter-in-the-most-annoying-way-possible",
            "image": "https://cdn.mos.cms.futurecdn.net/Ja84treCqKcdzAqeeWXLNa-2560-80.jpg",
            "publishedAt": "2025-12-02T20:31:25Z",
            "lang": "en",
            "source": {
                "id": "95993cee63c947c63f6bfe9192834ef8",
                "name": "Live Science",
                "url": "https://www.livescience.com"
            }
        },
        {
            "id": "36e26f6ece6274c95b8f00baf0fe64e1",
            "title": "Bulls-eye in the desert: The Richat Structure from above",
            "description": "The formation, known as the Richat Structure or the eye of the Sahara, appears as a wide ringed mark in northern Mauritania.",
            "content": "Today’s Image of the Day from the European Space Agency features a distinctive circular pattern in the Sahara Desert that has sparked curiosity for many years.\nThe formation, known as the Richat Structure or the eye of the Sahara, appears as a wide r... [4000 chars]",
            "url": "https://www.earth.com/image/bulls-eye-in-the-desert-the-richat-structure-from-above/",
            "image": "https://cff2.earth.com/uploads/2025/12/02112617/Richat-Structure.jpg",
            "publishedAt": "2025-12-02T18:35:32Z",
            "lang": "en",
            "source": {
                "id": "fca72a05020e12df547eedb79c870663",
                "name": "Earth.com",
                "url": "https://www.earth.com"
            }
        },
        {
            "id": "a59f731af89185f041a1446051f29b4b",
            "title": "Coral Reefs Have Stabilized Earth’s Carbon Cycle For The Past 250 Million Years",
            "description": "Welcome to Astrobiology.com",
            "content": "Coral reefs have long been celebrated as biodiversity hotspots – but new research shows they have also played a much deeper role: conducting the rhythm of Earth’s carbon and climate cycles for more than 250 million years.\nPublished this week in the P... [3389 chars]",
            "url": "https://astrobiology.com/2025/12/coral-reefs-have-stabilized-earths-carbon-cycle-for-the-past-250-million-years.html",
            "image": "https://astrobiology.com/wp-content/uploads/2025/12/Coral-reefs-have-stabilized.png",
            "publishedAt": "2025-12-02T18:16:12Z",
            "lang": "en",
            "source": {
                "id": "1ff5b422408f5ec9bc27a0260c24caee",
                "name": "astrobiology.com",
                "url": "https://astrobiology.com"
            }
        }
    ]
}

Categories