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": 363924,
    "articles": [
        {
            "id": "89c79964832d506e0f7d4c6cd9923fce",
            "title": "K-P Hospitals on High Alert as Mpox Cases Surge",
            "description": "Khyber Pakhtunkhwa raises alarm over rising Mpox cases. Learn about the health department's response and what it means for local communities.",
            "content": "PESHAWAR: The Khyber Pakhtunkhwa Health Department on Thursday placed all public and private hospitals across the province on high alert following a noticeable increase in Mpox cases.\nHealth officials said that 26 mpox infections have been reported i... [2625 chars]",
            "url": "https://www.pakistantoday.com.pk/2026/03/12/k-p-puts-hospitals-on-high-alert-as-mpox-cases-rise",
            "image": "https://www.pakistantoday.com.pk/uploads/MPox-1773336783192-it6xq4.webp",
            "publishedAt": "2026-03-12T17:33:59Z",
            "lang": "en",
            "source": {
                "id": "42f01186ca43680b240acb0cb5600463",
                "name": "Pakistan Today",
                "url": "https://www.pakistantoday.com.pk"
            }
        },
        {
            "id": "672224cf1ecb6c272e9040b5b8429f2f",
            "title": "Royal snub: Woman ignores Prince William and Kate Middleton in London",
            "description": "Prince William and Kate Middleton undertook a series of engagements along London's River Thames on Thursday.\nThe Prince and Princess of Wales began their day at Borough Market, one of the...",
            "content": "Prince William and Kate Middleton undertook a series of engagements along London's River Thames on Thursday.\nThe Prince and Princess of Wales began their day at Borough Market, one of the capital's oldest and most celebrated food destinations, renown... [881 chars]",
            "url": "https://www.thenews.com.pk/latest/1395466-royal-snub-woman-ignores-prince-william-and-kate-middleton-in-london",
            "image": "https://www.thenews.com.pk/assets/uploads/2026-03-12/1395466_094113_updates.jpg",
            "publishedAt": "2026-03-12T16:40:00Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        },
        {
            "id": "7ef9ff20084b3374a0c3ead56f55d6d9",
            "title": "Asteroid strike off Yorkshire sent mega-tsunami racing toward Britain, study confirm",
            "description": "After years of debate, scientists have finally proven that a cosmic collision off the Yorkshire coast sent a mega-tsunami taller than Big Ben surging across the ancient North Sea. According to researchers, a 160-metre-wide asteroid...",
            "content": "After years of debate, scientists have finally proven that a cosmic collision off the Yorkshire coast sent a mega-tsunami taller than Big Ben surging across the ancient North Sea.\nAccording to researchers, a 160-metre-wide asteroid smashed into the s... [1276 chars]",
            "url": "https://www.geo.tv/latest/655386-asteroid-strike-off-yorkshire-sent-mega-tsunami-racing-toward-britain-study-confirm",
            "image": "https://www.geo.tv/assets/uploads/updates/2026-03-12/l_655386_092252_updates.jpg",
            "publishedAt": "2026-03-12T16:22:00Z",
            "lang": "en",
            "source": {
                "id": "5ad70e3bec873715a6b65792194fa25b",
                "name": "Geo News",
                "url": "https://www.geo.tv"
            }
        }
    ]
}

Categories