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": 71814,
    "articles": [
        {
            "title": "Nathan McSweeney opens up on his omission from Australia squad",
            "description": "Australia opener Nathan McSweeney said that he was \"devastated\" after being cast out of the team after just three Tests against India.",
            "content": "Australia opener Nathan McSweeney said on Saturday that he was “devastated” after being cast out of the team after just three Tests against India but vowed to come back a better player.\nThe 25-year-old won the race to replace the retired David Warner... [1391 chars]",
            "url": "https://a-sports.tv/nathan-mcsweeney-dropped-from-australia-test-squad/",
            "image": "https://a-sports.tv/wp-content/uploads/2024/12/nathan-mcsweeney-dropped-from-australia-test-squad.jpg",
            "publishedAt": "2024-12-21T08:52:05Z",
            "source": {
                "name": "A Sports",
                "url": "https://a-sports.tv"
            }
        },
        {
            "title": "Bangladesh Police arrests one person for vandalising Hindu idols",
            "description": "Bangladesh police arrest man for vandalizing Hindu idols, amid rising violence against minorities, sparking concerns from India.",
            "content": "37-year-old Azharul, accused in the Hindu idols attacks case in Bangladesh Mymensigh district, will be produced before court on Saturday, December 21, 2023, police official said.\nPolice in Bangladesh arrested one person for vandalising Hindu idols in... [2837 chars]",
            "url": "https://www.thehindu.com/news/international/bangladesh-police-arrests-one-person-for-vandalising-hindu-idols/article69011843.ece",
            "image": "https://th-i.thgim.com/public/incoming/qw5wsb/article69011851.ece/alternates/LANDSCAPE_1200/IMG_BANGLADESH-RELIGION-_2_1_R7DMH51M.jpg",
            "publishedAt": "2024-12-21T04:26:00Z",
            "source": {
                "name": "The Hindu",
                "url": "https://www.thehindu.com"
            }
        },
        {
            "title": "Japan inspects US air base after spill",
            "description": "TOKYO: Japanese autho­ri­ties carried out an inspection of a US military base in Tokyo on Friday, a government...",
            "content": "TOKYO: Japanese autho­ri­ties carried out an inspection of a US military base in Tokyo on Friday, a government spokesman said, after being informed by the American side of a chemical leak.\nJapan’s probe at the Yokota air base followed a US notice two... [1322 chars]",
            "url": "https://www.dawn.com/news/1880108",
            "image": "https://www.dawn.com/_img/social-default.jpg",
            "publishedAt": "2024-12-21T02:12:17Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        }
    ]
}

Categories