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": 17908,
    "articles": [
        {
            "id": "36ce35c84da02eb7a639703fb35ba7df",
            "title": "In pictures: Last supermoon of 2025 illuminates skylines across globe",
            "description": "According to Nasa, a supermoon occurs when a full moon coincides with the Moon’s closest approach to Earth in its elliptical orbit, a point known as perigee.",
            "content": "According to Nasa, a supermoon occurs when a full moon coincides with the Moon’s closest approach to Earth in its elliptical orbit, a point known as perigee.\nThe final supermoon of 2025, known as the ‘Cold Moon’, put on a spectacular cosmic display o... [767 chars]",
            "url": "https://www.dawn.com/news/1959292",
            "image": "https://i.dawn.com/large/2025/12/05100316962c5e5.webp",
            "publishedAt": "2025-12-05T06:12:36Z",
            "lang": "en",
            "source": {
                "id": "e7c51bc1b8daaa70cfd1f48e936fcc2b",
                "name": "Dawn",
                "url": "https://www.dawn.com"
            }
        },
        {
            "id": "7ef0c2bbea188ff2355f49a5d6b1cda5",
            "title": "Glowing bridge links dwarf galaxies in stunning new image from the James Webb Space Telescope",
            "description": "A spectacular new view of two dwarf galaxies caught in the middle of a cosmic collision reveals a glowing gas bridge, streams of newborn stars and the ongoing gravitational tug-of-war reshaping both galaxies.",
            "content": "When you buy through links on our articles, Future and its syndication partners may earn a commission.\nA spectacular new view of two dwarf galaxies caught in the middle of a cosmic collision reveals a glowing gas bridge, streams of newborn stars and ... [2248 chars]",
            "url": "https://www.yahoo.com/news/articles/glowing-bridge-links-dwarf-galaxies-230000164.html",
            "image": "https://s.yimg.com/ny/api/res/1.2/h6LMcM6KVMYGdcjeIFFLpw--/YXBwaWQ9aGlnaGxhbmRlcjt3PTEyMDA7aD02NzU7Y2Y9d2VicA--/https://media.zenfs.com/en/space_311/ca4cb1159c71fab351d2ee0e78e25217",
            "publishedAt": "2025-12-04T23:00:00Z",
            "lang": "en",
            "source": {
                "id": "99e8a2cb4638bb798cf9167e5af5b83b",
                "name": "Yahoo",
                "url": "https://www.yahoo.com"
            }
        },
        {
            "id": "e5a2bfe41af0109040be03b0e1001ed3",
            "title": "Will the race to the moon create conflicts in space?",
            "description": "Starting from the 15th century, thanks to advances in navigation tools, shipbuilding and mapmaking, European powers were able to explore new maritime routes and claim new overseas territories. Portugal and Spain were soon followed by Britain, France and the Netherlands, with the original goal being mainly to seek new trade routes to Asia. The world quickly became a chessboard,",
            "content": "Starting from the 15th century, thanks to advances in navigation tools, shipbuilding and mapmaking, European powers were able to explore new maritime routes and claim new overseas territories. Portugal and Spain were soon followed by Britain, France ... [6375 chars]",
            "url": "https://www.arabnews.pk/node/2625013",
            "image": "https://www.arabnews.pk/sites/default/files/authors/3051736-khaledabouzahr2.png",
            "publishedAt": "2025-12-04T15:16:01Z",
            "lang": "en",
            "source": {
                "id": "6aa9750dfe0dabd5f047338da68fcf6c",
                "name": "Arab News PK",
                "url": "https://www.arabnews.pk"
            }
        }
    ]
}

Categories