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": 293058,
    "articles": [
        {
            "id": "db3c6d2f4e53d3962f6ba37138ef1170",
            "title": "Turkey starts examining black boxes from jet crash that killed Libya's military chief and 7 others",
            "description": "ISTANBUL (AP) — Experts have started the analysis of the black boxes recovered from a jet crash in Turkey that killed eight people, including western Libya’s military chief, the Turkish defense ministry said Thursday. The probe was being done in coordination with Libyan officials.",
            "content": "ISTANBUL (AP) — Experts have started the analysis of the black boxes recovered from a jet crash in Turkey that killed eight people, including western Libya’s military chief, the Turkish defense ministry said Thursday. The probe was being done in coor... [1448 chars]",
            "url": "https://www.wral.com/news/ap/60f1a-turkey-starts-examining-black-boxes-from-jet-crash-that-killed-libyas-military-chief-and-7-others/",
            "image": "https://images.wral.com/a2488ceb-e72b-51c5-b67a-4a7bdfd747e2?w=1200&h=630",
            "publishedAt": "2025-12-25T19:13:40Z",
            "lang": "en",
            "source": {
                "id": "c9997f2398961754a61e4146d00b3652",
                "name": "WRAL",
                "url": "https://www.wral.com"
            }
        },
        {
            "id": "c17693919bca011c662909061e0bf2b2",
            "title": "The pope urges the faithful on Christmas to shed indifference in the face of suffering",
            "description": "During his first Christmas Day message, Pope Leo XIV highlighted the suffering in Gaza, Yemen and among migrants, and called for peace in troubled regions like Lebanon, Ukraine and Syria.",
            "content": "VATICAN CITY — Pope Leo XIV during his first Christmas Day message on Thursday urged the faithful to shed indifference in the face of those who have lost everything, such as in Gaza, those who are impoverished, such as in Yemen, and the many migrants... [3812 chars]",
            "url": "https://www.npr.org/2025/12/25/g-s1-103696/pope-leo-xiv-christmas-address-indifference-suffering-gaza-yemen-migrants",
            "image": "https://npr.brightspotcdn.com/dims3/default/strip/false/crop/1024x576+0+0/resize/1400/quality/100/format/jpeg/?url=http%3A%2F%2Fnpr-brightspot.s3.amazonaws.com%2F4b%2F01%2F49fabf474d318a6bcef84159c50c%2Fap25359416669483.jpg",
            "publishedAt": "2025-12-25T17:07:41Z",
            "lang": "en",
            "source": {
                "id": "0978beb86628acb239ee06cf0b116d2c",
                "name": "NPR",
                "url": "https://www.npr.org"
            }
        },
        {
            "id": "c3e0784edba9e888d7761e842790dc76",
            "title": "Exynos 2800 to Feature Samsung’s First Fully Custom GPU in 2027",
            "description": "Samsung will debut its first in-house GPU with the Exynos 2800 in 2027, and the Exynos 2600's Xclipse 960 was designed without help from AMD.",
            "content": "For a long time, the “brain” inside Samsung’s flagship smartphones has been a bit of a team effort. While Samsung built the overall chip, they often had to look elsewhere for the muscle behind the graphics. Most recently, this meant collaborating wit... [2259 chars]",
            "url": "https://www.androidheadlines.com/2025/12/samsung-xclipse-960-first-in-house-gpu-exynos-2600-chip.html",
            "image": "https://www.androidheadlines.com/wp-content/uploads/2025/12/Samsung-Exynos-2600-official-image.jpg",
            "publishedAt": "2025-12-25T15:55:08Z",
            "lang": "en",
            "source": {
                "id": "a496064d419bb3ebbe306bd7adf63839",
                "name": "Android Headlines",
                "url": "https://www.androidheadlines.com"
            }
        }
    ]
}

Categories