Flag of the 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": 99293,
    "articles": [
        {
            "title": "Pindi lawmakers to monitor anti-dengue drive",
            "description": "RAWALPINDI: The Punjab health minister on Thursday formed a district emergency response committee comprising ...",
            "content": "RAWALPINDI: The Punjab health minister on Thursday formed a district emergency response committee comprising national and provincial lawmakers in Rawalpindi to monitor the anti-dengue drive, as the administration officially imposed a dengue emergency... [3169 chars]",
            "url": "https://www.dawn.com/news/1864467/pindi-lawmakers-to-monitor-anti-dengue-drive",
            "image": "https://www.dawn.com/_img/social-default.jpg",
            "publishedAt": "2024-10-11T05:03:29Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        },
        {
            "title": "Anti-dengue awareness walk held at I-8 Markaz",
            "description": "ISLAMABAD: Former president Islamabad Chamber of Commerce and Industry (ICCI) Ahsan Bakhtawari has stated that clean...",
            "content": "ISLAMABAD: Former president Islamabad Chamber of Commerce and Industry (ICCI) Ahsan Bakhtawari has stated that clean and green Islamabad is among his top priorities.\nHe was speaking at an anti-dengue spray and awareness walk organised at I-8 Markaz. ... [1152 chars]",
            "url": "https://www.dawn.com/news/1864458/anti-dengue-awareness-walk-held-at-i-8-markaz",
            "image": "https://www.dawn.com/_img/social-default.jpg",
            "publishedAt": "2024-10-11T04:55:02Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        },
        {
            "title": "Report lifts veil from police failures in Dr Shahnawaz’s killing",
            "description": "SHRC highlights significant gaps in legal process, inadequate protection of fundamental rights.",
            "content": "UMERKOT/ KARACHI: The Sindh Human Rights Commission (SHRC) has completed its fact-finding /investigation into the extrajudicial killing of Dr Shahnawaz Kunbhar, revealing a pattern of legal violations, administrative failures, and negligence by law e... [4696 chars]",
            "url": "https://www.dawn.com/news/1864452/report-lifts-veil-from-police-failures-in-dr-shahnawazs-killing",
            "image": "https://i.dawn.com/large/2024/10/11101207168135c.png?r=101215",
            "publishedAt": "2024-10-11T04:45:12Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        }
    ]
}

Categories