Flag of the 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": 72819,
    "articles": [
        {
            "title": "Travel ban on non-filers to apply only after due notice, FBR chief tells Senate body",
            "description": "ISLAMABAD: Federal Board of Revenue (FBR) Chairman Amjad Zubair Tiwana on Saturday clarified that there had been no...",
            "content": "ISLAMABAD: Federal Board of Revenue (FBR) Chairman Amjad Zubair Tiwana on Saturday clarified that there had been no immediate travel restrictions on non-filers as proposed in the federal budget presented by the government for the next fiscal year on ... [4047 chars]",
            "url": "https://www.dawn.com/news/1840217/travel-ban-on-non-filers-to-apply-only-after-due-notice-fbr-chief-tells-senate-body",
            "image": "https://www.dawn.com/_img/social-default.jpg",
            "publishedAt": "2024-06-16T02:14:10Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        },
        {
            "title": "PDMA issues alert as rains likely during Eid days",
            "description": "LAHORE: The city braced for heatwave as temperatures soared on Saturday while the meteorological department has...",
            "content": "LAHORE: The city braced for heatwave as temperatures soared on Saturday while the meteorological department has expected rain after Eidul Azha.\nIn response to the escalating temperatures, the Provincial Disaster Management Authority (PDMA) Punjab has... [3625 chars]",
            "url": "https://www.dawn.com/news/1840212/pdma-issues-alert-as-rains-likely-during-eid-days",
            "image": "https://www.dawn.com/_img/social-default.jpg",
            "publishedAt": "2024-06-16T02:03:25Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        },
        {
            "title": "Punjab PDMA issues alert as rains likely during Eid days",
            "description": "From June 18, moist winds entering the western regions may bring rain in various districts across the country.",
            "content": "LAHORE: The city braced for heatwave as temperatures soared on Saturday while the meteorological department has expected rain after Eidul Azha.\nIn response to the escalating temperatures, the Provincial Disaster Management Authority (PDMA) Punjab has... [3625 chars]",
            "url": "https://www.dawn.com/news/1840212",
            "image": "https://i.dawn.com/large/2024/06/16125110f6c7d17.png?r=125327",
            "publishedAt": "2024-06-16T02:03:25Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        }
    ]
}

Categories