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": 5857,
    "articles": [
        {
            "title": "What's the largest waterfall in the world?",
            "description": "If your mind has gone straight to the thundering waters cascading down Venezuela's Angel Falls, think again.",
            "content": "Angel Falls in Venezuela may be the tallest waterfall on land, but it's not the tallest in the world.\nEven our tallest buildings can't rival the staggering size of the world's most iconic waterfalls, which include Niagara Falls on the U.S. border to ... [6479 chars]",
            "url": "https://www.livescience.com/planet-earth/whats-the-largest-waterfall-in-the-world",
            "image": "https://cdn.mos.cms.futurecdn.net/QE8BCRyjpDZE6ct7cvZkn6-1200-80.jpg",
            "publishedAt": "2024-04-20T09:00:00Z",
            "source": {
                "name": "Livescience.com",
                "url": "https://www.livescience.com"
            }
        },
        {
            "title": "NASA Announces Diverse Missions For Airborne Studies",
            "description": "NASA has unveiled its latest endeavor in Earth science exploration with the selection of six new airborne missions.",
            "content": "NASA has unveiled its latest endeavor in Earth science exploration with the selection of six new airborne missions.\nNASA has unveiled its latest endeavor in Earth science exploration with the selection of six new airborne missions. These missions enc... [3702 chars]",
            "url": "https://technologytimes.pk/2024/04/20/nasa-selects-airborne-missions-to-probe-fires-glaciers-and-more/",
            "image": "https://technologytimes.pk/wp-content/uploads/2024/04/NASA-Selects-Airborne-Missions-to-Probe-Fires-Glaciers-and-More.webp",
            "publishedAt": "2024-04-20T01:35:49Z",
            "source": {
                "name": "Technology Times Pakistan",
                "url": "https://technologytimes.pk"
            }
        },
        {
            "title": "Scientists develop novel aggregation-induced emission carbon dots for bioimaging",
            "description": "Novel aggregation-induced emission carbon dots show great promise for a variety of imaging and biological sensing applications.",
            "content": "Scientists develop novel aggregation-induced emission carbon dots for bioimaging (Nanowerk News) Carbon dots (CDs) are an intriguing class of nanomaterials that have attracted a great deal of attention in recent years. These carbon-based materials po... [1918 chars]",
            "url": "https://www.nanowerk.com/nanotechnology-news3/newsid=65063.php",
            "image": "https://www.nanowerk.com/nanotechnology-news3/id65063.jpg",
            "publishedAt": "2024-04-19T18:03:19Z",
            "source": {
                "name": "Nanowerk",
                "url": "https://www.nanowerk.com"
            }
        }
    ]
}

Categories