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": 395198,
    "articles": [
        {
            "id": "811261760a1e07f15d377c02478bf9ee",
            "title": "You're better off with a refurbished Mac than a MacBook Neo",
            "description": "Apple's MacBook Neo will save you money, but you could get just as much mileage buying used or refurbished.",
            "content": "Apple's MacBook Neo has been a smash hit for a reason. After years of selling comparatively expensive computers, Apple finally broke and sold a pretty good laptop for as little as $599. And it didn't even have to make too many compromises to make it ... [4042 chars]",
            "url": "https://www.pocket-lint.com/refurbished-mac-better-deal/",
            "image": "https://static0.pocketlintimages.com/wordpress/wp-content/uploads/wm/2026/06/dsc03403.jpg?w=1600&h=900&fit=crop",
            "publishedAt": "2026-06-16T00:01:00Z",
            "lang": "en",
            "source": {
                "id": "6f2edbb23837b79cb58a890c8925dd3a",
                "name": "Pocket-lint",
                "url": "https://www.pocket-lint.com"
            }
        },
        {
            "id": "6aea3d176056ea644e6aded71b98d700",
            "title": "Pakistan to host Geneva MoU signing: PM",
            "description": "Pakistan to host Geneva MoU signing: PM",
            "content": "ISLAMABAD:\nPakistan will host the formal signing ceremony of a landmark peace agreement between Iran and the United States in Geneva on June 19, Prime Minister Shehbaz Sharif announced on Monday, hailing the breakthrough as a \"new dawn of peace\" afte... [7330 chars]",
            "url": "https://tribune.com.pk/story/2613423/pakistan-to-host-geneva-mou-signing-pm",
            "image": "https://i.tribune.com.pk/media/images/661781564179-2/661781564179-2-640x480.webp",
            "publishedAt": "2026-06-15T23:05:36Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "id": "c9851b0f1a4167fc86eeceae0bc75610",
            "title": "Women caucus pushes tougher acid-attack law",
            "description": "Women caucus pushes tougher acid-attack law",
            "content": "QUETTA:\nThe Women's Parliamentary Caucus (WPC) has decided to accelerate legislation aimed at preventing acid attacks in Balochistan and ensuring justice and rehabilitation for victims.\nA meeting of the caucus, presided over by Deputy Speaker of the ... [2583 chars]",
            "url": "https://tribune.com.pk/story/2613388/women-caucus-pushes-tougher-acid-attack-law",
            "image": "https://i.tribune.com.pk/media/images/341781561422-1/341781561422-1-640x480.webp",
            "publishedAt": "2026-06-15T22:13:31Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        }
    ]
}

Categories