Flag of Pakistan

Pakistan Nation News API

Get the live top nation headlines from Pakistan with our JSON API.

Get API key for the Pakistan Nation 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=nation&apikey=API_KEY
{
    "totalArticles": 176362,
    "articles": [
        {
            "id": "58beb6897b9d9a273b2e6f3455632eab",
            "title": "Pakistan strikes militant hideouts on Afghan border after surge in attacks",
            "description": "‘Intelligence-based, selective operations’ carried out against Pakistani Taliban camps, says information ministry",
            "content": "Pakistan carried out strikes along the border with Afghanistan on Saturday night, stating it was targeting hideouts of Pakistani militants it blames for recent attacks inside the country.\nIslamabad did not say in precisely which areas the strikes wer... [3045 chars]",
            "url": "https://www.theguardian.com/world/2026/feb/21/pakistan-strikes-militant-hideouts-on-afghan-border-after-surge-in-attacks",
            "image": "https://i.guim.co.uk/img/media/6ec7617760fe59250420afb1cfb90ead058d6e69/297_0_2698_2160/master/2698.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=346980d40f6f08ac5fb1ae74d41bd5b5",
            "publishedAt": "2026-02-21T23:40:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "id": "86be9416648df0c8df70dc2990605d6a",
            "title": "Pakistan strikes militant hideouts along Afghan border after surge in deadly attacks",
            "description": "Pakistan’s Information Ministry says the military has carried out strikes along the border with neighboring Afghanistan, targeting hideouts of Pakistani militants it blames for recent attacks inside the country.",
            "content": "ISLAMABAD (AP) — Pakistan said early Sunday it carried out strikes along the border with Afghanistan, targeting hideouts of Pakistani militants it blames for recent attacks inside the country.\nIslamabad did not say in precisely which areas the strike... [2988 chars]",
            "url": "https://apnews.com/article/pakistan-afghanistan-militants-strikes-border-b849ad97b462de8067d1b7f20ffd9f9e",
            "image": "https://dims.apnews.com/dims4/default/b14466d/2147483647/strip/true/crop/1189x792+6+0/resize/980x653!/quality/90/?url=https%3A%2F%2Fassets.apnews.com%2Fd4%2F47%2Fad05254b457b9a131ee9b3a508ac%2Fab20e6dd988449399a8f35a6b450c42b",
            "publishedAt": "2026-02-21T22:02:00Z",
            "lang": "en",
            "source": {
                "id": "b356d47a35dfffa723fc8131b36c3ed1",
                "name": "AP News",
                "url": "https://apnews.com"
            }
        },
        {
            "id": "6b5f01c5f7d1b0bb744ee8d6b7ea25fb",
            "title": "Govt to introduce additional buses to improve public transport",
            "description": "The Sindh government has decided to introduce additional buses in the near future to improve public transport in Karachi. A high-level meeting of the Transport and Mass Transit Department was held in Karachi under the chairmanship of Sindh Senior Minister Sharjeel Inam Memon. The meeting took important decisions related to ongoing projects including Red Line […]",
            "content": "The Sindh government has decided to introduce additional buses in the near future to improve public transport in Karachi.\nA high-level meeting of the Transport and Mass Transit Department was held in Karachi under the chairmanship of Sindh Senior Min... [2056 chars]",
            "url": "https://dailytimes.com.pk/1454920/govt-to-introduce-additional-buses-to-improve-public-transport/",
            "image": "https://dailytimes.com.pk/assets/uploads/2026/02/21/Govt-to-introduce-additional-buses-to-improve-public-transport.jpg",
            "publishedAt": "2026-02-21T21:07:31Z",
            "lang": "en",
            "source": {
                "id": "530adc8b33b0bcdfab321f4f04275d3e",
                "name": "Daily Times",
                "url": "https://dailytimes.com.pk"
            }
        }
    ]
}

Categories