Flag of Pakistan

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": 19538,
    "articles": [
        {
            "id": "83d978f1d9c70e5b255349db9b2e368e",
            "title": "Nepal's First Online News Portal",
            "description": "WASHINGTON DC: The scientists have discovered that the adolescent brain does more than prune old connections. During the teen years, it actively builds dense new clusters of synapses in specific parts of neurons. These clusters emerge only in adolescence and may help shape higher-level thinking. When the process is disrupted, it could play a role […]",
            "content": "WASHINGTON DC: The scientists have discovered that the adolescent brain does more than prune old connections. During the teen years, it actively builds dense new clusters of synapses in specific parts of neurons.\nThese clusters emerge only in adolesc... [5364 chars]",
            "url": "https://english.nepalnews.com/s/health/scientists-find-hidden-synapse-hotspots-in-the-teen-brain-study/",
            "image": "https://english.nepalnews.com/wp-content/uploads/2025/09/research-1.jpg",
            "publishedAt": "2026-01-18T14:56:29Z",
            "lang": "en",
            "source": {
                "id": "8a1b5f5c4bf10344c468c3dbfad9e3ad",
                "name": "Nepalnews.com",
                "url": "https://english.nepalnews.com"
            }
        },
        {
            "id": "01dad9c7deb9225150789d7e9d440639",
            "title": "Viruses Behave Totally Differently in Space and It Could Help Us Treat Superbugs on Earth",
            "description": "Bacteria and viruses are locked in a slow motion battle aboard the ISS that looks nothing like life on the ground.",
            "content": "Bacteriophages — viruses that prey on bacteria — are nature’s tiniest predators. On Earth, their lives are shaped by an ordinary physics engine we rarely think about: gravity-driven mixing. Liquids circulate, nutrients move, microbes bump into one an... [3547 chars]",
            "url": "https://www.zmescience.com/science/news-science/viruses-behave-totally-differently-in-space-and-it-could-help-us-treat-superbugs-on-earth/",
            "image": "https://cdn.zmescience.com/wp-content/uploads/2026/01/ISS-scaled.jpg",
            "publishedAt": "2026-01-18T14:01:28Z",
            "lang": "en",
            "source": {
                "id": "7467b24e4cb225d2d28c3119640a3232",
                "name": "ZME Science",
                "url": "https://www.zmescience.com"
            }
        },
        {
            "id": "d8830b2ef077a3b18a68227cbba4e1a1",
            "title": "What is below Earth, since space is present in every direction?",
            "description": "A professor from the University of Tennessee explains the plane of the ecliptic and how space expands in our solar system from Earth to beyond.",
            "content": "This article was originally published at The Conversation. The publication contributed the article to Space.com's Expert Voices: Op-Ed & Insights.\nIf you've seen illustrations or models of the solar system, maybe you noticed that all the planets orbi... [4997 chars]",
            "url": "https://www.space.com/astronomy/what-is-below-earth-since-space-is-present-in-every-direction",
            "image": "https://cdn.mos.cms.futurecdn.net/UJwHjMcfZ9YW7kp5a9gTYi-1920-80.jpg",
            "publishedAt": "2026-01-18T14:00:00Z",
            "lang": "en",
            "source": {
                "id": "024dd4370bda9e6e6791231c2a935d20",
                "name": "Space",
                "url": "https://www.space.com"
            }
        }
    ]
}

Categories