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": 4580384,
    "articles": [
        {
            "id": "b4b7d7736caeabcf94a338ab71f0b831",
            "title": "Double whammy as Punjab battles disease outbreaks amid worsening floods",
            "description": "WHO warns of 'grave risks' of epidemic outbreaks, stressing need for clean water, sanitation and supply of medicines",
            "content": "LAHORE:\nDespite official reassurances of a smooth relief operation, a grim reality lurks in Punjab’s flood-stricken districts, where health issues are escalating given outbreak of flood-related diseases.\nWhile provincial authorities highlight rescue ... [3470 chars]",
            "url": "https://tribune.com.pk/story/2565449/double-whammy-as-punjab-battles-disease-outbreaks-amid-worsening-floods",
            "image": "https://i.tribune.com.pk/media/images/zsa-31757254008-0/zsa-31757254008-0-640x480.webp",
            "publishedAt": "2025-09-07T14:37:30Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk",
                "country": "pk"
            }
        },
        {
            "id": "bdf731e5ddf34b661ba2574bf87ef93f",
            "title": "Parts of Karachi receive rain as Met Office warns of urban flooding",
            "description": "According to Met Office, this spell of showers will possibly continue till Thursday “with occasional gaps”.",
            "content": "Parts of Karachi received rain on Sunday evening as the Pakistan Meteorological Department (PMD) forecast that the fresh rain spell in the city would continue till September 11 (Thursday).\nIt would witness “rain-wind/thundershowers with a few moderat... [1816 chars]",
            "url": "https://www.dawn.com/news/1940285/parts-of-karachi-receive-rain-as-met-office-warns-of-urban-flooding",
            "image": "https://i.dawn.com/large/2025/09/071720482f46a4a.webp",
            "publishedAt": "2025-09-07T12:43:51Z",
            "lang": "en",
            "source": {
                "id": "e7c51bc1b8daaa70cfd1f48e936fcc2b",
                "name": "Dawn",
                "url": "https://www.dawn.com",
                "country": "pk"
            }
        },
        {
            "id": "531ec79308e4a13261c69a64d8d17ce1",
            "title": "Rain starts in parts of Karachi as Met Office warns of urban flooding",
            "description": "According to Met Office, this spell of showers will possibly continue till Thursday “with occasional gaps”.",
            "content": "Parts of Karachi started to receive rain on Sunday evening as the Pakistan Meteorological Department (PMD) forecast that the fresh rain spell in the city would continue till September 11 (Thursday).\nIt would witness “rain-wind/thundershowers with a f... [1821 chars]",
            "url": "https://www.dawn.com/news/1940285/rain-starts-in-parts-of-karachi-as-met-office-warns-of-urban-flooding",
            "image": "https://i.dawn.com/large/2025/09/071720482f46a4a.webp",
            "publishedAt": "2025-09-07T12:43:51Z",
            "lang": "en",
            "source": {
                "id": "e7c51bc1b8daaa70cfd1f48e936fcc2b",
                "name": "Dawn",
                "url": "https://www.dawn.com",
                "country": "pk"
            }
        }
    ]
}

Categories