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": 7357044,
    "articles": [
        {
            "id": "8c4c997e150843745462a15b5b8b97d1",
            "title": "Pakistan’s deputy prime minister to visit Bangladesh today amid thaw in bilateral relations",
            "description": "ISLAMABAD: Pakistan’s Deputy Prime Minister and Foreign Minister Ishaq Dar will begin a two-day visit to Bangladesh today, Saturday, for talks with the leadership in Dhaka, the foreign office said, in the latest sign of improving ties between the two South Asian countries. Bangladesh underwent a political upheaval last year when its longtime leader Sheikh Hasina was ousted in",
            "content": "On road to learning, mobile schools bring education and joy to underprivileged children in Islamabad\nISLAMABAD: The eyes of Mukhtiyar Ahmed shine bright as soon as he sees a colorful bus pulling over near his village, Thalla Saiyidan, on the outskirt... [5407 chars]",
            "url": "https://www.arabnews.com/node/2612729/pakistan",
            "image": "https://www.arabnews.com/sites/default/files/styles/660x371_watermarksaudi/public/main-image/2025/08/23/4632906-51020249.jpg?itok=dLyP_SI-",
            "publishedAt": "2025-08-23T03:45:58Z",
            "lang": "en",
            "source": {
                "id": "2a04ee5063a4ff486d1d434ffdf3d3ee",
                "name": "Arab News",
                "url": "https://www.arabnews.com",
                "country": "pk"
            }
        },
        {
            "id": "7c39e3e4f68e7a876e81712536bacd38",
            "title": "Ex-Lanka president remanded in graft case",
            "description": "Ranil Wickremesinghe arrested over alleged misuse of state funds",
            "content": "Former Sri Lankan President Ranil Wickremesinghe, who led the country during a devastating economic crisis, was arrested and remanded in custody on Friday over allegations he misused state funds while in office, police said.\nWickremesinghe, 76, who l... [1385 chars]",
            "url": "https://tribune.com.pk/story/2562738/ex-lanka-president-remanded-in-graft-case",
            "image": "https://i.tribune.com.pk/media/images/1560318-articledocatayKRnLpHSK_x-1510845364/1560318-articledocatayKRnLpHSK_x-1510845364-640x480.webp",
            "publishedAt": "2025-08-23T03:11:15Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk",
                "country": "pk"
            }
        },
        {
            "id": "cf02a5a2dd066d09eb3e5906e604f331",
            "title": "Former Sri Lankan President Wickremesinghe arrested on allegations of misusing state funds",
            "description": "Sri Lankan police have arrested former president Ranil Wickremesinghe over allegations of misusing public funds",
            "content": "Sri Lankan police have arrested former president Ranil Wickremesinghe over allegations of misusing public funds\nFormer Sri Lankan President Wickremesinghe arrested on allegations of misusing state funds\nBy The Associated Press\nFILE -Sri Lankan presid... [1490 chars]",
            "url": "https://abcnews.go.com/International/wireStory/former-sri-lankan-president-wickremesinghe-arrested-allegations-misusing-124872867",
            "image": "https://i.abcnewsfe.com/a/be86b3a2-e233-46a9-83dc-9bde724e2e2b/wirestory_3057941fe6d62e681f23e5f190812fbc_16x9.jpg?w=1600",
            "publishedAt": "2025-08-23T02:57:18Z",
            "lang": "en",
            "source": {
                "id": "5ca536331c246cd7f693cdb2cceaff8c",
                "name": "ABC News",
                "url": "https://abcnews.go.com",
                "country": "pk"
            }
        }
    ]
}

Categories