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": 386708,
    "articles": [
        {
            "id": "468e0171f6295e8b02f09d6921ec8991",
            "title": "Iran says ‘great victory’ is coming as Trump warns of harder strikes amid ceasefire tensions",
            "description": "Iran’s First Vice President Mohammad Reza Aref said the country will soon celebrate a “great victory” in its conflict with the United States and Israel, according to Iranian state...",
            "content": "Iran’s First Vice President Mohammad Reza Aref said the country will soon celebrate a “great victory” in its conflict with the United States and Israel, according to Iranian state media.\nState-run Press TV reported on Thursday that Aref said Iran exp... [881 chars]",
            "url": "https://www.thenews.com.pk/latest/1401808-iran-says-great-victory-is-coming-as-trump-warns-of-harder-strikes-amid-ceasefire-tensions",
            "image": "https://www.thenews.com.pk/assets/uploads/2026-05-08/1401808_065815_updates.jpg",
            "publishedAt": "2026-05-08T01:50:11Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        },
        {
            "id": "24c42f3ce390934cc5402051b9456e42",
            "title": "Trump news at a glance: US and Iran exchange fire, which president calls ‘love tap’",
            "description": "Skirmishes threw into question the viability of shaky ceasefire that had largely held for previous month– key US politics stories from 7 May at a glance",
            "content": "The US and Iran were supposedly close to a peace deal on Thursday, according to Pakistani officials. That was before the US military and Iranian forces exchanged fire in the strait of Hormuz.\nEach side claimed the other shot first, with US Central Co... [988 chars]",
            "url": "https://www.theguardian.com/us-news/2026/may/07/trump-news-latest-updates-today",
            "image": "https://i.guim.co.uk/img/media/1f3918f96f9bc1252d125509fbded4e29e5fd61f/497_0_3516_2814/master/3516.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&precrop=40:21,offset-x50,offset-y0&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctZGVmYXVsdC5wbmc&enable=upscale&s=62ee3dfd46838ad08eaf2e4aa2a506dc",
            "publishedAt": "2026-05-08T01:28:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "id": "6b9a9d231d1706aedb2b9786e51fe08e",
            "title": "Scientists Drop Recorders in Amazon Stream and Capture Predators Hunting Like Never Before",
            "description": "Scientists have dropped recorders into an Amazon stream and captured predator behavior in a way never seen before.",
            "content": "Researchers have uncovered a stunning similarity between the hunting strategies of electric eels in the Amazon rainforest and orcas in the open ocean. The study reveals that both predators and their prey utilize a unique form of “stealth” to avoid de... [3389 chars]",
            "url": "https://indiandefencereview.com/amazon-stream-predators-hunting-like-never/",
            "image": "https://indiandefencereview.com/wp-content/uploads/2026/05/scientists-drop-recorders-in-amazon-stream-and-capture-predators-hunting-like-never-before-scaled.png",
            "publishedAt": "2026-05-08T00:15:00Z",
            "lang": "en",
            "source": {
                "id": "61a45608aab04b1a644e763fac18ed49",
                "name": "Indian Defence Review",
                "url": "https://indiandefencereview.com"
            }
        }
    ]
}

Categories