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": 293514,
    "articles": [
        {
            "id": "b478c22197995324a4b3a38f2e23b9af",
            "title": "I'd happily pay more for the Pixel 10a if Google upgraded this hardware",
            "description": "The Pixel 10a is shaping up to be forgettable and irrelevant",
            "content": "Pixel A-series phones have faced increasingly strong competition from other midrange devices since the Pixel 3a.\nNevertheless, they've consistently stood out as a reliable purchase for anyone not willing to shell out for a flagship phone.\nThe Pixel 9... [4781 chars]",
            "url": "https://www.androidpolice.com/i-would-pay-more-for-the-pixel-10a-if-it-had-this-one-feature/",
            "image": "https://static0.anpoimages.com/wordpress/wp-content/uploads/2026/01/two-blue-pixel-10a-smartphones-displayed-against-a-colorful-background.png?w=1600&h=900&fit=crop",
            "publishedAt": "2026-01-21T12:00:10Z",
            "lang": "en",
            "source": {
                "id": "22e6fb8c6790d769287f0f057fea36e9",
                "name": "Android Police",
                "url": "https://www.androidpolice.com"
            }
        },
        {
            "id": "5a60eb4dd0598d662768268ccaafde20",
            "title": "US Republican lawmaker slams Trump over handling of Venezuelan oil",
            "description": "US Rep. Thomas Massie criticises President Trump over the sale of Venezuelan oil seized by US forces, calling it unconstitutional and accusing the administration of using the proceeds without Congress’s approval.",
            "content": "WASHINGTON: Republican Representative Thomas Massie sharply criticised President Donald Trump on Tuesday over the administration’s handling of Venezuelan oil seized amid escalating tensions with Caracas. Massie accused Trump of selling “stolen” Venez... [1870 chars]",
            "url": "https://dailytimes.com.pk/1438923/us-republican-lawmaker-slams-trump-over-handling-of-venezuelan-oil/",
            "image": "https://dailytimes.com.pk/assets/uploads/2026/01/21/07dc-prexy-venezuela-gmqv-superJumbo-1.jpg",
            "publishedAt": "2026-01-21T11:33:30Z",
            "lang": "en",
            "source": {
                "id": "530adc8b33b0bcdfab321f4f04275d3e",
                "name": "Daily Times",
                "url": "https://dailytimes.com.pk"
            }
        },
        {
            "id": "210de22b84dd7f95a59490d7274e3c1d",
            "title": "BBC to make shows for YouTube, as new content deal announced",
            "description": "The new shows will appear on YouTube first, before later landing on the BBC's iPlayer and Sounds platforms.",
            "content": "BBC to make shows for YouTube in new landmark deal\nThe BBC has announced a landmark deal with YouTube, which will see the corporation make content that is tailor made for the video streaming service.\nThe broadcaster has previously used YouTube, which... [2633 chars]",
            "url": "https://www.bbc.com/news/articles/c0q4521pg28o",
            "image": "https://ichef.bbci.co.uk/news/1024/branded_news/a3ea/live/308c1b80-f6b4-11f0-8b01-ab4a8c4f3f91.jpg",
            "publishedAt": "2026-01-21T11:16:02Z",
            "lang": "en",
            "source": {
                "id": "f331a5ed3965fb59761dfcecfc7e7a34",
                "name": "BBC",
                "url": "https://www.bbc.com"
            }
        }
    ]
}

Categories