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": 371242,
    "articles": [
        {
            "id": "04acb08ad53728e8eb7dae3de0c5b970",
            "title": "Opposition alliance urges govt to consult Parliament, opposition on defence deals amid regional tensions",
            "description": "Expresses concern over the alarming situation in the region, strongly condemns attacks by US and Israel against Iran",
            "content": "The Tehreek-e-Tahaffuz-e-Ain Pakistan (TTAP) on Wednesday demanded that the government consult Parliament and the opposition on the country's defence agreements and policy matters to ensure that national security decisions were taken with consensus.\n... [3762 chars]",
            "url": "https://tribune.com.pk/story/2597089/ttap-urges-govt-to-consult-parliament-opposition-on-defence-deals-amid-regional-tensions",
            "image": "https://i.tribune.com.pk/media/images/ttap-meeting1773255699-0/ttap-meeting1773255699-0-640x480.webp",
            "publishedAt": "2026-03-11T19:34:36Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "id": "71ff82afb7bc3cbbc72fc081ecfa0753",
            "title": "Targeting mistake led to US missile strike on Iranian school: report",
            "description": "NYT reports that US Central Command officers created the target coordinates for the strike using outdated data provided by the Defence Intelligence Agency.",
            "content": "The United States was responsible for a Tomahawk missile strike on an Iranian elementary school because of a targeting mistake, The New York Times reported on Wednesday.\nThe newspaper, citing US officials, said the investigation into the February 28 ... [1572 chars]",
            "url": "https://www.dawn.com/news/1981012/targeting-mistake-led-to-us-missile-strike-on-iranian-school-report",
            "image": "https://i.dawn.com/large/2026/03/1123251638fd853.webp",
            "publishedAt": "2026-03-11T18:25:49Z",
            "lang": "en",
            "source": {
                "id": "e7c51bc1b8daaa70cfd1f48e936fcc2b",
                "name": "Dawn",
                "url": "https://www.dawn.com"
            }
        },
        {
            "id": "704b659de21ff853b61b81138362a45b",
            "title": "Live updates: Iran war news, Strait of Hormuz in crosshairs of conflict as attacks on ships escalate",
            "description": "Three vessels were hit by projectiles near the Strait of Hormuz, the UK’s maritime agency said. Countries have agreed to release a record 400 million barrels of oil in an effort to stem gas prices. Follow for live news updates.",
            "content": "Iran’s new Supreme Leader Mojtaba Khamenei suffered a fractured foot and other minor injuries on the first day of the US and Israel’s bombardment campaign, a source familiar with the situation told CNN.\nIn addition to his injured foot, Khamenei recei... [23551 chars]",
            "url": "https://edition.cnn.com/world/live-news/iran-war-us-israel-trump-03-11-26?post-id=cmmm3hcw600013b6tvwnwoyc2",
            "image": "https://media.cnn.com/api/v1/images/stellar/prod/2000236-1250-r-ps2560x1440.jpg?c=16x9&q=w_800,c_fill",
            "publishedAt": "2026-03-11T18:25:00Z",
            "lang": "en",
            "source": {
                "id": "6ef34c2847abf2288eece34615de441a",
                "name": "CNN",
                "url": "https://edition.cnn.com"
            }
        }
    ]
}

Categories