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": 406124,
    "articles": [
        {
            "id": "6782d425d8f796ec7c6589561b150dec",
            "title": "Why is a 'very close' Iran-US deal taking so long?",
            "description": "Trump has repeatedly said a deal with Iran was “very close” as he repeated it about 39 times in 2 months",
            "content": "President Donald Trump has repeatedly declared Iran and the United States are on the verge of agreeing on a deal to end the Middle East war, but a litany of sticking points has delayed finalising an accord and will complicate its implementation, anal... [4406 chars]",
            "url": "https://tribune.com.pk/story/2612855/why-is-a-very-close-iran-us-deal-taking-so-long",
            "image": "https://i.tribune.com.pk/media/images/gulf-war-r1781283207-0/gulf-war-r1781283207-0-640x480.webp",
            "publishedAt": "2026-06-12T17:31:53Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "id": "947c15e4ef28f8ef7fffdb4f75f5c2f5",
            "title": "Beckham reveals OCD habits and reflects on Messi, ownership and legacy",
            "description": "Beckham discusses OCD habits, Messi rivalry, Miami FC ownership and refusing coaching England role insights 2026 final",
            "content": "David Beckham has opened up about his life beyond football, discussing everything from his personal routines and health habits to his evolving role as owner of Inter Miami CF and his thoughts on coaching and legacy.\nBeckham revealed that he has long ... [1261 chars]",
            "url": "https://tribune.com.pk/story/2612853/beckham-reveals-ocd-habits-and-reflects-on-messi-ownership-and-legacy",
            "image": "https://i.tribune.com.pk/media/images/kkkk-2026-01-19t155605-3271768906678-0/kkkk-2026-01-19t155605-3271768906678-0-640x480.webp",
            "publishedAt": "2026-06-12T16:41:15Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "id": "84277d8e8e487a904c6e78e81a7b3444",
            "title": "Four killed, 24 injured as wind storm hits K-P's Bannu",
            "description": "Heavy rains, fierce winds trigger widespread destruction, collapsing homes, walls",
            "content": "BANNU:\nA powerful dust storm accompanied by torrential rains and strong winds unleashed devastation across Khyber-Pakhtunkhwa's Bannu district on Friday, leaving at least four people dead and 24 others injured.\nThe fierce weather caused roofs and bou... [2884 chars]",
            "url": "https://tribune.com.pk/story/2612837/four-killed-24-injured-as-wind-storm-hits-k-ps-bannu",
            "image": "https://i.tribune.com.pk/media/images/bannu1781277543-0/bannu1781277543-0-640x480.webp",
            "publishedAt": "2026-06-12T16:16:48Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        }
    ]
}

Categories