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": 24520,
    "articles": [
        {
            "id": "98b29dffc4be30d7b416a9fa19af6fd5",
            "title": "Physicists Measure Hydrogen Proton Radius to Resolve Discrepancies in Atomic Data",
            "description": "Physicists have established a new, precise measurement […]",
            "content": "Physicists have established a new, precise measurement of the proton’s radius, providing data that addresses long-standing discrepancies regarding the size of the hydrogen atom’s nucleus. By utilizing hydrogen—the universe’s simplest and most abundan... [879 chars]",
            "url": "https://www.geneonline.com/physicists-measure-hydrogen-proton-radius-to-resolve-discrepancies-in-atomic-data/",
            "image": "https://www.geneonline.com/wp-content/uploads/EN_NEWSFLASH_5-1.png",
            "publishedAt": "2026-06-02T23:22:33Z",
            "lang": "en",
            "source": {
                "id": "e5376462a7128acdb762718aa2daf90e",
                "name": "geneonline.com",
                "url": "https://www.geneonline.com"
            }
        },
        {
            "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"
            }
        }
    ]
}

Categories