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": 404304,
    "articles": [
        {
            "id": "8c66cec5e8c25c9e1de151babdc8a3c0",
            "title": "PM Shehbaz arrives in Quetta to chair provincial NAP committee meeting",
            "description": "Upon arrival, the prime minister was received by Balochistan Governor Jaffar Khan Mandokhail",
            "content": "Prime Minister Shehbaz Sharif arrived in Quetta on Tuesday for a one-day visit, where he would chair a meeting of the Provincial Apex Committee of the National Action Plan (NAP).\nAccording to the Prime Minister's Office (PMO), upon arrival, the prime... [1015 chars]",
            "url": "https://tribune.com.pk/story/2608939/pm-shehbaz-arrives-in-quetta-to-chair-nap-apex-committee-meeting",
            "image": "https://i.tribune.com.pk/media/images/untitled-design-271779176411-0/untitled-design-271779176411-0-640x480.webp",
            "publishedAt": "2026-05-19T08:53:06Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "id": "6ae2d973590689ed652e7ce51b478bf8",
            "title": "IHC seeks reports on anti-drug measures in educational institutions",
            "description": "Islamabad High Court directs HEC, police, and administration to submit reports on anti-drug measures in schools and universities, urging monitoring, awareness, and strict enforcement.",
            "content": "ISLALMABAD (Dunya News) – The Islamabad High Court (IHC) on Tuesday directed the Higher Education Commission (HEC) to submit a detailed report on measures being taken by universities to eradicate drugs.\nJustice Inam Amin Minhas, presiding over the he... [1352 chars]",
            "url": "https://dunyanews.tv/en/Pakistan/952501-ihc-seeks-reports-on-antidrug-measures-in-educational-institutions",
            "image": "https://img.dunyanews.tv/news/2026/May/05-19-26/news_big_images/952501_23329565.jpg",
            "publishedAt": "2026-05-19T08:05:53Z",
            "lang": "en",
            "source": {
                "id": "56b5d3b8882926e1817f100d578b6887",
                "name": "Dunya News",
                "url": "https://dunyanews.tv"
            }
        },
        {
            "id": "ecdc37d362b849354d59870fc6f64b24",
            "title": "PlayStation Podcaster Exposes Major PSN Security Flaw That Could Put Your Account at Risk",
            "description": "A famous PlayStation podcaster has shed light on a major PSN security flaw that puts every account at risk today. Learn more about it here.",
            "content": "Colin Moriarty, the Godfather of PlayStation podcast, exposed a major PSN security flaw earlier today after his personal account was hacked. Now the podcaster is urging Sony to address this issue to bolster its security, as PSN accounts are at risk.\n... [4122 chars]",
            "url": "https://beebom.com/playstation-podcaster-exposes-major-psn-security-flaw-that-could-put-your-account-at-risk/",
            "image": "https://static.beebom.com/wp-content/uploads/2026/05/psn-colin-hack.jpg",
            "publishedAt": "2026-05-19T07:11:55Z",
            "lang": "en",
            "source": {
                "id": "8a3877d2249e51ed04e9995e5f897cbb",
                "name": "Beebom",
                "url": "https://beebom.com"
            }
        }
    ]
}

Categories