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": 401426,
    "articles": [
        {
            "id": "5d38a1589bb1cd27ca63c79ab5af1457",
            "title": "Consumer prices rose four percent year-over-year in May",
            "description": "According to a preliminary estimate by Statistics Estonia, the harmonized consumer price index increased by four percent in May compared with a year earlier, and by 0.9 percent compared with April.",
            "content": "\"The last time we saw such a large monthly price increase as in May was in August of last year, when VAT had risen, and when accounting for seasonal factors, in February of last year,\" said Lenno Uusküla, chief economist at Luminor.\nAccording to Uusk... [415 chars]",
            "url": "https://news.err.ee/1610044117/consumer-prices-rose-four-percent-year-over-year-in-may",
            "image": "https://s.err.ee/photo/crop/2026/03/06/3243122h5501t24.jpg",
            "publishedAt": "2026-06-02T08:55:00Z",
            "lang": "en",
            "source": {
                "id": "d914813c8f7f4aca5f4681deca720745",
                "name": "ERR",
                "url": "https://news.err.ee"
            }
        },
        {
            "id": "41989ce136289a3774ba649ce5f7fbd2",
            "title": "Iran War Live Updates: Israel Appears to Back Off Threat to Strike Beirut",
            "description": "President Trump is pressing Israel not to attack the Lebanese capital. An escalation in Israel’s campaign against Hezbollah could threaten peace talks with Iran.",
            "content": "On Monday, diplomats at an emergency meeting of the Security Council were nearly unanimous — with the exception of the United States — in calling for Israel to withdraw its forces from Lebanon and refrain from ramping up its attacks. Israel had warne... [11723 chars]",
            "url": "https://www.nytimes.com/live/2026/06/02/world/iran-war-trump-israel-lebanon",
            "image": "https://static01.nyt.com/images/2026/06/02/multimedia/02mideast-blog-promo/02mideast-blog-header-wpjg-facebookJumbo.jpg",
            "publishedAt": "2026-06-02T08:13:25Z",
            "lang": "en",
            "source": {
                "id": "2f580dc49292a1caf59cd86dd3c9e60b",
                "name": "The New York Times",
                "url": "https://www.nytimes.com"
            }
        },
        {
            "id": "f05b18857df93463580588fa36ce95f9",
            "title": "Nvidia unveils DGX Station for Windows AI workstations",
            "description": "Windows users can now run trillion-parameter AI models locally as NVIDIA targets enterprise developers with a deskside workstation and new security controls.",
            "content": "NVIDIA has unveiled DGX Station for Windows, a deskside system designed to bring large AI workloads to machines running Microsoft's operating system.\nThe launch marks a push to put advanced AI development tools inside the Windows environments widely ... [4330 chars]",
            "url": "https://itbrief.asia/story/nvidia-unveils-dgx-station-for-windows-ai-workstations",
            "image": "https://itbrief.asia/uploads/story/2026/06/02/compatible_email_attachment20260602-2452330-6o78yq.jpg",
            "publishedAt": "2026-06-02T08:00:00Z",
            "lang": "en",
            "source": {
                "id": "e14d6e0d674afa21801ede5ee8723227",
                "name": "IT Brief Asia",
                "url": "https://itbrief.asia"
            }
        }
    ]
}

Categories