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": 389194,
    "articles": [
        {
            "id": "e8d9f3bdff265c731a1ebe6f627df912",
            "title": "From one energy crisis to another: Europe’s dependence problem",
            "description": "As Europe is still reeling from the consequences of Russia’s invasion of Ukraine, it is faced with another energy crisis and heading towards new dependence.",
            "content": "The latest energy crisis stemming from the war in Iran and the ensuing closure of the strait of Hormuz is shining a light on a major challenge to EU strategic autonomy: Europe remains largely dependent on fossil fuel imports for its energy. The full-... [4996 chars]",
            "url": "https://moderndiplomacy.eu/2026/04/23/from-one-energy-crisis-to-another-europes-dependence-problem/",
            "image": "https://moderndiplomacy.eu/wp-content/uploads/2021/05/renewables-green-economy.jpg",
            "publishedAt": "2026-04-23T02:00:21Z",
            "lang": "en",
            "source": {
                "id": "e573ac04837b8aa7b17debd25a6f1c13",
                "name": "Modern Diplomacy",
                "url": "https://moderndiplomacy.eu"
            }
        },
        {
            "id": "183d17083fa1266113d9650d160ed5b6",
            "title": "Oil prices edge lower with no progress on US",
            "description": "Oil prices fall slightly after big gains, with US-Iran peace talks stalled and Strait of Hormuz shipping still disrupted. US oil exports hit a new record.",
            "content": "Oil Prices Slip Amid Ongoing US-Iran Tensions and Hormuz Shipping Disruptions\nMarket Reactions and Geopolitical Developments\nBy Arathy Somasekhar\nApril 23 (Reuters) - Oil prices were marginally lower on Thursday after big gains in the previous sessio... [2755 chars]",
            "url": "https://www.globalbankingandfinance.com/oil-prices-edge-lower-progress-us-iran-talks-hormuz-shipping/",
            "image": "https://imagedelivery.net/MkQ8HKvpw9EqULcU_pSqWg/cloud-0c0fe6ef-19d6-49f9-9dc7-835e9d409f47/w=1200,q=75,f=auto",
            "publishedAt": "2026-04-23T01:04:53Z",
            "lang": "en",
            "source": {
                "id": "08e8ca3cdc6e6d3fb97d6090b3f0f1e9",
                "name": "Global Banking & Finance Review®",
                "url": "https://www.globalbankingandfinance.com"
            }
        },
        {
            "id": "707fbccf677747b4caafefcd232ad47b",
            "title": "Iran seizes 2 ships seeking to cross Strait of Hormuz, fires on another",
            "description": "DUBAI: Iran said on Wednesday it would not reopen the Strait of Hormuz as long as the US naval blockade remained in place, calling it a “blatant violation” of the ceasefire between the longtime foes. Iran’s Revolutionary Guards meanwhile said their naval forces had seized two container ships trying to cross the strategic strait. Foreign ministry spokesman Esmaeil Baqaei said",
            "content": "DUBAI: Iran said on Wednesday it would not reopen the Strait of Hormuz as long as the US naval blockade remained in place, calling it a “blatant violation” of the ceasefire between the longtime foes.\nIran’s Revolutionary Guards meanwhile said their n... [3406 chars]",
            "url": "https://www.arabnews.com/node/2640812/middle-east",
            "image": "https://www.arabnews.com/sites/default/files/styles/660x371_watermarksaudi/public/main-image/2026/04/22/4705289-990173732.jpg?itok=otDz3blI",
            "publishedAt": "2026-04-22T22:48:13Z",
            "lang": "en",
            "source": {
                "id": "2a04ee5063a4ff486d1d434ffdf3d3ee",
                "name": "Arab News",
                "url": "https://www.arabnews.com"
            }
        }
    ]
}

Categories