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": 24512,
    "articles": [
        {
            "id": "6275559948276c6808b944d69e122617",
            "title": "Mars Hid its Warm, Wet Crystals Underground",
            "description": "The search for any sign of life on Mars continues. In the latest update, a new data release from Curiosity’s Chemistry and Mineralogy (CheMin) - essentially the rover’s portable X-ray diffraction lab - and published in a paper in Science, analyzes 20 different rock samples from various elevations of Mount Sharp, the mountain in the center of Gale Crater that Curiosity has been slowly climbing. In the paper, the researchers describe how the size of the crystals in those samples could help scientists determine where to look for evidence that life might have evolved on the Red Planet.",
            "content": "The search for any sign of life on Mars continues. In the latest update, a new data release from Curiosity’s Chemistry and Mineralogy (CheMin) - essentially the rover’s portable X-ray diffraction lab - and published in a paper in Science, analyzes 20... [3635 chars]",
            "url": "https://www.universetoday.com/articles/mars-hid-its-warm-wet-crystals-underground",
            "image": "https://www.universetoday.com/article_images/T_Peretyazhko_samples_20260602_165757.jpg",
            "publishedAt": "2026-06-02T16:57:00Z",
            "lang": "en",
            "source": {
                "id": "e209c18934dfc136fe2651208d3d9a69",
                "name": "Universe Today",
                "url": "https://www.universetoday.com"
            }
        },
        {
            "id": "f653f606f3335bd9539bf3d133fdcfdf",
            "title": "'Hot Jupiter' winds blasting at over 15,000 mph reveal 1st evidence of exoplanets with magnetic fields",
            "description": "Astronomers have discovered the first evidence of magnetic worlds beyond the solar system thanks to their high-speed, violent winds, representing a major step forward in exoplanet research.",
            "content": "Astronomers have discovered the first evidence of magnetic fields around planets beyond the solar system, and they did so by studying the worlds' high-speed, violent winds. This marks the first direct measurement of exoplanet magnetic field strength,... [4497 chars]",
            "url": "https://www.space.com/astronomy/exoplanets/hot-jupiter-winds-blasting-at-over-15-000-mph-reveal-1st-evidence-of-exoplanets-with-magnetic-fields",
            "image": "https://cdn.mos.cms.futurecdn.net/ZhnsQYYA9KtKT493jkfbKB-1600-80.png",
            "publishedAt": "2026-06-02T16:00:00Z",
            "lang": "en",
            "source": {
                "id": "024dd4370bda9e6e6791231c2a935d20",
                "name": "Space",
                "url": "https://www.space.com"
            }
        },
        {
            "id": "989bc3bd08b4550cc5127ed586ed1abd",
            "title": "Icy moons' ability to host life could be revealed through an ecology-based method",
            "description": "New observatories and spacecraft missions are probing environments in our solar system that could potentially host life but have long remained hidden. Icy moons like Saturn's Enceladus and Jupiter's Europa likely contain oceans beneath frozen outer shells. But a layer of ice prohibits space probes from sampling them directly.",
            "content": "New observatories and spacecraft missions are probing environments in our solar system that could potentially host life but have long remained hidden. Icy moons like Saturn's Enceladus and Jupiter's Europa likely contain oceans beneath frozen outer s... [6929 chars]",
            "url": "https://phys.org/news/2026-06-icy-moons-ability-host-life.html",
            "image": "https://scx2.b-cdn.net/gfx/news/2026/scientists-used-a-meth.jpg",
            "publishedAt": "2026-06-02T09:40:01Z",
            "lang": "en",
            "source": {
                "id": "6063be7565dcd637bb5d2946ed6c5329",
                "name": "Phys.org",
                "url": "https://phys.org"
            }
        }
    ]
}

Categories