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": 173442,
    "articles": [
        {
            "id": "4431c99f62499e8bd8d3eb026ca9529f",
            "title": "The Afghan gauntlet",
            "description": "A combination of factors — including India’s growing influence and Ghani’s courting of pan-Pakhtun nationalism and larger strategic goals — led Islam­­abad to continue backing the Taliban.",
            "content": "Pakistan’s Afghan policy — an endeavour spanning the more than forty years since the Soviet int­ervention in Afghanis­tan — of supporting a motley crew of local, Afghan and international jihadis in pursuance of its and Wes­­tern allies’ strategic goa... [6033 chars]",
            "url": "https://www.dawn.com/news/1976330",
            "image": "https://i.dawn.com/large/2026/02/69a24563f0775.jpg",
            "publishedAt": "2026-02-28T04:02:06Z",
            "lang": "en",
            "source": {
                "id": "e7c51bc1b8daaa70cfd1f48e936fcc2b",
                "name": "Dawn",
                "url": "https://www.dawn.com"
            }
        },
        {
            "id": "a8d50c912760eeedcebc283c80449470",
            "title": "Pakistan’s defense minister says that there is an 'open war' with Afghanistan",
            "description": "Pakistan and Afghanistan have traded attacks in a dramatic escalation of tensions between the countries.",
            "content": "ISLAMABAD (AP) — Pakistan and Afghanistan exchanged cross-border attacks overnight in a dramatic escalation of tensions that led Pakistan’s defense minister to say on Friday that the two countries are in a state of “open war.”\nAfghanistan launched an... [7355 chars]",
            "url": "https://apnews.com/article/afghanistan-pakistan-airstrikes-open-war-98927b79ee9ef5741bf0804956d3c2e6",
            "image": "https://dims.apnews.com/dims4/default/68f2bc8/2147483647/strip/true/crop/6000x3998+0+1/resize/980x653!/quality/90/?url=https%3A%2F%2Fassets.apnews.com%2Ff6%2F2a%2Fd4d9777aebb540e8e13e03c28491%2Fdb9aa862388248c3ade2de0ccb98bff1",
            "publishedAt": "2026-02-27T20:10:00Z",
            "lang": "en",
            "source": {
                "id": "b356d47a35dfffa723fc8131b36c3ed1",
                "name": "AP News",
                "url": "https://apnews.com"
            }
        },
        {
            "id": "ad21f7178e681014a4f9bd0fb837f8e0",
            "title": "Six-nation conference in Warsaw applauds Pakistan's crackdown on illegal migration",
            "description": "Conference focused on curbing human trafficking, illegal migration.Pakistan's efforts are visible with encouraging results: FMs.Naqvi terms Pakistan wall between terrorists in Afghanistan, world.A high-level six-nation conference...",
            "content": "Conference focused on curbing human trafficking, illegal migration.\nPakistan’s efforts are visible with encouraging results: FMs.\nNaqvi terms Pakistan wall between terrorists in Afghanistan, world.\nA high-level six-nation conference on illegal migrat... [2082 chars]",
            "url": "https://www.geo.tv/latest/653279-six-nation-conference-in-warsaw-applauds-pakistans-crackdown-on-illegal-migration",
            "image": "https://www.geo.tv/assets/uploads/updates/2026-02-27/l_653279_083432_updates.jpg",
            "publishedAt": "2026-02-27T16:13:00Z",
            "lang": "en",
            "source": {
                "id": "5ad70e3bec873715a6b65792194fa25b",
                "name": "Geo News",
                "url": "https://www.geo.tv"
            }
        }
    ]
}

Categories