Flag of the 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": 6264042,
    "articles": [
        {
            "title": "Experts say 52pc of women affected by PCOS",
            "description": "ISLAMABAD: Undiagnosed Polycystic Ovary Syndrome (PCOS) among women of reproductive age have fuelled serious...",
            "content": "ISLAMABAD: Undiagnosed Polycystic Ovary Syndrome (PCOS) among women of reproductive age have fuelled serious infertility crisis in Pakistan as 52 percent Pakistani women of reproductive age suffering from PCOS and over 80 percent remain undiagnosed, ... [4240 chars]",
            "url": "https://www.brecorder.com/news/40361803",
            "image": "https://i.brecorder.com/large/2025/05/681d5b5cacfcc.jpg",
            "publishedAt": "2025-05-09T01:34:38Z",
            "source": {
                "name": "Business Recorder",
                "url": "https://www.brecorder.com"
            }
        },
        {
            "title": "US Mail",
            "description": "FeedbackDear Editor,In the issue of 25 April, I read the articles X-rays - a medical marvel by Memoona Mukhtar and Eat right, stay fit by Muhammad Khizer Nadeem, and found them both highly informative and interesting. Memoona’s piece on X-rays...",
            "content": "Feedback\nDear Editor,\nIn the issue of 25 April, I read the articles X-rays - a medical marvel by Memoona Mukhtar and Eat right, stay fit by Muhammad Khizer Nadeem, and found them both highly informative and interesting.\nMemoona’s piece on X-rays actu... [2378 chars]",
            "url": "https://www.thenews.com.pk/magazine/us/1309159-us-mail",
            "image": "https://www.thenews.com.pk/assets/uploads/magazine/2025-05-09/1309159_101233_updates.jpg",
            "publishedAt": "2025-05-09T00:45:28Z",
            "source": {
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        },
        {
            "title": "Vesta is simpler inside than previously thought",
            "description": "Vesta’s classification has vexed astronomers for decades, but a recent study is forcing planetary scientists to reevaluate its internal structure.",
            "content": "Vesta has puzzled planetary scientists for years. It is the second-largest body in the main asteroid belt with a diameter of 329 miles (530 kilometers). Credit: NASA/JPL-Caltech/UCLA/MPS/DLR/IDA\nLocated between Mars and Jupiter lies Vesta, the second... [4119 chars]",
            "url": "https://www.astronomy.com/science/vesta-is-simpler-inside-than-previously-thought/",
            "image": "https://www.astronomy.com/uploads/2025/05/VestaFull.jpg",
            "publishedAt": "2025-05-08T21:58:20Z",
            "source": {
                "name": "Astronomy Magazine",
                "url": "https://www.astronomy.com"
            }
        }
    ]
}

Categories