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": 62986,
    "articles": [
        {
            "title": "New hopes of Gaza ceasefire as Israeli negotiators head to Paris",
            "description": "Pressure mounts on Israel and Hamas to make a deal before threatened Rafah offensive",
            "content": "An Israeli negotiating team arrived in Paris on Friday for talks about a potential ceasefire in Gaza in the latest sign of tentative progress towards an agreement that could end the five-month-old war.\nThe Israeli delegation, which includes the heads... [6021 chars]",
            "url": "https://www.theguardian.com/world/2024/feb/23/gaza-ceasefire-hopes-hamas-israel-negotiators-paris",
            "image": "https://i.guim.co.uk/img/media/1c46671000a3602d8afadf6076c0cf04d918e787/0_143_4000_2401/master/4000.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctZGVmYXVsdC5wbmc&enable=upscale&s=f13cd4ed0b11087490d388dc8b11dde1",
            "publishedAt": "2024-02-23T18:58:00Z",
            "source": {
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "title": "Navalny’s mother resisting pressure for ‘secret funeral’, opposition says",
            "description": "Lyudmila Navalnaya given three hours to agree to private ceremony or her son would be ‘buried in the colony’",
            "content": "Russian authorities told Alexei Navalny’s mother her son would be buried in the Arctic penal colony where he died unless she agreed within three hours to a secret funeral, Navalny’s spokesperson has said.\nKira Yarmysh tweeted on Friday: “An investiga... [2025 chars]",
            "url": "https://www.theguardian.com/world/2024/feb/23/alexei-navalny-mother-forced-into-secret-funeral-for-son",
            "image": "https://i.guim.co.uk/img/media/082adcea88cda66f897701ecdbff9ffe8aa46906/0_0_4795_2880/master/4795.jpg?width=1200&height=630&quality=85&auto=format&fit=crop&overlay-align=bottom%2Cleft&overlay-width=100p&overlay-base64=L2ltZy9zdGF0aWMvb3ZlcmxheXMvdGctZGVmYXVsdC5wbmc&enable=upscale&s=bfdc20e1dea9c3f73d853eac20b23207",
            "publishedAt": "2024-02-23T18:25:00Z",
            "source": {
                "name": "The Guardian",
                "url": "https://www.theguardian.com"
            }
        },
        {
            "title": "Biden to host Italian PM Meloni at W.House on March 1",
            "description": "WASHINGTON: US President Joe Biden will host Italian Prime Minister Giorgia Meloni at the White House next week for...",
            "content": "WASHINGTON: US President Joe Biden will host Italian Prime Minister Giorgia Meloni at the White House next week for talks focused on Ukraine, conflict in the Middle East and relations with China, his spokeswoman said Friday.\nThe March 1 meeting betwe... [1427 chars]",
            "url": "https://www.brecorder.com/news/40290394",
            "image": "https://i.brecorder.com/large/2024/02/65d8dad57967f.jpg",
            "publishedAt": "2024-02-23T17:50:16Z",
            "source": {
                "name": "Business Recorder",
                "url": "https://www.brecorder.com"
            }
        }
    ]
}

Categories