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": 369336,
    "articles": [
        {
            "id": "6b5f9554aba45dcfed2982a8b718f1fa",
            "title": "A football-field-size asteroid hit the North Sea and sent a 330-foot tsunami racing across Europe",
            "description": "Science News: Picture a space rock the size of a football pitch crashing into the North Sea's shallow seabed 43 to 46 million years ago. This terrible event created.",
            "content": "Image: AI Generated\nPicture a space rock the size of a football pitch crashing into the North Sea's shallow seabed 43 to 46 million years ago. This terrible event created a hidden crater and triggered a tsunami over 100 meters tall, taller than many ... [4000 chars]",
            "url": "https://timesofindia.indiatimes.com/science/a-football-field-size-asteroid-hit-the-north-sea-and-sent-a-330-foot-tsunami-racing-across-europe/articleshow/129540945.cms",
            "image": "https://static.toiimg.com/thumb/msid-129540951,width-1280,height-720,imgsize-1232110,resizemode-6,overlay-toi_sw,pt-32,y_pad-600/photo.jpg",
            "publishedAt": "2026-03-13T06:31:00Z",
            "lang": "en",
            "source": {
                "id": "9c931d3332c3a87c89b804230892aa64",
                "name": "The Times of India",
                "url": "https://timesofindia.indiatimes.com"
            }
        },
        {
            "id": "01d4cf9c928b8c40ebac1218b02bffb3",
            "title": "Islamabad tightens security, announces traffic plan for Youm-e-Quds rallies",
            "description": "Margalla Road will remain the only route open for entry into the Red Zone",
            "content": "ISLAMABAD:\nMore than 3,500 officers and personnel of Islamabad Police have been deployed across the city to provide security, while a traffic advisory has been issued ahead of Friday prayers and Youm-e-Quds processions.\nAccording to Deputy Inspector ... [2156 chars]",
            "url": "https://tribune.com.pk/story/2597378/islamabad-tightens-security-announces-traffic-plan-for-youm-e-quds-rallies",
            "image": "https://i.tribune.com.pk/media/images/1133119-islamabadpolicemuhammadjavaid-1467232724/1133119-islamabadpolicemuhammadjavaid-1467232724-640x480.webp",
            "publishedAt": "2026-03-13T06:08:15Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "id": "1b48806caccdb0f3062edb04e025ff30",
            "title": "Pakistan air strikes hit Kabul and Afghan border provinces, killing four",
            "description": "Afghan authorities said Friday that Pakistani air strikes hit Kabul and border provinces overnight, killing four people in the capital. A Pakistani security official confirmed the operation, saying it…",
            "content": "Afghan authorities said on Friday that Pakistan had carried out new strikes on Kabul and border provinces, killing four people in the capital.\nA Pakistani security official, speaking on condition of anonymity, confirmed that Pakistan struck overnight... [2680 chars]",
            "url": "https://www.france24.com/en/asia-pacific/20260313-pakistan-airstrikes-kabul-afghanistan-four-killed",
            "image": "https://s.france24.com/media/display/1e143bb8-1e8c-11f1-87fc-005056a97e36/w:1280/p:16x9/AP26059272845822.jpg",
            "publishedAt": "2026-03-13T03:55:25Z",
            "lang": "en",
            "source": {
                "id": "f501fcfec9884d330bc84a73998805a5",
                "name": "France 24",
                "url": "https://www.france24.com"
            }
        }
    ]
}

Categories