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": 109273, "articles": [ { "title": "10 shot dead at school for adults in Sweden", "description": "OREBRO: Ten people were killed in a shooting at an adult education centre on Tuesday, Swedish police said, the...", "content": "OREBRO: Ten people were killed in a shooting at an adult education centre on Tuesday, Swedish police said, the deadliest attack to take place in Sweden on what the prime minister said was a “painful day” for the country.\nThe gunman is believed to be ... [1484 chars]", "url": "https://www.dawn.com/news/1889828/10-shot-dead-at-school-for-adults-in-sweden", "image": "https://www.dawn.com/_img/social-default.jpg", "publishedAt": "2025-02-05T02:22:35Z", "source": { "name": "DAWN.com", "url": "https://www.dawn.com" } }, { "title": "Rs1m loan for youth seeking jobs abroad", "description": "Govt expands scope of PM Youth Scheme to laptop buying", "content": "KARACHI: Prime Minister’s Youth Scheme now offers loans up to Rs1 million for individuals willing to travel abroad for employment.\nAccording to Rana Mashhood Ahmad Khan, Chairman of the Prime Minister Youth Programme, those travelling abroad for empl... [1726 chars]", "url": "https://www.dawn.com/news/1889820/rs1m-loan-for-youth-seeking-jobs-abroad", "image": "https://www.dawn.com/_img/social-default.jpg", "publishedAt": "2025-02-05T02:22:12Z", "source": { "name": "DAWN.com", "url": "https://www.dawn.com" } }, { "title": "Maritime sector losses", "description": "EDITORIAL: News reports suggesting that Pakistan’s maritime sector haemorrhages approximately Rs5 trillion ...", "content": "EDITORIAL: News reports suggesting that Pakistan’s maritime sector haemorrhages approximately Rs5 trillion annually due to underutilised ports, tax evasion, malpractices, and the misuse of the Afghan Transit Trade need to be taken very seriously at t... [3696 chars]", "url": "https://www.brecorder.com/news/40346338/maritime-sector-losses", "image": "https://i.brecorder.com/large/2025/02/05042604a82bc1b.jpg?r=042611", "publishedAt": "2025-02-05T01:48:05Z", "source": { "name": "Business Recorder", "url": "https://www.brecorder.com" } } ] }