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": 360546,
    "articles": [
        {
            "id": "1f676dd8a239c5e94577c47156a42214",
            "title": "Nearly 20 countries, groups condemn Israel over West Bank decisions",
            "description": "Nearly 20 countries, the League of Arab States, and the Organization of Islamic Cooperation jointly condemned on Monday recent Israeli decisions to expand unlawful control over the West Bank.",
            "content": "Nearly 20 countries, the League of Arab States, and the Organization of Islamic Cooperation jointly condemned on Monday recent Israeli decisions to expand unlawful control over the West Bank.\nIn a joint statement, foreign ministers of countries inclu... [1652 chars]",
            "url": "https://news.cgtn.com/news/2026-02-24/Nearly-20-countries-groups-condemn-Israel-over-West-Bank-decisions-1L0ZsOJ2P60/p.html",
            "image": "https://news.cgtn.com/news/2026-02-24/Nearly-20-countries-groups-condemn-Israel-over-West-Bank-decisions-1L0ZsOJ2P60/img/be500da945084aec82d4a3094192f092/be500da945084aec82d4a3094192f092-1920.png",
            "publishedAt": "2026-02-24T00:01:58Z",
            "lang": "en",
            "source": {
                "id": "83319eaf697a59d2b64031a647c15cb1",
                "name": "news.cgtn.com",
                "url": "https://news.cgtn.com"
            }
        },
        {
            "id": "e41a5bb965616fa6b22ad653dca46086",
            "title": "Imran Khan receives second eye injection at Pims during follow-up visit",
            "description": "Hospital says Imran shifted to Pims for scheduled follow-up. Says second anti-VEGF intravitreal injection administered in operation theatre.Says board of specialists conducted examination prior to procedure.",
            "content": "Hospital says Imran shifted to Pims for scheduled follow-up.\nSays second anti-VEGF intravitreal injection administered in operation theatre.\nSays board of specialists conducted examination prior to procedure.\nPakistan Tehreek-e-Insaf (PTI) founder Im... [3210 chars]",
            "url": "https://www.geo.tv/latest/652551-imran-khan-receives-second-eye-injection-at-pims-during-follow-up-visit",
            "image": "https://www.geo.tv/assets/uploads/updates/2026-02-24/l_652551_031738_updates.jpg",
            "publishedAt": "2026-02-23T22:24:47Z",
            "lang": "en",
            "source": {
                "id": "5ad70e3bec873715a6b65792194fa25b",
                "name": "Geo News",
                "url": "https://www.geo.tv"
            }
        },
        {
            "id": "020543f54a3e5ad7d13dd1d544c51f02",
            "title": "Imran taken to PIMS for treatment",
            "description": "Imran taken to PIMS for treatment",
            "content": "RAWALPINDI:\nIncarcerated PTI founder Imran Khan was brought to PIMS for follow up eye-treatment i.e. second dose of anti VEGF intra vitreal injection in the wee hours of Tuesday (today), a press release said.\nPrior to the procedure, Imran was examine... [837 chars]",
            "url": "https://tribune.com.pk/story/2594260/imran-taken-to-pims-for-treatment",
            "image": "https://i.tribune.com.pk/media/images/imran-khan1758591716-3/imran-khan1758591716-3-640x480.webp",
            "publishedAt": "2026-02-23T21:15:13Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        }
    ]
}

Categories