
Pakistan News API
Get the live top headlines from Pakistan with our JSON API.
Get API key for the Pakistan 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=general&apikey=API_KEY
{ "totalArticles": 6827004, "articles": [ { "title": "Bridge collapse in India’s Gujarat state kills at least nine", "description": "Rescue operations under way in Vadodara district after several vehicles fall into river.", "content": "Rescue operations under way in Vadodara district after several vehicles fall into river.\nAt least nine people have been killed after the collapse of a bridge over a river in India’s western Gujarat state, according to authorities.\nGujarat’s Health Mi... [819 chars]", "url": "https://www.aljazeera.com/news/2025/7/9/bridge-collapse-in-india-gujarat-state-kills-several-people", "image": "https://www.aljazeera.com/wp-content/uploads/2025/07/AP25190273887472-1752051675.jpg?resize=1920%2C1440", "publishedAt": "2025-07-09T09:29:15Z", "source": { "name": "Al Jazeera", "url": "https://www.aljazeera.com" } }, { "title": "Don't Let Your Staff Download These Browser Extensions", "description": "Today, browser extensions are ubiquitous. But as a recent malicious campaign shows, they're also a cybersecurity nightmare.", "content": "Browser extensions are a modern fact of online life. And with good reason – they can help to streamline our everyday computing headaches, enhance the browsing experience (thank you, Ad Blocker), and even reduce eye strain.\nIt’s because of this that e... [475 chars]", "url": "https://tech.co/news/dont-download-these-browser-extensions", "image": "https://images.tech.co/wp-content/uploads/2025/07/09051313/AdobeStock_1264390092-min-2.jpeg", "publishedAt": "2025-07-09T09:16:18Z", "source": { "name": "tech.co", "url": "https://tech.co" } }, { "title": "How a confluence of extreme weather, geography and timing created Texas' flood disaster", "description": "As a succession of thunderstorms fed by the remnants of Tropical Storm Barry pummeled Texas' Hill Country, tools used by the National Oceanic and Atmospheric Administration to detect extreme rainfall began “maxing out the color charts.”", "content": "As a succession of thunderstorms fed by the remnants of Tropical Storm Barry pummeled Texas' Hill Country, tools used by the National Oceanic and Atmospheric Administration to detect extreme rainfall began “maxing out the color charts.”\nThe forecasti... [5265 chars]", "url": "https://www.yahoo.com/news/confluence-extreme-weather-geography-timing-090000591.html", "image": "https://s.yimg.com/ny/api/res/1.2/51V26ucHf.QO0_7WI_65bg--/YXBwaWQ9aGlnaGxhbmRlcjt3PTEyMDA7aD04MDE7Y2Y9d2VicA--/https://media.zenfs.com/en/nbc_news_122/934c4f9a017ca6b69acdbde6f49ab305", "publishedAt": "2025-07-09T09:00:00Z", "source": { "name": "Yahoo", "url": "https://www.yahoo.com" } } ] }