Flag of the 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": 71889,
    "articles": [
        {
            "title": "Soldier martyred, terrorist ringleader killed in 2 KP military engagements: ISPR",
            "description": "Army's media wing says the militant was \"highly wanted by law enforcement agencies”, weapons and ammunition were recovered from him.",
            "content": "A soldier was martyred while a wanted terrorist was killed in separate military operations in Khyber Pakhtunkhwa’s Kurram and Mardan districts, according to a press release from the military’s media wing on Friday.\nThe Inter Services Public Relations... [1723 chars]",
            "url": "https://www.dawn.com/news/1778548/soldier-martyred-terrorist-ringleader-killed-in-2-kp-military-engagements-ispr",
            "image": "https://www.dawn.com/_img/social-default.jpg",
            "publishedAt": "2023-09-29T18:41:20Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        },
        {
            "title": "Blinken urged Indian cooperation in Canada's Sikh murder probe -spokesperson",
            "description": "U.S. Secretary of State Antony Blinken spoke to his Indian counterpart on Thursday about the killing of a Sikh separatist advocate in Canada and urged India to cooperate fully with the Canadian investigation into the killing, a State Department spokesperson said.",
            "content": "U.S. Secretary of State Antony Blinken and India's External Affairs Minister Subrahmanyam Jaishankar say a few words to the news media as they meet at the State Department in Washington, U.S., September 28, 2023. REUTERS/Leah Millis/ File Photo Acqui... [3394 chars]",
            "url": "https://www.reuters.com/world/blinken-urged-indian-cooperation-canadas-sikh-murder-probe-spokesperson-2023-09-29/",
            "image": "https://www.reuters.com/resizer/1TkVUmZ4DGcKIYDxk4vlqXYwCXs=/1200x628/smart/filters:quality(80)/cloudfront-us-east-2.images.arcpublishing.com/reuters/QZ7TFPM5XBIWFDJTS7QDN3HRUE.jpg",
            "publishedAt": "2023-09-29T16:18:00Z",
            "source": {
                "name": "Reuters",
                "url": "https://www.reuters.com"
            }
        },
        {
            "title": "India at Asian Games 2023, Day 7 schedule: India vs Pakistan final in squash; badminton team semifinal; Mirabai Chanu, Lovlina Borgohain in action and more",
            "description": "Here are the main Indian events to track on Day 7 of the Asian Games (Saturday)",
            "content": "It promises to be a sensational Saturday of sporting action in Hangzhou for the Indian contingent at the Asian Games.\nBadminton: Final on the cards?\nA first men’s team medal since 1986 was all but assured with the draw but now things get serious. The... [3130 chars]",
            "url": "https://indianexpress.com/article/sports/asian-games/india-at-asian-games-2023-day-7-schedule-india-vs-pakistan-final-in-squash-badminton-team-semifinal-mirabai-chanu-lovlina-borgohain-8962047/",
            "image": "https://images.indianexpress.com/2023/09/IND-schedule-Day-7.jpg",
            "publishedAt": "2023-09-29T16:06:39Z",
            "source": {
                "name": "The Indian Express",
                "url": "https://indianexpress.com"
            }
        }
    ]
}

Categories