Flag of the Pakistan

Pakistan World News API

Get the live top world headlines from Pakistan with our JSON API.

Get API key for the Pakistan World 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=world&apikey=API_KEY
{
    "totalArticles": 66464,
    "articles": [
        {
            "title": "Russia-Ukraine war: peace summit enters second day as west looks to put pressure on Russia",
            "description": "Western countries and powers gather in Switzerland to pursue consensus on condemning Russia’s invasion of Ukraine",
            "content": "03.32 EDT Peace summit enters second day as western powers look to exert pressure on Russia\nGood morning and welcome to the Guardian’s live coverage of the Russia-Ukraine war. Western powers and countries from the rest of the world will use the secon... [1323 chars]",
            "url": "https://www.theguardian.com/world/live/2024/jun/16/russia-ukraine-war-peace-summit-enters-second-day-as-west-looks-to-put-pressure-on-russia",
            "image": "https://i.guim.co.uk/img/media/d18f047e5bc3e45977f309752f90b53575923c00/0_333_4998_2999/master/4998.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctbGl2ZS5wbmc&enable=upscale&s=8875c960028028f3dd2ea2e59943623d",
            "publishedAt": "2024-06-16T07:39:34Z",
            "source": {
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "title": "DENTING MODI’S 1000-YEAR REICH",
            "description": "The politics of hate and division and stark economic inequality championed by Narendra Modi and the BJP has been dealt a chasten",
            "content": "Voters in India have done for Indian democracy what the country’s election commission and judiciary failed to do: discipline and rebuke Prime Minister Narendra Modi for seeking to pit Hindus and Muslims against each other, and for his cosy nexus with... [9306 chars]",
            "url": "https://www.dawn.com/news/1840239/denting-modis-1000-year-reich",
            "image": "https://i.dawn.com/large/2024/06/666e524f24774.jpg",
            "publishedAt": "2024-06-16T02:56:05Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        },
        {
            "title": "Modi govt signals prosecution of Arundhati in old Kashmir case",
            "description": "NEW DELHI: Delhi Lieutenant Governor V. K. Saxena on Friday sanctioned the prosecution of novelist Arundhati Roy for...",
            "content": "NEW DELHI: Delhi Lieutenant Governor V. K. Saxena on Friday sanctioned the prosecution of novelist Arundhati Roy for allegedly making provocative statements at a 2010 event propagating Kashmir’s separation from India.\nThe order cited Section 13 of th... [1788 chars]",
            "url": "https://www.dawn.com/news/1840152",
            "image": "https://www.dawn.com/_img/social-default.jpg",
            "publishedAt": "2024-06-16T02:03:14Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        }
    ]
}

Categories