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": 24018,
    "articles": [
        {
            "id": "f41305e76325d857214c9587a99a3493",
            "title": "Moon phase today explained: What the Moon will look like on May 14, 2026",
            "description": "See the Moon phase expected for May 14, 2026 as well as when the next Full Moon is expected.",
            "content": "The Moon is now almost completely out of sight, with just a few days left until the New Moon. Keep reading to see what, if anything, you might be able to spot in the night sky tonight.\nWhat is today’s Moon phase?\nAs of Thursday, May 14, the Moon phas... [1694 chars]",
            "url": "https://mashable.com/article/moon-phase-today-may-14",
            "image": "https://helios-i.mashable.com/imagery/articles/05ZHTXN6NPaq2bpQ8LQV2zi/hero-image.fill.size_1200x675.v1778497791.jpg",
            "publishedAt": "2026-05-14T08:30:38Z",
            "lang": "en",
            "source": {
                "id": "46629ea6ebf50ca97b330731a94e40b7",
                "name": "Mashable",
                "url": "https://mashable.com"
            }
        },
        {
            "id": "efd2b5b726893c2230ab1d3234ae38e1",
            "title": "The Sky Today on Thursday, May 14: The Moon and Mars in the morning",
            "description": "Earth’s satellite guides the way to the Red Planet in the early-morning sky, visible for a short time before sunrise.",
            "content": "Looking for a sky event this week? Check out our full Sky This Week column.\nMay 13: Venus grabs the Bull by the horns\nThe Moon now guides the way to Mars in the early-morning sky; the Red Planet stands just 7° from the delicate crescent Moon, visible... [709 chars]",
            "url": "https://www.astronomy.com/observing/the-sky-today-thursday-may-14-2026/",
            "image": "https://www.astronomy.com/wp-content/uploads/2026/04/ASY-SM0526_07.png",
            "publishedAt": "2026-05-14T08:00:18Z",
            "lang": "en",
            "source": {
                "id": "a69c46820379fd6075b622dd9fbdedd1",
                "name": "Astronomy Magazine",
                "url": "https://www.astronomy.com"
            }
        },
        {
            "id": "59e6a7c1eedb6dcc3ce9554740c0c823",
            "title": "See A Crescent Moon Meet Venus And Jupiter After Sunset This Weekend",
            "description": "North America’s celestial highlights for the weekend ahead, which also apply to mid-northern latitudes in the northern hemisphere.",
            "content": "Topline\nThe arrival of a New Supermoon makes this weekend ideal for stargazing. With our natural satellite hidden in the glare of the sun, the night skies will be dark as Venus and Jupiter converge ahead of their close conjunction on June 9-11. By Su... [1774 chars]",
            "url": "https://www.forbes.com/sites/jamiecartereurope/2026/05/14/see-a-crescent-moon-meet-venus-and-jupiter-after-sunset-this-weekend/",
            "image": "https://imageio.forbes.com/specials-images/imageserve/69ff07148f657cc29c6c4a79/0x0.jpg?format=jpg&crop=4242,2386,x0,y219,safe&height=900&width=1600&fit=bounds",
            "publishedAt": "2026-05-14T07:00:00Z",
            "lang": "en",
            "source": {
                "id": "c4e32b557a3dd75225975f11fb68a3a9",
                "name": "Forbes",
                "url": "https://www.forbes.com"
            }
        }
    ]
}

Categories