
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": 59851, "articles": [ { "title": "Pakistan Police arrest Imran Khan’s nephew for attacking security forces; wife Bushra summoned in Toshakhana case", "description": "Over 50 security personnel were injured as clashes erupted between Khan-led Pakistan Tehreek-e-Insaf (PTI) party workers and the police on March 18 outside the court.", "content": "The police in Pakistan Monday arrested supporters of former prime minister Imran Khan, including his nephew Hassan Niazi, for attacking officers outside the Islamabad Judicial Complex, where the ousted premier had arrived from Lahore to attend a hear... [3307 chars]", "url": "https://indianexpress.com/article/pakistan/pak-police-arrests-imran-khan-nephew-supporters-nba-summons-wife-bushra-toshakhana-8508774/", "image": "https://images.indianexpress.com/2023/03/2023-03-20T082342Z_1791684463_RC2FWZ9E86XB_RTRMADP_5_PAKISTAN-POLITICS-KHAN.jpg", "publishedAt": "2023-03-20T17:03:12Z", "source": { "name": "The Indian Express", "url": "https://indianexpress.com" } }, { "title": "From collagen production to antioxidant benefits: What does vitamin C do?", "description": "What does vitamin C do? As an essential nutrient, it's critical for maintaining good health.", "content": "What does vitamin C do? As an essential nutrient, it's critical for maintaining good health.\nVitamin C, which is water-soluble and cannot be produced by the body, must be obtained through diet or supplements. In this article, we will examine the bene... [2063 chars]", "url": "https://www.sportskeeda.com/health-and-fitness/from-collagen-production-antioxidant-benefits-what-vitamin-c-do", "image": "https://staticc.sportskeeda.com/editor/2023/03/0468e-16793283096930-1920.jpg", "publishedAt": "2023-03-20T16:16:00Z", "source": { "name": "Sportskeeda", "url": "https://www.sportskeeda.com" } }, { "title": "Dar says his Senate speech on Pakistan’s nuclear programme being ‘quoted out of context’", "description": "Says neither IMF nor any country has attached \"any conditionality or made any demand from Pakistan with regard to our nuclear capability\".", "content": "Finance Minister Ishaq Dar said on Monday that his comments in the Senate on Pakistan’s nuclear programme were being “quoted out of context”, adding that the delay in the International Monetary Fund (IMF) programme was due to “technical reasons”.\nLas... [4669 chars]", "url": "https://www.dawn.com/news/1743241", "image": "https://i.dawn.com/large/2023/03/20193252da24dfb.png?r=193344", "publishedAt": "2023-03-20T15:04:26Z", "source": { "name": "DAWN.com", "url": "https://www.dawn.com" } } ] }