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": 347554,
    "articles": [
        {
            "id": "2be7fda4c63ebf46cf5345a30c103fc2",
            "title": "LIVE: New Zealand kickstart their campaign with a win against Afghanistan",
            "description": "Revenge is on the radar for New Zealand as they look to atone for their 2024 T20WC defeat to Afghanistan. Follow the action.",
            "content": "What a way to launch into day two of the ICC Men's T20 World Cup 2026.\nAfter the pair's World Cup meeting two years ago, New Zealand will be desperate to not just get their campaign off to a flier, but exact some revenge against a supremely talented ... [1849 chars]",
            "url": "https://www.icc-cricket.com/tournaments/mens-t20-world-cup-2026/news/new-zealand-v-afghanistan-t20-world-cup-report",
            "image": "https://images.icc-cricket.com/image/upload/t_ratio16_9-size20-webp/prd/x47vgp4r6rzb34ve2jo0",
            "publishedAt": "2026-02-08T08:25:04Z",
            "lang": "en",
            "source": {
                "id": "985cdfe2f767ad35d927fabe1a11c4f2",
                "name": "ICC",
                "url": "https://www.icc-cricket.com"
            }
        },
        {
            "id": "bf2b89659230cc6b296a61041376a1b0",
            "title": "Emigration bureau warns jobseekers against fake overseas job offers",
            "description": "The Pakistan Bureau of Emigration and Overseas Employment has warned jobseekers to remain vigilant against fraudulent overseas employment offers, particularly those",
            "content": "The Pakistan Bureau of Emigration and Overseas Employment has warned jobseekers to remain vigilant against fraudulent overseas employment offers, particularly those involving demands for upfront payments.\nIn an advisory, the bureau said any overseas ... [1056 chars]",
            "url": "https://www.nation.com.pk/08-Feb-2026/emigration-bureau-warns-jobseekers-fake-overseas-job-offers",
            "image": "https://www.nation.com.pk/digital_images/large/2026-02-08/emigration-bureau-warns-jobseekers-fake-overseas-job-offers-1770531049-1300.jpg",
            "publishedAt": "2026-02-08T06:10:53Z",
            "lang": "en",
            "source": {
                "id": "5e331ca39104c898285cf9f72e2e2e65",
                "name": "The Nation (Pakistan )",
                "url": "https://www.nation.com.pk"
            }
        },
        {
            "id": "42e2e1920d022abbdf3d3ae514315eb4",
            "title": "OpenAI's first hardware product will be AI-powered earbuds",
            "description": "The company is scaling back its hardware ambitions due to component shortages. According to a Chinese tipster on Weibo, OpenAI is gearing up to launch its...",
            "content": "According to a Chinese tipster on Weibo, OpenAI is gearing up to launch its first hardware product - a pair of earbuds, of course, powered by the company's own AI model. According to the report, the company decided to scale back on its hardware effor... [736 chars]",
            "url": "https://www.gsmarena.com/openais_first_hardware_product_will_be_aipowered_earbuds-news-71455.php",
            "image": "https://fdn.gsmarena.com/imgroot/news/23/06/chat-gpt-app-updates-ios/-952x498w6/gsmarena_000.jpg",
            "publishedAt": "2026-02-08T06:07:02Z",
            "lang": "en",
            "source": {
                "id": "5e3c34855a7a20621cdd65325f423eb1",
                "name": "GSMArena.com",
                "url": "https://www.gsmarena.com"
            }
        }
    ]
}

Categories