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": 385394,
    "articles": [
        {
            "id": "a81bf359489ad0e53f252c555d95814b",
            "title": "WhatsApp Web themes might soon come to save us from boring gray bubbles",
            "description": "WhatsApp Web could finally get the customization it’s been missing with 49 new themes.",
            "content": "What you need to know\nMeta is reportedly testing 49 chat themes for WhatsApp Web, bringing long-overdue customization to the desktop experience.\nIn addition to wallpapers, the themes could change message bubble colors for a more cohesive look.\nCustom... [2066 chars]",
            "url": "https://www.androidcentral.com/apps-software/meta/whatsapp-web-themes-might-soon-come-to-save-us-from-boring-gray-bubbles",
            "image": "https://cdn.mos.cms.futurecdn.net/BDVvxafNcSg8E5PawKRdHe-1086-80.jpg",
            "publishedAt": "2026-04-13T13:38:47Z",
            "lang": "en",
            "source": {
                "id": "b00e641d6883a868c83efd64618ae881",
                "name": "Android Central",
                "url": "https://www.androidcentral.com"
            }
        },
        {
            "id": "b8b8c018c2c812753b3faee0a62663f9",
            "title": "Multan Sultans win toss, elect to field first against Peshawar Zalmi in PSL 11 clash",
            "description": "Multan Sultans opted to bowl first after winning the toss against Peshawar Zalmi in the 22nd match of the Pakistan Super League 11 at Karachi's National Bank Stadium on Monday.The two sides have met 18 times in the...",
            "content": "Multan Sultans opted to bowl first after winning the toss against Peshawar Zalmi in the 22nd match of the Pakistan Super League (PSL) 11 at Karachi's National Bank Stadium on Monday.\nThe two sides have met 18 times in the tournament, with Multan Sult... [1546 chars]",
            "url": "https://www.geo.tv/latest/659795-multan-sultans-win-toss-elect-to-field-first-against-peshawar-zalmi-in-psl-11-clash",
            "image": "https://www.geo.tv/assets/uploads/2026-04-13/659795_064055_updates.jpg",
            "publishedAt": "2026-04-13T13:33:00Z",
            "lang": "en",
            "source": {
                "id": "5ad70e3bec873715a6b65792194fa25b",
                "name": "Geo News",
                "url": "https://www.geo.tv"
            }
        },
        {
            "id": "b952f4d970dbae83357ce26463f5eb21",
            "title": "Yellowstone’s magma source may be close to the surface",
            "description": "Scientists uncover how underground mantle winds create and control powerful supervolcano eruptions like Yellowstone.",
            "content": "A volcano that can change the climate of the entire planet sounds like something from a movie. But supereruptions are real, and Earth has experienced them before.\nScientists continue to study these powerful events to understand how such massive erupt... [4781 chars]",
            "url": "https://www.earth.com/news/yellowstones-magma-source-may-be-closer-to-the-surface-than-expected/",
            "image": "https://cff2.earth.com/uploads/2026/04/13064200/Yellowstone-magma-source-1000x749.jpg",
            "publishedAt": "2026-04-13T13:30:00Z",
            "lang": "en",
            "source": {
                "id": "fca72a05020e12df547eedb79c870663",
                "name": "Earth.com",
                "url": "https://www.earth.com"
            }
        }
    ]
}

Categories