Flag of the Pakistan

Pakistan World News API

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

Get API key for the Pakistan World 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=world&apikey=API_KEY
{
    "totalArticles": 3660462,
    "articles": [
        {
            "id": "b1b4de1c3609e2230248c2cee80a13d0",
            "title": "All at Sea: UK Sends Wrong Signal on Gulf Naval Role",
            "description": "The British government recently announced that HMS Lancaster, a Royal Navy frigate permanently based in the Gulf, will return to the UK for scrapping by the end of the year. This will leave the UK without a permanent forward-based destroyer or frigate in the Gulf for the first time in many years. The decision comes at a bad time, given the fragile state of maritime security in the region.",
            "content": "The British government recently announced that HMS Lancaster, a Royal Navy frigate permanently based in the Gulf, will return to the UK for scrapping by the end of the year. This will leave the UK without a permanent forward-based destroyer or frigat... [5447 chars]",
            "url": "https://www.hudson.org/national-security-defense/all-sea-uk-sends-wrong-signal-gulf-naval-role-luke-coffey",
            "image": "https://www.hudson.org/sites/default/files/2025-08/GettyImages-1232036906.jpg",
            "publishedAt": "2025-08-19T20:56:47Z",
            "lang": "en",
            "source": {
                "id": "7c20d3ef6a2066fa81c7c58ce006200a",
                "name": "Hudson Institute",
                "url": "https://www.hudson.org",
                "country": "pk"
            }
        },
        {
            "id": "ce6d1e9316574b60f3dde9b948d4adb5",
            "title": "Morning Mail: Netanyahu unleashes on Albanese, mining threat to Perth’s water, Trump hints at air support for Ukraine",
            "description": "Israeli leader says prime minister has ‘abandoned’ Jewish state as relations worsen; strip mining project is threat to city supply, engineers claim",
            "content": "Morning everyone. Benjamin Netanyahu has launched a vituperative attack on Anthony Albanese, calling the Australian prime minister a “weak politician” who had abandoned Israel.\nWe have an exclusive on NSW selling huge chunks of land to private develo... [5787 chars]",
            "url": "https://www.theguardian.com/australia-news/2025/aug/20/morning-mail-wednesday-ntwnfb",
            "image": "https://i.guim.co.uk/img/media/f31124d8d5e9bac25c57d0d6a60b1dd5cda479a7/1381_62_2603_2082/master/2603.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=ad02b376100373d11e67a67724081551",
            "publishedAt": "2025-08-19T20:55:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com",
                "country": "pk"
            }
        },
        {
            "id": "f98a3c18bd29ff57f2e10c0c8e61886a",
            "title": "Kremlin plays down Zelensky talks as Trump warns Putin may not 'want to make deal'",
            "description": "The US president conceded the war in Ukraine was \"tough to solve\" after several days of high-level talks.",
            "content": "Kremlin plays down Zelensky talks as Trump warns Putin may not 'want to make deal'\n38 minutes ago Share Save Laura Gozzi BBC News Share Save\nGetty Images Putin received a warm welcome in Alaska on Friday\nThe Kremlin has played down talk of an imminen... [4367 chars]",
            "url": "https://www.bbc.com/news/articles/cn92e52rpjxo",
            "image": "https://ichef.bbci.co.uk/news/1024/branded_news/1331/live/d2dbeab0-7d32-11f0-b6c9-e1728577c12d.jpg",
            "publishedAt": "2025-08-19T20:23:41Z",
            "lang": "en",
            "source": {
                "id": "f331a5ed3965fb59761dfcecfc7e7a34",
                "name": "BBC",
                "url": "https://www.bbc.com",
                "country": "pk"
            }
        }
    ]
}

Categories