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": 386696,
    "articles": [
        {
            "id": "5f787b7ff7d1e2181f0391c9cb128251",
            "title": "No one can look Starmer in the eye … and the Mandy saga is not going away",
            "description": "The PM’s failure was being a spectator as Morgan McSweeney set about finding jobs for his mates",
            "content": "This is the end, beautiful friend. It is the tragedy of almost all prime ministers that they are the last person to realise the game is up. Their race is run. The backbenchers are the first to know. They spend time in their constituencies. They get i... [5375 chars]",
            "url": "https://www.theguardian.com/politics/2026/apr/22/no-one-can-look-starmer-in-the-eye-and-the-mandy-saga-is-not-going-away",
            "image": "https://i.guim.co.uk/img/media/489c8d55674d1c6b6556253c13e3559007f8cc67/0_0_5084_4068/master/5084.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&precrop=40:21,offset-x50,offset-y0&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctb3BpbmlvbnMucG5n&enable=upscale&s=d2b6446de5c3a90b2e2d509fba2e12c1",
            "publishedAt": "2026-04-22T20:05:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "id": "5404c7eb65252b4a98ddc10950f32d83",
            "title": "Consumers Sue Nintendo, Demand Share of Trump Tariff Refunds",
            "description": "A pair of customers in the US filed a class-action lawsuit, arguing that Nintendo 'stands to recover the same tariff payments twice' from consumers and the federal government.",
            "content": "As Nintendo stands to reclaim millions in Trump tariff refunds, a pair of US customers are demanding the company pass those savings back to consumers.\nOn Tuesday, the customers filed a class-action lawsuit against Nintendo in a US District Court, whi... [2546 chars]",
            "url": "https://www.pcmag.com/news/consumers-sue-nintendo-demand-share-of-trump-tariff-refunds",
            "image": "https://i.pcmag.com/imagery/articles/05SGooC1oWZwSxdzkgDDIyM-1.fit_lim.size_1200x630.v1776879294.jpg",
            "publishedAt": "2026-04-22T18:36:41Z",
            "lang": "en",
            "source": {
                "id": "1af0c07097d5cf01dc8beca711d490d1",
                "name": "PCMag",
                "url": "https://www.pcmag.com"
            }
        },
        {
            "id": "ee89cb1e47d771583dbc93e1d0ac3346",
            "title": "Kate Middleton Pairs Emilia Wickstead Dress With Sentimental Jewelry",
            "description": "Kate Middleton always tends to carry herself with pure grace and elegance. In fact, that’s exactly what happened recently as she turned heads in a soft yet striking purple ensemble, just as she steppe...",
            "content": "Kate Middleton always tends to carry herself with pure grace and elegance. In fact, that’s exactly what happened recently as she turned heads in a soft yet striking purple ensemble, just as she stepped out alongside Prince William to mark a deeply me... [1758 chars]",
            "url": "https://www.yahoo.com/entertainment/celebrity/articles/kate-middleton-pairs-emilia-wickstead-183207776.html?guccounter=1&guce_referrer=aHR0cHM6Ly9uZXdzLmdvb2dsZS5jb20vXy9Eb3RzU3BsYXNoVWkvZGF0YS9iYXRjaGV4ZWN1dGU&guce_referrer_sig=AQAAAKUsonC5rjGrMOvE-VdZ4NiMqXtLCU4t-tg9lQJtTGLRMmBOcKWZOeP-PThi16mdKn-3TMFK5svzPm1WjN2fdyWOssq1jKyTUINHbW8fLbe95m13HAg0f-Wrx6jkFjDbeLHuYUH48quud7zsikNjc1OJmwNgc8sWpNGxjjo2-Z-7",
            "image": "https://s.yimg.com/os/en/the_fashion_spot_348/6f9651ebbd873307c7ecacf0cf439c33",
            "publishedAt": "2026-04-22T18:32:07Z",
            "lang": "en",
            "source": {
                "id": "99e8a2cb4638bb798cf9167e5af5b83b",
                "name": "Yahoo",
                "url": "https://www.yahoo.com"
            }
        }
    ]
}

Categories