
Pakistan Nation News API
Get the live top nation headlines from Pakistan with our JSON API.
Get API key for the Pakistan Nation News APIAPI 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=nation&apikey=API_KEY
{ "totalArticles": 3879014, "articles": [ { "title": "As Tensions Rise With Pakistan, a Moment of Truth for India’s Military", "description": "The risk of exposing a military still being modernized may constrain Prime Minister Narendra Modi as he weighs retaliation for a terrorist attack.", "content": "The last time the perpetual tensions between India and Pakistan escalated into a face-off, Indian officials were forced to confront an uncomfortable reality: The country’s huge military was bloated, antiquated and underprepared for imminent threats a... [786 chars]", "url": "https://www.nytimes.com/2025/04/26/world/asia/india-pakistan-military-kashmir-attack.html", "image": "https://static01.nyt.com/images/2025/04/26/multimedia/26int-india-military-mwgz/26int-india-military-mwgz-facebookJumbo.jpg", "publishedAt": "2025-04-26T05:05:36Z", "source": { "name": "The New York Times", "url": "https://www.nytimes.com" } }, { "title": "PM Shehbaz says Pakistan open to ‘neutral, transparent’ probe into Pahalgam attack", "description": "Defence minister says Pakistan \"ready to cooperate\"; warns of \"all-out war\" if India attacks; firing reported at LoC for 2nd day.", "content": "Prime Minister Shehbaz Sharif on Saturday said Pakistan was open to any “neutral and transparent” investigation into the Pahalgam attack in India-occupied Kashmir this week.\nThe April 22 attack in Pahalgam saw 26 people, mostly tourists, killed in wh... [6118 chars]", "url": "https://www.dawn.com/news/1906694/pm-shehbaz-says-pakistan-open-to-neutral-transparent-probe-into-pahalgam-attack", "image": "https://i.dawn.com/large/2025/04/26110523c5692d5.png?r=110657", "publishedAt": "2025-04-26T04:56:50Z", "source": { "name": "Dawn", "url": "https://www.dawn.com" } }, { "title": "Dilapidated Pindi-Muree highway disrupts citizens' lives", "description": "Dilapidated Pindi-Muree highway disrupts citizens' lives", "content": "The dilapidated condition of the Rawalpindi-Murree Road has made travel on the most important tourist highway extremely difficult.\nFollowing the deep excavation on this road from Chitta Mor to Bansara Gali, which has been dragged out due to the slow ... [720 chars]", "url": "https://tribune.com.pk/story/2542368/dilapidated-pindi-muree-highway-disrupts-citizens-lives", "image": "https://i.tribune.com.pk/media/images/1083636-image-1460487013/1083636-image-1460487013.JPG", "publishedAt": "2025-04-26T03:04:55Z", "source": { "name": "The Express Tribune", "url": "https://tribune.com.pk" } } ] }