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": 383008,
    "articles": [
        {
            "id": "0e28e63f99e7e46d12b9304ca7d54626",
            "title": "Prince Harry and Meghan Markle’s Trip to Australia Reportedly Coming Off ‘More Like a Brand Tour’",
            "description": "Prince Harry and Meghan Markle are in Australia ahead of her “Girl’s Weekend” retreat — and sources believe the pair are turning the getaway into a semi-promotional tour. “It feels a bit thrown togeth...",
            "content": "Prince Harry and Meghan Markle are in Australia ahead of her “Girl’s Weekend” retreat — and sources believe the pair are turning the getaway into a semi-promotional tour.\n“It feels a bit thrown together,” one source told Rob Shuter of the couple’s tr... [1851 chars]",
            "url": "https://www.yahoo.com/entertainment/celebrity/articles/prince-harry-meghan-markle-trip-153034410.html",
            "image": "https://s.yimg.com/ny/api/res/1.2/PJQcTKbGsdetIopSP1SJuw--/YXBwaWQ9aGlnaGxhbmRlcjt3PTEyMDA7aD02NzU7Y2Y9d2VicA--/https://media.zenfs.com/en/in_touch_weekly_articles_766/fd79f749827f0be705032d8b5ea09419",
            "publishedAt": "2026-04-15T15:30:34Z",
            "lang": "en",
            "source": {
                "id": "99e8a2cb4638bb798cf9167e5af5b83b",
                "name": "Yahoo",
                "url": "https://www.yahoo.com"
            }
        },
        {
            "id": "5b8ef5d1b58fa3ee36d1d8ed403de303",
            "title": "Latest Oil Market News and Analysis for April 15",
            "description": "Oil flipped between gains and losses as traders weighed signs of rapidly depleting US reserves against efforts by the US and Iran to seek further talks to end a war that has brought transit through the vital Strait of Hormuz waterway to a near-halt.",
            "content": "Oil flipped between gains and losses as traders weighed signs of rapidly depleting US reserves against efforts by the US and Iran to seek further talks to end a war that has brought transit through the vital Strait of Hormuz waterway to a near-halt.\n... [390 chars]",
            "url": "https://www.bloomberg.com/news/articles/2026-04-14/latest-oil-market-news-and-analysis-for-april-15",
            "image": "https://assets.bwbx.io/images/users/iqjWHBFdfxIU/itGcaijG_pUE/v0/1200x800.jpg",
            "publishedAt": "2026-04-15T15:26:19Z",
            "lang": "en",
            "source": {
                "id": "35303254fdf42d2f3365eadb3d9d8a17",
                "name": "Bloomberg",
                "url": "https://www.bloomberg.com"
            }
        },
        {
            "id": "30d54395598ef3d6822f90d52f125ec4",
            "title": "Xiaomi: New high-end smartphone surfaces with Snapdragon 8 Elite Gen 5 rumoured",
            "description": "Xiaomi is preparing to launch a new high-end smartphone soon. Reportedly paired with Qualcomm's Snapdragon 8 Elite Gen 5 chipset, the device appears set for an imminent release as a rival to the recent Vivo X300s.",
            "content": "Just under a month has passed since Xiaomi unveiled a new luxury smartwatch and a lightweight Intel Panther Lake laptop in its home market. By the looks of a new State Radio Regulation of China (SRRC) certification, the company is on the verge of ret... [1012 chars]",
            "url": "https://www.notebookcheck.net/Xiaomi-New-high-end-smartphone-surfaces-with-Snapdragon-8-Elite-Gen-5-rumoured.1274416.0.html",
            "image": "https://www.notebookcheck.net/fileadmin/Notebooks/News/_nc5/xiaomi-2605epn8ec-leak-kv.jpg",
            "publishedAt": "2026-04-15T14:42:00Z",
            "lang": "en",
            "source": {
                "id": "6f43ddc905277d3cab59591df0bcaa6d",
                "name": "Notebookcheck",
                "url": "https://www.notebookcheck.net"
            }
        }
    ]
}

Categories