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": 375652,
    "articles": [
        {
            "id": "635212d1815a29eebd59c49c2a1e154f",
            "title": "Oil extends gains after record monthly rally as Trump signals Iran war exit amid energy disruptions",
            "description": "Crude prices extended gains as traders weighed escalating attacks in the Persian Gulf and signs that President Donald Trump was contemplating an exit from the Iran conflict.",
            "content": "Crude prices extended gains during Asia trading as escalating attacks in the Persian Gulf and U.S. President Donald Trump's signals on exiting the Iran conflict even as the Strait of Hormuz remains largely closed keep markets on edge.\nBrent contract ... [2800 chars]",
            "url": "https://www.cnbc.com/2026/04/01/oil-prices-today-brent-wti.html",
            "image": "https://image.cnbcfm.com/api/v1/image/108280013-1773873850978-gettyimages-2266716988-AFP_A3UJ8V7.jpeg?v=1775002422&w=1920&h=1080",
            "publishedAt": "2026-04-01T02:03:00Z",
            "lang": "en",
            "source": {
                "id": "32c2ad3fb41cb87b5b847d750028dff0",
                "name": "CNBC",
                "url": "https://www.cnbc.com"
            }
        },
        {
            "id": "48718d6abed229783eb2b5f6cf51abb4",
            "title": "Markets rally Trump signals Iran war could end soon",
            "description": "The impacts from the Iran war continue to way on global supply chains as economists raise their expectations for a potential recession in the U.S.",
            "content": "Hello, this is Dylan Butts writing to you from Singapore. Welcome to another edition of CNBC's Daily Open.\nThe global markets rollercoaster resulting from the U.S. war with Iran continued on Tuesday, with Wall Street rallying sharply on renewed hopes... [2711 chars]",
            "url": "https://www.cnbc.com/2026/04/01/cnbc-daily-open-us-iran-war-markets-rally-oil-ai-oracle-layoffs.html",
            "image": "https://image.cnbcfm.com/api/v1/image/108285724-17749938202026-03-31t214003z_642498300_rc2xfkato9es_rtrmadp_0_usa-trump.jpeg?v=1774993845&w=1920&h=1080",
            "publishedAt": "2026-04-01T01:17:00Z",
            "lang": "en",
            "source": {
                "id": "32c2ad3fb41cb87b5b847d750028dff0",
                "name": "CNBC",
                "url": "https://www.cnbc.com"
            }
        },
        {
            "id": "757a5f4369d3dd2f534a4f49b1dccc84",
            "title": "Protest announced against King Charles in Wales",
            "description": "King Charles and Queen Camilla will attend the Royal Maundy Service at St Asaph Cathedral, on Thursday 2 April.\nIt will be the first time the occasion has been held in North Wales, and only the...",
            "content": "King Charles and Queen Camilla will attend the Royal Maundy Service at St Asaph Cathedral, on Thursday 2 April.\nIt will be the first time the occasion has been held in North Wales, and only the second time ever in Wales, in its 800-year history.\nAdve... [827 chars]",
            "url": "https://www.thenews.com.pk/latest/1397306-protest-announced-against-king-charles-in-wales-on-at-maundy-service",
            "image": "https://www.thenews.com.pk/assets/uploads/2026-04-01/1397306_023648_updates.jpg",
            "publishedAt": "2026-03-31T21:37:01Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        }
    ]
}

Categories