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": 90609,
    "articles": [
        {
            "title": "Key TTP commander killed in Lakki Marwat IBO",
            "description": "The deceased terrorist was sought after for his involvement in numerous attacks",
            "content": "The Counter-Terrorism Department (CTD) of Bannu killed on Sunday a key terrorist commander of the banned Tehreek-e-Taliban Pakistan (TTP) in an Intelligence-based operation (IBO) carried out in Lakki Marwat.\nThe operation was conducted in Tajuri Road... [1297 chars]",
            "url": "https://tribune.com.pk/story/2471999/key-ttp-commander-killed-in-lakki-marwat-ibo",
            "image": "https://i.tribune.com.pk/media/images/wali1718523103-0/wali1718523103-0.jpg",
            "publishedAt": "2024-06-16T07:55:59Z",
            "source": {
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "title": "At least two dead, five injured in Kurram blast",
            "description": "Rescue officials say four wounded are in ‘critical condition’",
            "content": "At least two dead, five injured in Kurram blast\nAt least two fatalities were reported and five sustained injuries in an explosion on Koram Road in Kurram district of the Khyber-Pakhtunkhwa (K-P) province on Sunday, Express News reported.\nThe rescue 1... [1051 chars]",
            "url": "https://tribune.com.pk/story/2471992/at-least-two-dead-five-injured-in-kurram-blast",
            "image": "https://i.tribune.com.pk/media/images/kurram-11718523645-0/kurram-11718523645-0.jpg",
            "publishedAt": "2024-06-16T07:27:30Z",
            "source": {
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "title": "Hajj pilgrims 'stone the devil' as Muslims mark Eid ul Adha",
            "description": "Stoning ritual witnesses multiple stampedes, most recently 2015 when 2,300 worshippers were martyred in Hajj disaster",
            "content": "Muslim pilgrims throw pebbles at pillars during the \"Jamarat\" ritual, the stoning of Satan, in Mina. PHOTO: AFP\nPilgrims perform the last major ritual of the Hajj, the \"stoning of the devil\", in western Saudi Arabia on Sunday, as Muslims the world ov... [2969 chars]",
            "url": "https://tribune.com.pk/story/2471993/hajj-pilgrims-stone-the-devil-as-muslims-mark-eid-al-adha",
            "image": "https://i.tribune.com.pk/media/images/1181142-hajj-1473668423/1181142-hajj-1473668423.jpg",
            "publishedAt": "2024-06-16T06:51:16Z",
            "source": {
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        }
    ]
}

Categories