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": 399710,
    "articles": [
        {
            "id": "bc0cc7eef3032b20413c68b4426e9859",
            "title": "Newly discovered asteroid to pass closer to Earth than the moon on Monday",
            "description": "A newly discovered asteroid estimated to be about 62 feet wide will zoom near Earth on Monday, though it is not expected to pose a threat to the planet.",
            "content": "A newly discovered asteroid estimated to be about 62 feet wide will zoom near Earth on Monday, though it is not expected to pose a threat to the planet.\nThe asteroid, officially known as 2026 JH2, will come within about 57,000 miles of Earth, accordi... [3067 chars]",
            "url": "https://www.nbcnews.com/science/space/asteroid-pass-close-earth-newly-discovered-rcna345687",
            "image": "https://media-cldnry.s-nbcnews.com/image/upload/t_nbcnews-fp-1200-630,f_auto,q_auto:best/rockcms/2026-05/260518-earth-asteroid-vl-322p-d246e4.jpg",
            "publishedAt": "2026-05-18T21:30:55Z",
            "lang": "en",
            "source": {
                "id": "3bab6463853c054dc51d2427c1a5b69e",
                "name": "NBC News",
                "url": "https://www.nbcnews.com"
            }
        },
        {
            "id": "573e7093252cdc708ba3fe669b2d926e",
            "title": "Iron and Ice: Earth's Passage Through the Interstellar Cloud",
            "description": "Our Solar System is currently passing through the Local Interstellar Cloud, a region of highly diluted gas and dust between the stars. On its path, Earth continuously accumulates iron-60, a rare radioactive isotope of iron produced in stellar explosions. This has now been confirmed by an international research team led by the Helmholtz-Zentrum Dresden-Rossendorf (HZDR) through the analysis of Antarctic ice tens of thousands of years old. From the steady but time-varying influx, the researchers conclude that the radioactive isotope has been stored within the cloud since a long-past stellar explosion.",
            "content": "Iron-60 is a radioactive isotope of iron that's found in Antarctic ice and in deep-sea crusts. It's only source is nucleosynthesis in the cataclysmic explosive destruction of massive stars—supernovae. Since its half-life is about 2.6 million years, a... [4146 chars]",
            "url": "https://www.universetoday.com/articles/iron-and-ice-earths-passage-through-the-interstellar-cloud",
            "image": "https://www.universetoday.com/article_images/image_8777e-Local-Interstellar-Cloud_20260518_180828.jpg",
            "publishedAt": "2026-05-18T20:11:00Z",
            "lang": "en",
            "source": {
                "id": "e209c18934dfc136fe2651208d3d9a69",
                "name": "Universe Today",
                "url": "https://www.universetoday.com"
            }
        },
        {
            "id": "21f6fb66c730fe0d81d5a06007961492",
            "title": "Trump says plan to attack Iran on Tuesday paused amid 'serious negotiations'",
            "description": "Khaleej Times brings you the latest global, regional and local developments on Day 41 of the fragile ceasefire between United States and Iran.",
            "content": "11:55 PM, May 18, 2026\nDay 41 of ceasefire: Here's what you missed\n11:50 PM, May 18, 2026\nIAEA says 'ready to assist' following drone attack near UAE's Barakah nuclear plant site\n11:21 PM, May 18, 2026\nAir defences activated in Qeshm Island after det... [3777 chars]",
            "url": "https://www.khaleejtimes.com/world/us-israel-iran-lebanon-war-ceasefire-day-41-live-updates",
            "image": "https://imgengine.khaleejtimes.com/khaleejtimes/import/images/3dc37ba9-b0a9-460b-be8d-a26c5d21517a-org.jpg?width=1200&height=630&q=60&format=auto&ogImage=true&mode=crop&rect=0,0,1200,800",
            "publishedAt": "2026-05-18T19:55:04Z",
            "lang": "en",
            "source": {
                "id": "77df5dd66397879ca350736bc517f004",
                "name": "Khaleej Times",
                "url": "https://www.khaleejtimes.com"
            }
        }
    ]
}

Categories