Pakistan News API

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

Get API key for the Pakistan 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=general&apikey=API_KEY
{
    "totalArticles": 412394,
    "articles": [
        {
            "id": "5fd0b071ba23e55f6c91f4d7b9e76ce6",
            "title": "Afghan govt staff abandon smartphones",
            "description": "Afghan govt staff abandon smartphones",
            "content": "KABUL:\nGovernment workers in different parts of Afghanistan have started switching off their smartphones, following an order imposed Wednesday that they told AFP came from Supreme Leader Hibatullah Akhundzada.\nA letter announcing the ban on smartphon... [1650 chars]",
            "url": "https://tribune.com.pk/story/2613793/afghan-govt-staff-abandon-smartphones",
            "image": "https://i.tribune.com.pk/media/images/471781733689-1/471781733689-1-640x480.webp",
            "publishedAt": "2026-06-17T22:16:15Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "id": "d50953c0729458f1a3cfa508719c6def",
            "title": "Macron hails US alignment with G7’s ‘shared commitment’ on Ukraine",
            "description": "French president welcomes group’s unity after ‘very deep change’ in Washington’s approach",
            "content": "Emmanuel Macron has said the whole of the G7, including the US, recognises “the territorial integrity of Ukraine” as he hailed a “re-synchronisation” of positions on the issue.\nThe French president welcomed a “very deep change in the US approach”, sa... [2564 chars]",
            "url": "https://www.theguardian.com/world/2026/jun/17/macron-hails-us-alignment-with-g7s-shared-commitment-on-ukraine",
            "image": "https://i.guim.co.uk/img/media/3e7c68f20ecf4b37eb3531a53ffda10507d98259/1672_3_3685_2949/master/3685.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=2f8c707dd8a7057c197e6845b5e28523",
            "publishedAt": "2026-06-17T22:13:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "id": "fed77a4a923bfd059f99590fdd5f32ff",
            "title": "PM vows to pass on economic relief to people",
            "description": "PM vows to pass on economic relief to people",
            "content": "ISLAMABAD:\nPrime Minister Shehbaz Sharif on Wednesday said that the positive economic benefits of the government's policies would be passed on to the public once regional peace was fully restored and normalcy returned.\nSpeaking during a meeting with ... [1716 chars]",
            "url": "https://tribune.com.pk/story/2613787/pm-vows-to-pass-on-economic-relief-to-people",
            "image": "https://i.tribune.com.pk/media/images/421781732513-4/421781732513-4-640x480.webp",
            "publishedAt": "2026-06-17T21:51:45Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        }
    ]
}

Categories