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": 22732,
    "articles": [
        {
            "id": "a7ba5e3f5cb1871b4d9b142bdfab4084",
            "title": "Why Straight Landscapes Fail: Steve O'Nions' Case for Grain",
            "description": "Steve O'Nions argues that technically perfect landscape photos disconnect viewers from physical experience. His solution: stark monochrome, heavy grain, and fiber-based darkroom printing with a Holga to convey feeling over documentation.",
            "content": "Shooting a landscape and making it feel like a landscape are two different things. Steve O'Nions makes that case convincingly, and his approach to doing it with a Holga and fiber-based darkroom prints is worth paying attention to.\nComing to you from ... [1291 chars]",
            "url": "https://fstoppers.com/education/stark-and-grainy-purpose-one-photographers-case-against-straight-landscape-900828",
            "image": "https://cdn.fstoppers.com/styles/medium/s3/lead/2026/03/thumbnail_57.jpg?itok=WQeBPuRl",
            "publishedAt": "2026-03-16T09:58:58Z",
            "lang": "en",
            "source": {
                "id": "3c2be8e793437e81e6ddb1eb55d97779",
                "name": "Fstoppers",
                "url": "https://fstoppers.com"
            }
        },
        {
            "id": "e4ab7394e95f4a352f2ba12d27cd0b8b",
            "title": "Our Sun and its twins fled the centre of the Galaxy 4 billion years ago. Otherwise, life may never have emerged on Earth",
            "description": "Our Sun was part of a migration of stars from the galactic centre 4–6 billion years ago, which may have been key to life arising on Earth.",
            "content": "Our Sun was part of a mass migration of stars from the centre of our Galaxy 4–6 billion years ago, and this may have been key to the emergence of life on Earth.\nA team of astronomers say they've found evidence that our Sun and other Sun-like stars, o... [3090 chars]",
            "url": "https://www.skyatnightmagazine.com/news/sun-twins-mass-migration-centre-galaxy",
            "image": "https://c02.purpledshub.com/uploads/sites/48/2026/03/mass-migration-sun-galaxy.jpg?w=1200",
            "publishedAt": "2026-03-16T09:47:58Z",
            "lang": "en",
            "source": {
                "id": "bb036bf3706725d44fbf435dab1c55bd",
                "name": "BBC Sky at Night Magazine",
                "url": "https://www.skyatnightmagazine.com"
            }
        },
        {
            "id": "4080add59aa09355a770aa4e9bc35860",
            "title": "Utilizing Mining Waste Effectively",
            "description": "Mining waste streams offer potential as sustainable construction materials, addressing environmental concerns while enhancing pavement engineering applications.",
            "content": "In a recent review article published in the journal Sustainability, researchers examine how mining waste streams, including mine tailings, bauxite residue, waste rock, and metallurgical slags, could be repurposed as sustainable construction materials... [7618 chars]",
            "url": "https://www.azomining.com/News.aspx?newsID=18599",
            "image": "https://www.azomining.com/images/news/ImageForNews_18599_17736536560857046.jpg",
            "publishedAt": "2026-03-16T09:45:00Z",
            "lang": "en",
            "source": {
                "id": "3b35eb174daa45bbae882d6f5b9b6f41",
                "name": "AZoMining",
                "url": "https://www.azomining.com"
            }
        }
    ]
}

Categories