Flag of 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": 351678,
    "articles": [
        {
            "id": "1026751abe734ffda5f3f7ec514ca4c7",
            "title": "Microsoft Warns Hackers Are Using Nslookup DNS Lookups to Deliver ClickFix Malware",
            "description": "Microsoft has disclosed a new DNS-based ClickFix attack using nslookup to stage malware payloads and deploy remote access trojans.",
            "content": "Microsoft has revealed a dangerous new evolution of the ClickFix social engineering tactic, with the DNS-based ClickFix attack replacing traditional web-based malware delivery with something far harder to spot: Domain Name System (DNS) lookups.\nIn th... [4156 chars]",
            "url": "https://www.phoneworld.com.pk/microsoft-warns-hackers-are-using-nslookup-dns-lookups-to-deliver-clickfix-malware/",
            "image": "https://www.phoneworld.com.pk/wp-content/uploads/2026/02/DNS-based-ClickFix-attack.jpg",
            "publishedAt": "2026-02-16T06:01:36Z",
            "lang": "en",
            "source": {
                "id": "7240c23a2323674cf8b7cf46515677cd",
                "name": "PhoneWorld",
                "url": "https://www.phoneworld.com.pk"
            }
        },
        {
            "id": "e39295cdb8e8e3706072d33e5714db58",
            "title": "Three Fitna al-Hindustan facilitators arrested in Karachi operation",
            "description": "Sindh Rangers and the Counter Terrorism Department (CTD) police on Friday conducted a joint intelligence-based operation in Korangi’s Chakragoth area, arresting",
            "content": "Sindh Rangers and the Counter Terrorism Department (CTD) police on Friday conducted a joint intelligence-based operation in Korangi’s Chakragoth area, arresting three highly wanted facilitators linked to the banned outfit Fitna al-Hindustan.\nAccordin... [1446 chars]",
            "url": "https://www.nation.com.pk/16-Feb-2026/three-fitna-al-hindustan-facilitators-arrested-karachi-operation",
            "image": "https://www.nation.com.pk/digital_images/large/2026-02-16/three-fitna-al-hindustan-facilitators-arrested-karachi-operation-1771220200-7207.jpg",
            "publishedAt": "2026-02-16T05:36:58Z",
            "lang": "en",
            "source": {
                "id": "5e331ca39104c898285cf9f72e2e2e65",
                "name": "The Nation (Pakistan )",
                "url": "https://www.nation.com.pk"
            }
        },
        {
            "id": "a051647bc46b885fe125bd659b2d1da7",
            "title": "Rangers, CTD arrest three 'Fitna al-Hindustan' Facilitators in Karachi raid",
            "description": "Rangers and CTD arrest three terror facilitators in Karachi, seize explosives and extremist material, foil plot targeting sensitive sites; suspects handed to police",
            "content": "KARACHI (Dunya News) - Sindh Rangers and the Counter Terrorism Department (CTD) police carried out a joint operation in Korangi Chakragoth, arresting three highly wanted facilitators linked to Fitna al-Hindustan.\nRangers officials identified the arre... [863 chars]",
            "url": "https://dunyanews.tv/en/Pakistan/935650-rangers-ctd-arrest-three-fitna-alhindustan-facilitators-in-karachi",
            "image": "https://img.dunyanews.tv/news/2026/February/02-16-26/news_big_images/935650_79672813.jpg",
            "publishedAt": "2026-02-16T04:41:00Z",
            "lang": "en",
            "source": {
                "id": "56b5d3b8882926e1817f100d578b6887",
                "name": "Dunya News",
                "url": "https://dunyanews.tv"
            }
        }
    ]
}

Categories