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": 69792,
    "articles": [
        {
            "title": "ECP announces successful candidates on NA’s minority seats",
            "description": "Election Commission of Pakistan (ECP) announced names of successful candidates for National Assembly’s (NA) reserved seats for minorities.",
            "content": "ISLAMABAD: The Election Commission of Pakistan (ECP) has announced names of successful candidates for the National Assembly’s (NA) reserved seats for minorities, ARY News reported on Friday.\nAccording to details, the electoral watchdog issued a notif... [1491 chars]",
            "url": "https://arynews.tv/ecp-announces-successful-candidates-on-nas-minority-seats/",
            "image": "https://arynews.tv/wp-content/uploads/2024/02/Untitled-1-238.jpg",
            "publishedAt": "2024-02-23T18:54:44Z",
            "source": {
                "name": "ARY NEWS",
                "url": "https://arynews.tv"
            }
        },
        {
            "title": "Caretaker cabinet committee approves work on Iran-Pakistan gas pipeline",
            "description": "The caretaker Cabinet Committee on Energy (CCoE) Friday approved works on the first phase of the Iran-Pakistan (IP) gas pipeline, prompting hope for boosting the",
            "content": "The caretaker Cabinet Committee on Energy (CCoE) Friday approved works on the first phase of the Iran-Pakistan (IP) gas pipeline, prompting hope for boosting the nation’s energy security as the project had seen more than a decade’s delay.\nIn a statem... [1955 chars]",
            "url": "https://www.nation.com.pk/23-Feb-2024/caretaker-cabinet-committee-approves-work-on-iran-pakistan-gas-pipeline",
            "image": "https://www.nation.com.pk/digital_images/large/2024-02-23/caretaker-cabinet-committee-approves-work-on-iran-pakistan-gas-pipeline-1708701812-3989.jpg",
            "publishedAt": "2024-02-23T15:23:34Z",
            "source": {
                "name": "The Nation",
                "url": "https://www.nation.com.pk"
            }
        },
        {
            "title": "Motorcyclists banned on flyovers",
            "description": "Rawalpindi Police banned the entry of motorcycles at all flyovers to avert any untoward incident during the Basant festival",
            "content": "RAWALPINDI: Rawalpindi Police banned the entry of motorcycles at all flyovers to avert any untoward incident during the Basant festival.\nAs per details, on the occasion of Basant in Punjab, several measures have been taken given the fear of losses fr... [1392 chars]",
            "url": "https://arynews.tv/motorcyclists-banned-on-flyovers-in-rawalpindi/",
            "image": "https://arynews.tv/wp-content/uploads/2024/02/Untitled-1-234.jpg",
            "publishedAt": "2024-02-23T15:15:45Z",
            "source": {
                "name": "ARY NEWS",
                "url": "https://arynews.tv"
            }
        }
    ]
}

Categories