
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": 6855190, "articles": [ { "title": "Is Justin Bieber back for good? 7 things to know about ‘Swag,’ Justin Bieber’s comeback album", "description": "Justin Bieber returns with Swag, a 21-track album blending R&B, gospel, and humour, reflecting on fame, fatherhood, and personal growth.", "content": "Justin Bieber has officially made his musical comeback with ‘Swag’, his first full-length album since 2021’s chart-topping ‘Justice’. A lot has changed in Bieber’s life since then, from health struggles and fatherhood to major career shifts. With 21 ... [4528 chars]", "url": "https://english.mathrubhumi.com/movies-music/news/is-justin-bieber-back-for-good-7-things-to-know-about-swag-justin-biebers-comeback-album-vam1g77e", "image": "https://img.mathrubhumi.com/view/acePublic/alias/contentid/1kgh1zlfrvd89db9aae/0/justin-bieber-swag-jpg.jpeg?f=16%3A9&w=1200&q=0.75", "publishedAt": "2025-07-12T04:38:25Z", "source": { "name": "Mathrubhumi English", "url": "https://english.mathrubhumi.com" } }, { "title": "Gaza truce talks on verge of collapse, Palestinian officials say", "description": "Senior Palestinian officials accuse Israel of deliberately stalling the negotiations in Qatar during the prime minister's US visit.", "content": "Gaza ceasefire talks on verge of collapse, Palestinian officials say\n1 hour ago Share Save Rushdi Abualouf Gaza correspondent Reporting from Cairo Share Save\nReuters Gaza has been devastated by 21 months of war between Israel and Hamas\nNegotiations b... [4994 chars]", "url": "https://www.bbc.com/news/articles/cqjq9p87vdvo", "image": "https://ichef.bbci.co.uk/news/1024/branded_news/460a/live/2eb72e20-5e8a-11f0-b5c5-012c5796682d.jpg", "publishedAt": "2025-07-12T04:20:41Z", "source": { "name": "BBC", "url": "https://www.bbc.com" } }, { "title": "I’m not planning to finish my Wimbledon career today, planning to come back one more time, says Djokovic", "description": "Novak Djokovic clarifies Wimbledon loss not a farewell, plans to return for another shot at title.", "content": "Novak Djokovic wanted to make this much clear after losing to Jannik Sinner in the Wimbledon semifinals on Friday (July 11, 2025): This was not a farewell performance. Djokovic intends to compete again at the All England Club.\n“I'm not planning to fi... [2683 chars]", "url": "https://www.thehindu.com/sport/tennis/im-not-planning-to-finish-my-wimbledon-career-today-planning-to-come-back-one-more-time-says-djokovic/article69803323.ece", "image": "https://th-i.thgim.com/public/incoming/2cvxqx/article69803345.ece/alternates/LANDSCAPE_1200/2223987457.jpg", "publishedAt": "2025-07-12T04:05:00Z", "source": { "name": "The Hindu", "url": "https://www.thehindu.com" } } ] }