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": 6096,
    "articles": [
        {
            "title": "Birds adapt flight mechanics using lungs",
            "description": "Gainesville, Florida, soaring birds like ospreys, eagles, and vultures can glide effortlessly without flapping.",
            "content": "Gainesville, Florida, soaring birds like ospreys, eagles, and vultures can glide effortlessly without flapping. They ride on rising air currents, a marvel that has intrigued scientists for ages. As reported in Nature, led by University of Florida bio... [3682 chars]",
            "url": "https://www.techexplorist.com/birds-adapt-flight-mechanics-using-lungs/85125/",
            "image": "https://www.techexplorist.com/wp-content/uploads/2024/06/madeiran-chaffinch.jpg",
            "publishedAt": "2024-06-14T13:25:48Z",
            "source": {
                "name": "Tech Explorist",
                "url": "https://www.techexplorist.com"
            }
        },
        {
            "title": "Research reveals dark matter strikes Earth's atmosphere",
            "description": "A new theory proposes that radio waves detected in Earth's ionosphere could be the result of particles interacting with dark matter.",
            "content": "Scientists are exploring the possibility that our planet is being hit by waves of dark matter, the elusive substance believed to make up 27% of the universe. While direct observation of dark matter has eluded researchers, a new theory proposes that r... [3095 chars]",
            "url": "https://www.globalvillagespace.com/research-reveals-dark-matter-strikes-earths-atmosphere/",
            "image": "https://www.globalvillagespace.com/wp-content/uploads/2024/06/dark-matter.jpg",
            "publishedAt": "2024-06-14T10:21:08Z",
            "source": {
                "name": "Global Village space",
                "url": "https://www.globalvillagespace.com"
            }
        },
        {
            "title": "1,600-year-old Hun burial in Poland contains 2 boys, including one with a deformed skull",
            "description": "Archaeologists in Poland used DNA to identify a double burial that contained the skeletons of two boys who were unrelated.",
            "content": "Facial reconstructions of the two boys who were found buried at the excavation site.\nA 1,600-year-old double burial discovered by archaeologists in Poland is some of the earliest evidence of Huns in Europe and the oldest Hunnic burial in Poland, a ne... [3762 chars]",
            "url": "https://www.livescience.com/archaeology/1600-year-old-hun-burial-in-poland-contains-2-boys-including-one-with-a-deformed-skull",
            "image": "https://cdn.mos.cms.futurecdn.net/b85CPaUJAvSPYe2JwPubmM-1200-80.jpg",
            "publishedAt": "2024-06-12T16:42:55Z",
            "source": {
                "name": "Livescience.com",
                "url": "https://www.livescience.com"
            }
        }
    ]
}

Categories