Flag of Pakistan

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": 279824,
    "articles": [
        {
            "id": "6a67c9a16045bf5a9b12f31734bff199",
            "title": "OGDC ramps up unconventional gas plans",
            "description": "Pushes for major expansion of tight and shale gas to boost production",
            "content": "ISLAMABAD:\nState-run Oil & Gas Development Company (OGDC) is planning a major expansion of unconventional gas developments from early next year, aiming to boost production and reduce reliance on imported liquefied natural gas (LNG).\nPakistan has long... [1550 chars]",
            "url": "https://tribune.com.pk/story/2580786/ogdc-ramps-up-unconventional-gas-plans",
            "image": "https://i.tribune.com.pk/media/images/11694891991-0/11694891991-0-640x480.webp",
            "publishedAt": "2025-12-06T01:15:21Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "id": "44ac9db23fe8163b344602848825a23c",
            "title": "From the Philippines to Sri Lanka, how a cocktail of rogue storms and climate chaos unleashed deadly flooding across Asia",
            "description": "Looking at the weather map on his computer and seeing three simultaneous tropical storms forming across Asia in late November, climatologist Fredolin Tangang’s first thoughts drifted to the 2004 disaster movie “The Day After Tomorrow.”",
            "content": "Looking at the weather map on his computer and seeing three tropical storms forming simultaneously across Asia in late November, climatologist Fredolin Tangang’s first thoughts drifted to the 2004 disaster movie “The Day After Tomorrow.”\nThe film, in... [9417 chars]",
            "url": "https://www.cnn.com/2025/12/05/asia/south-asia-rare-storms-flooding-climate-intl-hnk-dst",
            "image": "https://media.cnn.com/api/v1/images/stellar/prod/gettyimages-2248615210-20251202083712918.jpg?c=16x9&q=w_800,c_fill",
            "publishedAt": "2025-12-06T01:13:00Z",
            "lang": "en",
            "source": {
                "id": "b7f8938851261c8403f75f40eb1d8645",
                "name": "CNN",
                "url": "https://www.cnn.com"
            }
        },
        {
            "id": "7b7fe5bf16caa4b41623f00b015aa80b",
            "title": "KP cabinet decides to withdraw ‘politically motivated’ May 9 cases",
            "description": "Sends new posting, transfer policy to its panel for review",
            "content": "PESHAWAR: The Khyber Pakhtunkhwa cabinet on Friday decided to withdraw what it called “politically motivated violence cases registered on May 9 and 10 without credible evidence.”\nThe cabinet met with Chief Minister Sohail Afridi in the chair and mini... [4690 chars]",
            "url": "https://www.dawn.com/news/1959410/kp-cabinet-decides-to-withdraw-politically-motivated-may-9-cases",
            "image": "https://www.dawn.com/_img/social-default.jpg",
            "publishedAt": "2025-12-06T00:35:06Z",
            "lang": "en",
            "source": {
                "id": "e7c51bc1b8daaa70cfd1f48e936fcc2b",
                "name": "Dawn",
                "url": "https://www.dawn.com"
            }
        }
    ]
}

Categories