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": 22352,
    "articles": [
        {
            "id": "0ca41cb4e4bb9fef767d8ebc29e99b25",
            "title": "Stunning pictures of rare Blood Moon above UAE and around the world",
            "description": "Phenomenon occurs when the Moon lines up with the Earth and Sun, casting a shadow on its surface",
            "content": "A red Blood Moon captivated stargazers in the UAE early on Tuesday when a total lunar eclipse turned the Moon reddish in colour.\nA Blood Moon occurs when the Moon aligns with the Earth and the Sun, casting a shadow on the Moon's surface.\nThe phenomen... [540 chars]",
            "url": "https://www.thenationalnews.com/news/uae/2026/03/04/blood-moon-lunar-eclipse-uae/",
            "image": "https://www.thenationalnews.com/resizer/v2/GT2WH24LMFVX76LD2SJBAHLMF4.jpg?smart=true&auth=329011e2f4046e928b35c48fbcb722193abe8bb3d6e5104053fb66ce6b12ab9f&width=1200&height=630",
            "publishedAt": "2026-03-04T06:59:15Z",
            "lang": "en",
            "source": {
                "id": "04ec576528ef8fb8bf622ecfb684f517",
                "name": "thenationalnews.com",
                "url": "https://www.thenationalnews.com"
            }
        },
        {
            "id": "28e3dd75b2861be35998497b4c79026f",
            "title": "7 easy tips for photographing the 'blood moon' total lunar eclipse tonight",
            "description": "Tips for capturing the total lunar eclipse tonight in the early hours of March 3, 2026, from knowing what to expect and finding clear skies to using mirrorless cameras and smartphones",
            "content": "In the early hours of March 3, 2026, skywatchers across the U.S. will be treated to a total lunar eclipse — the only one until the end of 2028. During this \"blood moon,\" the full moon will pass through Earth's shadow and glow a rich coppery red for n... [6635 chars]",
            "url": "https://www.space.com/stargazing/lunar-eclipses/7-easy-tips-for-photographing-the-blood-moon-total-lunar-eclipse-on-march-3",
            "image": "https://cdn.mos.cms.futurecdn.net/xV4BfAR3FWAJSgiFj4Gn96-2120-80.jpg",
            "publishedAt": "2026-03-02T17:20:48Z",
            "lang": "en",
            "source": {
                "id": "024dd4370bda9e6e6791231c2a935d20",
                "name": "Space",
                "url": "https://www.space.com"
            }
        },
        {
            "id": "70b846fa1843691b80e17e3b51bc508b",
            "title": "Rare ‘blood moon’ total lunar eclipse to loom over North America, Australia and New Zealand",
            "description": "Eclipse will feature a deep, coppery-red full moon on 3 March, with scientists predicting the best times to see it",
            "content": "North America, Australia and New Zealand will be treated to a rare total lunar eclipse on Tuesday known as a “blood moon”.\nAs the full moon dips into the planet’s shadow it will change colour to a “deep and coppery red”, says astrophysicist Dr Rebecc... [4121 chars]",
            "url": "https://www.theguardian.com/science/2026/mar/02/blood-moon-total-lunar-eclipse-2026-march-3-full-worm-what-date-time-australia-america",
            "image": "https://i.guim.co.uk/img/media/70e376dbb2ecb3fa3a4aaaff26f2e19c0612c431/463_18_1472_1178/master/1472.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&precrop=40:21,offset-x50,offset-y0&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctZGVmYXVsdC5wbmc&enable=upscale&s=7d17000716b6786782181d210411007b",
            "publishedAt": "2026-03-02T00:50:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        }
    ]
}

Categories