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": 340136,
    "articles": [
        {
            "id": "1348f8da8e9ced8949a73c3cbdf7d4bc",
            "title": "Railway talks with Kazakhstan advance",
            "description": "Railway talks with Kazakhstan advance",
            "content": "ISLAMABAD:\nA high-level consultation was held at the Ministry of Railways between the Federal Minister for Railways and the Ambassador of Kazakhstan, focusing on regional connectivity and railway cooperation. During the meeting, both sides discussed ... [1010 chars]",
            "url": "https://tribune.com.pk/story/2588578/railway-talks-with-kazakhstan-advance",
            "image": "https://i.tribune.com.pk/media/images/hanif-abbasi1744033729-0/hanif-abbasi1744033729-0-640x480.webp",
            "publishedAt": "2026-01-23T02:48:45Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "id": "e3fe6d1b03f2b6913c432b7c80e6fba2",
            "title": "UNSC condemns deadly Kabul restaurant blast in Afghanistan",
            "description": "The UN Security Council has strongly condemned a terror attack at a restaurant in the Afghan capital of Kabul that killed seven people, including a Chinese national, and wounded several others. “The members of the Security Council condemned in the strongest terms the heinous terrorist attack that occurred at a restaurant in the commercial Shahr-e-Naw […]",
            "content": "The UN Security Council has strongly condemned a terror attack at a restaurant in the Afghan capital of Kabul that killed seven people, including a Chinese national, and wounded several others. “The members of the Security Council condemned in the st... [795 chars]",
            "url": "https://dailytimes.com.pk/1439706/unsc-condemns-deadly-kabul-restaurant-blast-in-afghanistan/",
            "image": "https://dailytimes.com.pk/assets/uploads/2025/07/app-icon-192x192-1-192x180-1.png",
            "publishedAt": "2026-01-23T02:34:07Z",
            "lang": "en",
            "source": {
                "id": "530adc8b33b0bcdfab321f4f04275d3e",
                "name": "Daily Times",
                "url": "https://dailytimes.com.pk"
            }
        },
        {
            "id": "6410e98f27ef8c81fbefa0088c5b721e",
            "title": "Scientists develop 'human lung-on-a-chip' to study disease responses",
            "description": "The breakthrough comes amid global efforts to develop alternatives to animal testing and advance personalized medicine, which considers individual differences in disease response and treatment outcome",
            "content": "LONDON (Web Desk) - Researchers at the Francis Crick Institute in the UK have created an advanced “lung-on-a-chip” model using stem cells from a single individual, allowing scientists to study how a person’s lung responds to respiratory infections su... [1106 chars]",
            "url": "https://dunyanews.tv/en/Health/931134-scientists-develop-human-lungonachip-to-study-disease-respons",
            "image": "https://img.dunyanews.tv/news/2026/January/01-23-26/news_big_images/931134_78938916.jpg",
            "publishedAt": "2026-01-23T00:32:00Z",
            "lang": "en",
            "source": {
                "id": "56b5d3b8882926e1817f100d578b6887",
                "name": "Dunya News",
                "url": "https://dunyanews.tv"
            }
        }
    ]
}

Categories