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": 347786,
    "articles": [
        {
            "id": "5da1862066ed9adc658595e422dd90c0",
            "title": "Cuba warns airlines it’s almost out of fuel as US blockade deepens energy crisis",
            "description": "Air Canada and other airlines suspend Cuba flights as Havana warns it can no longer guarantee refuelling for international carriers.",
            "content": "Cuban aviation officials have warned airlines that there is not enough fuel for planes to refuel on the island, the latest step in its moves to ration energy as the Trump administration cuts the Caribbean nation off from its fuel resources.\nThe gover... [848 chars]",
            "url": "https://www.scmp.com/news/world/americas/article/3343015/cuba-warns-airlines-its-almost-out-fuel-us-blockade-deepens-crisis",
            "image": "https://cdn.i-scmp.com/sites/default/files/styles/og_image_scmp_generic/public/d8/images/canvas/2026/02/10/36e92aec-f2e1-4af0-b350-5dfd6f6e3341_92c7bd83.jpg?itok=DLN2o6dp&v=1770700848",
            "publishedAt": "2026-02-10T05:20:50Z",
            "lang": "en",
            "source": {
                "id": "9709bfa71bc46e81262e4096f206f257",
                "name": "South China Morning Post",
                "url": "https://www.scmp.com"
            }
        },
        {
            "id": "0ac7a430678f4f4005645bdd9c4e0249",
            "title": "English Heritage launches ‘bonding benches’ to tackle parental isolation",
            "description": "Charity to also offer activities for young families and host NCT volunteer-led sling and buggy walks at selected sites",
            "content": "The great stone circles, abbeys, castles and manor houses that English Heritage manages acted for centuries as places to meet and mingle.\nNow in an effort to tackle parental isolation, the charity is tapping back into this sense of community by intro... [3198 chars]",
            "url": "https://www.theguardian.com/uk-news/2026/feb/10/english-heritage-bonding-benches-tackle-parental-isolation",
            "image": "https://i.guim.co.uk/img/media/e0229eb4263bd354feec088eeffc825c34321c83/409_0_3447_2757/master/3447.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&precrop=40:21,offset-x50,offset-y0&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctZGVmYXVsdC5wbmc&enable=upscale&s=8a775df77be9143f125885f2ddbf16b5",
            "publishedAt": "2026-02-10T05:00:00Z",
            "lang": "en",
            "source": {
                "id": "558a003a7a0164e924408edec7e99f99",
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "id": "52447011b2288f1e9e829b0f5fd8ed71",
            "title": "Physicists discover what controls the speed of quantum time",
            "description": "Time may feel smooth and continuous, but at the quantum level it behaves very differently. Physicists have now found a way to measure how long ultrafast quantum events actually last, without relying on any external clock. By tracking subtle changes in electrons as they absorb light and escape a material, researchers discovered that these transitions are not instantaneous and that their duration depends strongly on the atomic structure of the material involved.",
            "content": "At the smallest scales, physical processes unfold at astonishing speeds. Events such as tunneling or an electron shifting to a new energy state after absorbing light can happen in just a few tens of attoseconds (10-18 seconds). That interval is so br... [3964 chars]",
            "url": "https://www.sciencedaily.com/releases/2026/02/260209221713.htm",
            "image": "https://www.sciencedaily.com/images/1920/physics-flow-of-time.webp",
            "publishedAt": "2026-02-10T03:23:48Z",
            "lang": "en",
            "source": {
                "id": "81a05fd2712964dbdb32b1c6a27646fd",
                "name": "ScienceDaily",
                "url": "https://www.sciencedaily.com"
            }
        }
    ]
}

Categories