
Pakistan Technology News API
Get the live top technology headlines from Pakistan with our JSON API.
Get API key for the Pakistan Technology 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=technology&apikey=API_KEY
{ "totalArticles": 2970142, "articles": [ { "title": "Xiaomi unveils must-have devices for April with new launches and special offers", "description": "Xiaomi celebrates its 15th Anniversary with the Xiaomi Fan Festival 2025 in Nigeria this April. The brand celebrates by launching two new smartphones", "content": "April marks a monumental moment for Xiaomi as it proudly celebrates its 15th Anniversary with the Xiaomi Fan Festival 2025 in Nigeria!\nAs a brand built on innovation, community, and affordability, Xiaomi is showing appreciation to its loyal fans with... [3193 chars]", "url": "https://techcabal.com/2025/04/18/xiaomi-unveils-must-have-devices-for-april-with-new-launches-and-special-offers/", "image": "https://lh7-rt.googleusercontent.com/docsz/AD_4nXc9ll8VyXafMyrHrmn4p1JohNkv9fB8AMM-OfCLjLynfiCQnKM6JdE13veu7rd0eRERrJMBNYJ0Uvg0Bro8mF79uC6uapyDvCDc2giNnD2bi72gt_TASHCuFzXBJx7KddVM4Ppep_H2hvfyxMUSuBc?key=-Sq_L68cqLUFF3yjC6fBEWM1", "publishedAt": "2025-04-18T04:03:50Z", "source": { "name": "TechCabal", "url": "https://techcabal.com" } }, { "title": "When it comes to ads, Apple isn’t playing coy anymore", "description": "Apple’s rebrand of its search ads business to Apple Ads suggests the tech company is gearing up for a more concerted move for ad dollars.", "content": "For years, Apple has played the role of the bystander in advertising — wealthy, capable and largely disinterested. It had the reach, the hardware, the data, the closed loop ecosystem, it had everything but the need.\nNow, that’s starting to change.\nAp... [5409 chars]", "url": "https://digiday.com/marketing/when-it-comes-to-ads-apple-isnt-playing-coy-anymore/", "image": "https://digiday.com/wp-content/uploads/sites/3/2022/10/apple-ads.jpg", "publishedAt": "2025-04-18T04:02:33Z", "source": { "name": "Digiday", "url": "https://digiday.com" } }, { "title": "Making AI-generated code more accurate in any language", "description": "Researchers developed a more efficient way to control the outputs of a large language model, guiding it to generate text that adheres to a certain structure, like a programming language, and remains error free.", "content": "Programmers can now use large language models (LLMs) to generate computer code more quickly. However, this only makes programmers’ lives easier if that code follows the rules of the programming language and doesn’t cause a computer to crash.\nSome met... [6748 chars]", "url": "https://news.mit.edu/2025/making-ai-generated-code-more-accurate-0418", "image": "https://news.mit.edu/sites/default/files/images/202504/MIT-Probalistic-Control-compressed.gif", "publishedAt": "2025-04-18T04:00:00Z", "source": { "name": "MIT News", "url": "https://news.mit.edu" } } ] }