Pakistan Science News API

Get the live top science headlines from Pakistan with our JSON API.

Get API key for the Pakistan Science News API

API 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": 26774,
    "articles": [
        {
            "id": "b39af0e8a1d9e802abd2ce3d4862fbd7",
            "title": "Feedbacks upon feedbacks: Rock weathering and the climate",
            "description": "Rock weathering may release or draw down carbon dioxide—it depends on the rock.",
            "content": "Since the early 1980s, Earth scientists have understood that erosion and weathering of rock slowly removes CO2 from the atmosphere, regulating Earth’s climate on geological timescales. But recent studies have shown that erosion can also emit CO2 by o... [9745 chars]",
            "url": "https://arstechnica.com/science/2026/06/feedbacks-upon-feedbacks-rock-weathering-and-the-climate/",
            "image": "https://cdn.arstechnica.net/wp-content/uploads/2026/06/mochras-core-1152x648.jpg",
            "publishedAt": "2026-06-26T14:41:18Z",
            "lang": "en",
            "source": {
                "id": "344add8dabb753d03641ce9f246787ad",
                "name": "Ars Technica",
                "url": "https://arstechnica.com"
            }
        },
        {
            "id": "b32bfe357e34aa0d24f296d2f8cbfb37",
            "title": "Black hole collision lets scientists probe the event horizon for the first time",
            "description": "The loudest black hole merger revealed a fading signal from near the event horizon, giving astronomers a new way to probe extreme gravity.",
            "content": "Black holes do their most important work in hiding. The boundary that defines them, the event horizon, seals off anything that crosses it from the rest of the universe. Yet in a violent collision recorded last year, astronomers say they have finally ... [7517 chars]",
            "url": "https://www.thebrighterside.news/post/black-hole-collision-lets-scientists-probe-the-event-horizon-for-the-first-time/",
            "image": "https://www.thebrighterside.news/uploads/2026/06/Binary-star-6.jpg?auto=webp&width=1780&height=2000",
            "publishedAt": "2026-06-26T14:07:00Z",
            "lang": "en",
            "source": {
                "id": "112bf679e5854b6527eea31fa42dbada",
                "name": "The Brighter Side of News",
                "url": "https://www.thebrighterside.news"
            }
        },
        {
            "id": "d54068c7c2378aadd4625a0bb97dd51e",
            "title": "Perseverance Astrobiology Droid Has Completed A Martian Marathon",
            "description": "Welcome to Astrobiology.com",
            "content": "On June 14, 2026, Mars Perseverance rover completed a Martian “marathon” by surpassing 26.2 miles (42.195 kilometers) of travel. The day before, NASA’s Mars Reconnaissance Orbiter snapped this view of the rover and its tracks from space.\nNASA’s Perse... [1261 chars]",
            "url": "https://astrobiology.com/2026/06/perseverance-astrobiology-droid-has-completed-a-martian-marathon.html",
            "image": "https://astrobiology.com/wp-content/uploads/2026/06/Astrobiology-Droid.jpg",
            "publishedAt": "2026-06-26T13:18:45Z",
            "lang": "en",
            "source": {
                "id": "1ff5b422408f5ec9bc27a0260c24caee",
                "name": "astrobiology.com",
                "url": "https://astrobiology.com"
            }
        }
    ]
}

Categories