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": 18246,
    "articles": [
        {
            "id": "e3e6d9f957ce3f49a29a08acab66e151",
            "title": "The 10 Most Expensive Satellites Currently In Orbit",
            "description": "As space exploration turns to the commercial sector, costs are coming down, but that doesn't mean that launching satellites is a cheap endeavor.",
            "content": "Satellites are perhaps the most wondrous piece of technology mankind has invented. The idea of creating an artificial device and launching it into space to orbit our planet is simply amazing. It is also rather expensive.\nMuch of that cost is due to t... [15633 chars]",
            "url": "https://www.bgr.com/2045700/most-expensive-satellites-in-orbit/",
            "image": "https://www.bgr.com/img/gallery/the-10-most-expensive-satellites-currently-in-orbit/l-intro-1765182627.jpg",
            "publishedAt": "2025-12-13T15:02:00Z",
            "lang": "en",
            "source": {
                "id": "ba1fc1e1ea8c9654aaee71ab3bc255eb",
                "name": "bgr.com",
                "url": "https://www.bgr.com"
            }
        },
        {
            "id": "5eb3433e5bfca27d96a5cca26a2dc4c2",
            "title": "Dec. 13, 2012: Chang’e 2 flies by Toutatis",
            "description": "Today in the history of astronomy, China becomes the fourth country to study an asteroid up close.",
            "content": "After the successful completion of its Moon mission, China’s Chang’e 2 probe departed lunar orbit on June 9, 2011, and began its trip to asteroid 4179 Toutatis. After a brief layover at the Sun-Earth L2 Lagranian point, Chang’e 2 executed its flyby o... [623 chars]",
            "url": "https://www.astronomy.com/today-in-the-history-of-astronomy/dec-13-2012-change-2-flies-by-toutatis/",
            "image": "https://www.astronomy.com/wp-content/uploads/2025/12/Asteroid_4179_Toutatis_close-up.jpg",
            "publishedAt": "2025-12-13T14:01:21Z",
            "lang": "en",
            "source": {
                "id": "a69c46820379fd6075b622dd9fbdedd1",
                "name": "Astronomy Magazine",
                "url": "https://www.astronomy.com"
            }
        },
        {
            "id": "a2c8a4bbb7927bef74b83d3394b59b88",
            "title": "Earth-Like Planets Are More Common Than We Thought, Study Says",
            "description": "Normally, it’s bad news to be next to an exploding star. But ancient supernovae may have aided the formation of our home world—and perhaps Earthlike planets elsewhere.",
            "content": "Welcome back to the Abstract! These are the studies this week that got hosed with star spray, mounted a failed invasion, declined to comment, and achieved previously unknown levels of adorability.\nFirst, a study about how the solar system wasn’t dest... [7804 chars]",
            "url": "https://www.404media.co/earth-like-planets-are-more-common-than-we-thought-study-says/",
            "image": "https://www.404media.co/content/images/size/w1200/2025/12/image2.jpg",
            "publishedAt": "2025-12-13T14:00:46Z",
            "lang": "en",
            "source": {
                "id": "05263a926f39ecd556a78b5176d79fdc",
                "name": "404 Media",
                "url": "https://www.404media.co"
            }
        }
    ]
}

Categories