
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": 7219906, "articles": [ { "id": "2bb79dfb2b53997ea1fa91e44a07fba5", "title": "Netherlands ready to join Eurovision boycott over Israel", "description": "The Netherlands follows Ireland in saying it can \"no longer justify Israel's inclusion\" in the event.", "content": "The Dutch public broadcaster, Avrotros, has confirmed the Netherlands will also boycott next year's Eurovision song contest if Israel is involved.\nIt follows Irish broadcaster RTÉ, which has said it will not take part if Israel does \"given the ongoin... [1248 chars]", "url": "https://www.bbc.com/news/articles/c5yg0ly2nlko", "image": "https://ichef.bbci.co.uk/news/1024/branded_news/47b5/live/f0e23380-8fc9-11f0-8e71-9fb5a66334eb.jpg", "publishedAt": "2025-09-12T12:37:05Z", "lang": "en", "source": { "id": "f331a5ed3965fb59761dfcecfc7e7a34", "name": "BBC", "url": "https://www.bbc.com", "country": "pk" } }, { "id": "5a3e17e02f053bb6a67a06ea8791d2ce", "title": "Aurora alert! Butterfly-shaped 'hole' in sun's atmosphere could spark geomagnetic storm Sept. 13-14", "description": "A butterfly-shaped coronal hole is blasting solar wind toward Earth, with a chance of G2 geomagnetic storms and dazzling auroras this weekend.", "content": "A colossal butterfly-shaped coronal hole has opened in the sun's atmosphere and is currently spewing a fast-moving stream of solar wind toward Earth that could trigger a moderate geomagnetic storm and dazzling auroras this weekend.\nThe high-speed sol... [2916 chars]", "url": "https://www.space.com/stargazing/auroras/aurora-alert-butterfly-shaped-hole-in-suns-atmosphere-could-spark-geomagnetic-storm-sept-13-14", "image": "https://cdn.mos.cms.futurecdn.net/KHMfdgRHppZ5UjuQbHYSaP.jpg", "publishedAt": "2025-09-12T12:37:04Z", "lang": "en", "source": { "id": "024dd4370bda9e6e6791231c2a935d20", "name": "Space", "url": "https://www.space.com", "country": "pk" } }, { "id": "ac7657881763ac9f4fc7ee64475b7db0", "title": "US joins UN Security Council condemnation of Israeli strikes on Qatar", "description": "The US traditionally blocks actions against its close ally Israel at the United Nations.", "content": "Just now\nTom BennettBBC News, in Jerusalem\nThe United Nations Security Council has condemned Israel's strikes on a residential compound in the Qatari capital Doha, which targeted senior members of Hamas.\nThe statement - which did not directly name Is... [3513 chars]", "url": "https://www.bbc.com/news/articles/c740kk7vxkdo", "image": "https://ichef.bbci.co.uk/news/1024/branded_news/3902/live/4e880f60-8fce-11f0-9cf6-cbf3e73ce2b9.jpg", "publishedAt": "2025-09-12T11:59:44Z", "lang": "en", "source": { "id": "f331a5ed3965fb59761dfcecfc7e7a34", "name": "BBC", "url": "https://www.bbc.com", "country": "pk" } } ] }