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": 6344264,
    "articles": [
        {
            "title": "Scientists find strongest evidence yet of life on another planet",
            "description": "Data from James Webb telescope finds evidence of chemicals only produced by living organisms on ‘K2-18b’, a planet 8.6 times",
            "content": "WASHINGTON: In a potential landmark discovery, scientists using the James Webb Space Telescope have obtained what they call the strongest signs yet of possible life beyond our solar system.\nThe researchers have detected the chemical fingerprints of g... [4135 chars]",
            "url": "https://www.dawn.com/news/1904940/scientists-find-strongest-evidence-yet-of-life-on-another-planet",
            "image": "https://i.dawn.com/large/2025/04/6801a47b8dbde.gif",
            "publishedAt": "2025-04-18T01:18:33Z",
            "source": {
                "name": "Dawn",
                "url": "https://www.dawn.com"
            }
        },
        {
            "title": "Gandapur says IK willing to hold talks for ‘sake of Pakistan’",
            "description": "LAHORE: Khyber Pakhtunkhwa Chief Minister Ali Amin Gandapur said on Thursday that the Imran Khan is willing to hold...",
            "content": "LAHORE: Khyber Pakhtunkhwa Chief Minister Ali Amin Gandapur said on Thursday that the Imran Khan is willing to hold negotiations for the sake of Pakistan, not for power.\nHe was speaking at a joint general meeting of the Lahore High Court Bar Associat... [1908 chars]",
            "url": "https://www.brecorder.com/news/40358257/gandapur-says-ik-willing-to-hold-talks-for-sake-of-pakistan",
            "image": "https://i.brecorder.com/large/2025/04/1801381577064de.png?r=013912",
            "publishedAt": "2025-04-18T00:52:07Z",
            "source": {
                "name": "Business Recorder",
                "url": "https://www.brecorder.com"
            }
        },
        {
            "title": "Faisal Chowk to get pelican signal",
            "description": "LAHORE:Lahore Development Authority DG Tahir Farooq chaired a meeting at TEPA headquarters on Thursday where he was briefed that TEPA would install the first pelican signal on Charing Cross...",
            "content": "This representational image shows the pelican signal. — Unsplash/File\nLAHORE:Lahore Development Authority DG Tahir Farooq chaired a meeting at TEPA headquarters on Thursday where he was briefed that TEPA would install the first pelican signal on Char... [273 chars]",
            "url": "https://www.thenews.com.pk/print/1302469-faisal-chowk-to-get-pelican-signal",
            "image": "https://www.thenews.com.pk/assets/uploads/akhbar/2025-04-18/l_1302469_023316_updates.jpg",
            "publishedAt": "2025-04-17T21:33:16Z",
            "source": {
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        }
    ]
}

Categories