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": 371374,
    "articles": [
        {
            "id": "a7523e06bccfa02ebe016ec7c7487566",
            "title": "Scientists discover protein in whales that could help humans live up to 200 years",
            "description": "The University of Rochester's scientists revealed the secret to the Bowhead whale's longevity via a special regenerative compound",
            "content": "Experts think they have discovered a way for humans to take advantage of whales’ 200-year-old lifespan.\nAs if we aren’t living long enough, the University of Rochester scientists link whales’ longevity could be the key to treating common diseases tha... [2722 chars]",
            "url": "https://www.unilad.com/news/scientists-whales-200-years-gene-cancer-prevention-long-life-385941-20260316",
            "image": "https://resizer.ladbiblegroup.com/ogimage/v3/assets/blt949ea8e16e463049/blta27524cfe3ac2a3a/69b840c9facaf64145a342a0/bowhead-whale.jpg",
            "publishedAt": "2026-03-16T17:41:35Z",
            "lang": "en",
            "source": {
                "id": "eb25a67b20a36d44164c6517fdbe26c5",
                "name": "UNILAD",
                "url": "https://www.unilad.com"
            }
        },
        {
            "id": "5f68bfb19e947b276f0a5c505b99ed88",
            "title": "Oil Prices Slide As Iran Opts For 'Porous' Strait Of Hormuz",
            "description": "Oil prices fell back below $95 a barrel as the Iranian regime allows more vessels to transit the Straight of Hormuz. The S&P 500 rallied.",
            "content": "Information in Investor’s Business Daily is for informational and educational purposes only and should not be construed as an offer, recommendation, solicitation, or rating to buy or sell securities. The information has been obtained from sources we ... [1013 chars]",
            "url": "https://www.investors.com/news/oil-prices-slide-as-iran-opts-for-porous-strait-of-hormuz/",
            "image": "https://www.investors.com/wp-content/uploads/2023/03/Stock-oil-tanker-05-adobe.jpg",
            "publishedAt": "2026-03-16T15:25:08Z",
            "lang": "en",
            "source": {
                "id": "b5fd7d235a4765231123b8f22bcf428a",
                "name": "Investor's Business Daily",
                "url": "https://www.investors.com"
            }
        },
        {
            "id": "a7ec95c128373f61b3dfbb038a13a29d",
            "title": "Police Thwart Twin Militant Attacks in Bannu, Peshawar",
            "description": "Discover how police successfully repelled twin militant attacks in Bannu and Peshawar. Read more about their swift response and vigilance.",
            "content": "PESHAWAR: Police repelled a late-night terrorist assault on the Fatah Khel check post in Bannu early Monday after militants attempted to target the facility under the cover of darkness, officials confirmed.\nAccording to police, the attack was success... [1515 chars]",
            "url": "https://www.pakistantoday.com.pk/2026/03/16/police-foil-twin-militant-attacks-on-check-posts-in-bannu-peshawar",
            "image": "https://www.pakistantoday.com.pk/uploads/KP-Police-Checkpost-1773673025660-djcf3y.webp",
            "publishedAt": "2026-03-16T15:04:01Z",
            "lang": "en",
            "source": {
                "id": "42f01186ca43680b240acb0cb5600463",
                "name": "Pakistan Today",
                "url": "https://www.pakistantoday.com.pk"
            }
        }
    ]
}

Categories