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": 7040,
    "articles": [
        {
            "title": "Giant horned dinosaur's fossils were destroyed in WWII - but photos reveal it was an unknown species",
            "description": "Scientists have unveiled a giant horned dinosaur from Egypt called Tameryraptor markgrafi after discovering lost photos of fossils destroyed in WWII.",
            "content": "Researchers have identified a giant new dinosaur species after uncovering lost photos of fossils destroyed in World War II.\nThe newly named species, Tameryraptor markgrafi, or \"thief from the beloved land,\" roamed Egypt 95 million years ago, and at 3... [3280 chars]",
            "url": "https://www.livescience.com/animals/dinosaurs/giant-horned-dinosaurs-fossils-were-destroyed-in-wwii-but-photos-reveal-it-was-an-unknown-species",
            "image": "https://cdn.mos.cms.futurecdn.net/B7HfkDCXb4U74VavuqefCY-1200-80.jpg",
            "publishedAt": "2025-01-16T19:09:11Z",
            "source": {
                "name": "Livescience.com",
                "url": "https://www.livescience.com"
            }
        },
        {
            "title": "High-Contrast Imaging: Hide and Seek with Exoplanets",
            "description": "Welcome to the Astrobiology Web",
            "content": "First image of the AO prototype ‘COME–ON’ system taken at 1.52 m telescope of the Observatoire de Haute Provence. γ2 And (a binary star with a 0.5′′ separation) was observed in K band [50]. — astro-ph.IM\nSo far, most of the about 5,700 exoplanets hav... [2261 chars]",
            "url": "https://astrobiology.com/2025/01/high-contrast-imaging-hide-and-seek-with-exoplanets.html",
            "image": "https://astrobiology.com/wp-content/uploads/2025/01/High-Contrast-Imaging.png",
            "publishedAt": "2025-01-16T17:51:37Z",
            "source": {
                "name": "Astrobiology News",
                "url": "https://astrobiology.com"
            }
        },
        {
            "title": "Astronomers solve Sulfur mystery with Ammonium Hydrosulfide salt",
            "description": "Sulfur can bind with ammonium under icy cosmic conditions and form a salt that sticks to dust and pebbles.",
            "content": "For the past 20 years, scientists have been puzzled by two mysteries: first, there’s less sulfur in dense clouds and star-forming regions than in the spaces between stars, making it seem like sulfur is disappearing; and second, an unexplained peak ap... [2323 chars]",
            "url": "https://www.techexplorist.com/sulfur-mystery-ammonium-hydrosulfide-salt/96146/",
            "image": "https://www.techexplorist.com/wp-content/uploads/2025/01/star-forming-region.jpg",
            "publishedAt": "2025-01-16T12:41:30Z",
            "source": {
                "name": "Tech Explorist",
                "url": "https://www.techexplorist.com"
            }
        }
    ]
}

Categories