Pakistan Science News API
Get the live top science headlines from Pakistan with our JSON API.
Get API key for the Pakistan Science 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=science&apikey=API_KEY
{ "totalArticles": 6670, "articles": [ { "title": "Nearest Star-Eating Supermassive Black Hole Starts On New Victim", "description": "It’s more than 200 million light-years away from us, which is probably just as well.", "content": "The black hole that was recently spotted consuming a star that got too close has found its next victim, which may be another black hole. Astronomers are looking forward to watching the process in action, and have used what they have already seen to c... [4092 chars]", "url": "https://www.iflscience.com/nearest-star-eating-supermassive-black-hole-starts-on-new-victim-76317", "image": "https://assets.iflscience.com/assets/articleNo/76317/aImg/79421/tidal-disruption-event-meta.png", "publishedAt": "2024-10-10T16:32:07Z", "source": { "name": "IFLScience", "url": "https://www.iflscience.com" } }, { "title": "Light-Driven Micro-Robot Designed to Swim Autonomously in Viscous Liquids Could Be Used for Unblocking Blood Vessels", "description": "Light-Driven Micro-Robot Designed to Swim Autonomously in Viscous Liquids Could Be Used for Unblocking Blood Vessels", "content": "A glimpse through an optical microscope unveils a hidden universe full of life. Microorganisms have evolved ingenious ways to navigate their thick, viscous environments. For instance, E. coli bacteria rotate like corkscrews, cilia move in synchronize... [2880 chars]", "url": "https://www.hospimedica.com/surgical-techniques/articles/294802700/light-driven-micro-robot-designed-to-swim-autonomously-in-viscous-liquids-could-be-used-for-unblocking-blood-vessels.html", "image": "https://www.hospimedica.com/images/stories/articles/article_images/2024-10-09/sukellusrobotti-om1c9344-2-web_1.jpg", "publishedAt": "2024-10-09T16:47:48Z", "source": { "name": "HospiMedica", "url": "https://www.hospimedica.com" } }, { "title": "Scientists map out first complete 'brain atlas' using fruit flies", "description": "New research reveals the most complete map of the brain, including microscopic details from 140,000 neurons, millions of connections to other brain cells, and the discovery of new nerve cells.", "content": "Paper Summary\nMethodology\nThe study aimed to map the neuronal wiring of an entire adult Drosophila melanogaster brain. Researchers used serial section electron microscopy to capture detailed images of the brain, allowing them to reconstruct the conne... [3536 chars]", "url": "https://studyfinds.org/first-complete-brain-atlas/", "image": "https://studyfinds.org/wp-content/uploads/2024/10/fly-brain.jpg", "publishedAt": "2024-10-08T13:35:27Z", "source": { "name": "Study Finds", "url": "https://studyfinds.org" } } ] }