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": 391508,
    "articles": [
        {
            "id": "5f7c4870dded408f1212cae9ff630527",
            "title": "Efgartigimod Could Improve Treatment of CIDP",
            "description": "The introduction of novel therapeutic approaches is essential for improving outcomes in patients with CIDP.",
            "content": "Chronic inflammatory demyelinating polyneuropathy (CIDP) is a chronic autoimmune disorder that can cause symptoms like progressive weakness and impaired sensory function due to demyelination and axonal degeneration. The disorder is highly heterogeneo... [2233 chars]",
            "url": "https://www.docwirenews.com/post/efgartigimod-could-improve-treatment-of-chronic-inflammatory-demyelinating-polyneuropathy",
            "image": "https://mumcdnstorage.blob.core.windows.net/dwnews/2026/05/iStock-125930642.jpg",
            "publishedAt": "2026-05-15T19:20:50Z",
            "lang": "en",
            "source": {
                "id": "885ae2dda50884da7e0cf7fb8d4aa961",
                "name": "Docwire News",
                "url": "https://www.docwirenews.com"
            }
        },
        {
            "id": "b7688b8adf90b8ac4ca8e394bb77febe",
            "title": "Israel, Lebanon agree to extend ceasefire by 45 days: U.S. State Dept",
            "description": "Israel and Lebanon have agreed to a 45-day extension of a ceasefire U.S. President Donald Trump declared on April 16, the U.S. State Department said on Friday.",
            "content": "Israel and Lebanon have agreed to a 45-day extension of a ceasefire U.S. President Donald Trump declared on April 16, the U.S. State Department said on Friday.\n\"The April 16 cessation of hostilities will be extended by 45 days to enable further progr... [741 chars]",
            "url": "https://www.cnbc.com/2026/05/15/israel-lebanon-agree-to-extend-ceasefire-by-45-days-us-state-dept.html",
            "image": "https://image.cnbcfm.com/api/v1/image/108307839-1778869390402-gettyimages-2275787514-AFP_B2XJ99E.jpeg?v=1778869410&w=1920&h=1080",
            "publishedAt": "2026-05-15T18:29:33Z",
            "lang": "en",
            "source": {
                "id": "32c2ad3fb41cb87b5b847d750028dff0",
                "name": "CNBC",
                "url": "https://www.cnbc.com"
            }
        },
        {
            "id": "250e7d08394d313c4782412b8d436c2e",
            "title": "Michael Walker: Hearts and Celtic conspire to produce season-ending finale",
            "description": "Hoops must be held at bay in stadium containing 60,000 fanatical supporters and just 750 clad in Midlothian maroon if Edinburgh visitors to claim champions’ flag",
            "content": "Scottish Premiership: Celtic v Hearts, Celtic Park, Saturday, 12.30pm – Live on Sky Sports\nScotland’s wait, Scotland’s fate. Soon it will be over and Scottish football will know if the most compelling season in two generations has brought a first lea... [6398 chars]",
            "url": "https://www.irishtimes.com/sport/soccer/2026/05/15/michael-walker-hearts-and-celtic-conspire-to-produce-season-ending-finale/",
            "image": "https://www.irishtimes.com/resizer/v2/CJ43WTNWD2L6DKMGHRY2PGGEEE.jpg?smart=true&auth=c9c8d256a6fbc94dbb4b7ad0142c51dbe739b2599fceea02974fb309016c55ed&width=1200&height=630",
            "publishedAt": "2026-05-15T17:06:03Z",
            "lang": "en",
            "source": {
                "id": "735252dcb2793bb57ad34b2a2b258f27",
                "name": "The Irish Times",
                "url": "https://www.irishtimes.com"
            }
        }
    ]
}

Categories