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": 7113, "articles": [ { "title": "10 Minutes of Violence Gave The Moon Its Very Own 'Grand Canyons'", "description": "Arizona's magnificent Grand Canyon is painstaking result of the Colorado River's current wearing away the planet's surface over millions of years.", "content": "Arizona's magnificent Grand Canyon is painstaking result of the Colorado River's current wearing away the planet's surface over millions of years.\nEarth, however, isn't the only body in the Solar System with canyons and gorges. The Moon has structure... [2884 chars]", "url": "https://www.sciencealert.com/10-minutes-of-violence-gave-the-moon-its-very-own-grand-canyons", "image": "https://www.sciencealert.com/images/2025/02/lunar-canyons.jpg", "publishedAt": "2025-02-04T22:00:24Z", "source": { "name": "ScienceAlert", "url": "https://www.sciencealert.com" } }, { "title": "Eta-Earth Revisited II: Deriving a Maximum Number of Earth-like Habitats in the Galactic Disk", "description": "Welcome to the Astrobiology Web", "content": "An Earth-like exoplanet — Grok via Astrobiology.com\nIn Lammer et al. 2024, we defined Earth-like Habitats (EH) as rocky planets in the habitable zone of complex life (HZCL) on which Earth-like N 2 -O 2 -dominated atmospheres with minor amounts of CO ... [4167 chars]", "url": "https://astrobiology.com/2025/02/eta-earth-revisited-ii-deriving-a-maximum-number-of-earth-like-habitats-in-the-galactic-disk.html", "image": "https://astrobiology.com/wp-content/uploads/2025/02/Eta-Earth-Revisited-II.png", "publishedAt": "2025-02-04T15:46:54Z", "source": { "name": "Astrobiology News", "url": "https://astrobiology.com" } }, { "title": "An object left a big gash on Mars. It also spawned a quake.", "description": "Scientists used observations from the NASA InSight lander and several orbiting spacecraft to show that many marsquakes are caused by objects impacting the red planet.", "content": "Quakes shake Mars all the time. But many of these temblors originate in outer space.\nNASA's InSight lander recorded over 1,300 marsquakes between 2018 and 2022, including some monster temblors. Now, a novel analysis paired imagery captured by Mars-or... [3030 chars]", "url": "https://mashable.com/article/mars-asteroid-meteor-impacts-cause-marsquakes", "image": "https://helios-i.mashable.com/imagery/articles/01pgR2h9dYAW6zvwy9fL6iH/hero-image.fill.size_1200x675.v1738609014.png", "publishedAt": "2025-02-04T14:44:56Z", "source": { "name": "Mashable", "url": "https://mashable.com" } } ] }