Flag of the 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": 7592,
    "articles": [
        {
            "title": "Creating Advanced Metasurfaces with Titanium Dioxide Layers",
            "description": "The study reveals a novel bilayer metasurface, enhancing light manipulation with titanium dioxide nanostructures for innovative optical device applications.",
            "content": "Researchers from the Harvard John A. Paulson School of Engineering and Applied Sciences (SEAS) are producing a bilayer metasurface composed of two stacked layers of titanium dioxide nanostructures.\nScanning electron microscope images of a free-standi... [4291 chars]",
            "url": "https://www.azooptics.com/News.aspx?newsID=30267",
            "image": "https://d36nqgmw98q4v5.cloudfront.net/images/news/ImageForNews_30267_17435896930921370.jpg",
            "publishedAt": "2025-04-02T18:55:00Z",
            "source": {
                "name": "AZoOptics",
                "url": "https://www.azooptics.com"
            }
        },
        {
            "title": "Fine diving: Tuna more reliant on 'deep-sea buffet' than first thought",
            "description": "Oceanographic Magazine",
            "content": "Proving there are few lengths they wouldn’t go to pick up a decent meal, ocean predators like tuna and swordfish have been found to take on some extreme dives to routinely dine on the delicacies found in an area of ocean known as the twilight zone.\nS... [2465 chars]",
            "url": "https://oceanographicmagazine.com/news/tuna-are-more-reliant-on-oceans-deep-sea-buffet-than-first-thought/",
            "image": "https://cdn.oceanographicmagazine.com/wp-content/uploads/2025/04/02194257/Kate-Estes-scaled.jpg",
            "publishedAt": "2025-04-02T18:54:34Z",
            "source": {
                "name": "Oceanographic Magazine",
                "url": "https://oceanographicmagazine.com"
            }
        },
        {
            "title": "Q&A: Webb finds asteroid 2024 YR4 is building-sized",
            "description": "NASA's James Webb Space Telescope recently turned its watchful eye toward asteroid 2024 YR4, which we now know poses no significant threat to Earth in 2032 and beyond.",
            "content": "This article has been reviewed according to Science X's editorial process and policies . Editors have highlighted the following attributes while ensuring the content's credibility:\nNASA’s James Webb Space Telescope recently captured these images of t... [4818 chars]",
            "url": "https://phys.org/news/2025-04-qa-webb-asteroid-yr4-sized.html",
            "image": "https://scx2.b-cdn.net/gfx/news/hires/2025/nasas-webb-finds-aster.jpg",
            "publishedAt": "2025-04-02T18:47:04Z",
            "source": {
                "name": "Phys.org",
                "url": "https://phys.org"
            }
        }
    ]
}

Categories