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": 22338,
    "articles": [
        {
            "id": "baee417747130ebf1e2ce731fbd8f1e0",
            "title": "Most comprehensive view to date of Jupiter's upper atmosphere",
            "description": "Scientists have obtained the most comprehensive view to date of Jupiter's upper atmosphere and its mysteries.",
            "content": "Researchers have revealed that Jupiter’s upper atmosphere maintains a stable, planet-wide structure that has persisted over multiple years.\nThat finding replaces decades of apparent variability with a fixed pattern shaped by enduring physical forces.... [5166 chars]",
            "url": "https://www.earth.com/news/scientists-have-most-comprehensive-view-to-date-of-jupiters-upper-atmosphere/",
            "image": "https://cff2.earth.com/uploads/2026/04/04144140/jupiters-upper-atmosphere_juno-mission_nasa_1m.jpg",
            "publishedAt": "2026-04-04T22:52:12Z",
            "lang": "en",
            "source": {
                "id": "fca72a05020e12df547eedb79c870663",
                "name": "earth.com",
                "url": "https://www.earth.com"
            }
        },
        {
            "id": "c83f0cad7c3347a7a9415043ab4de579",
            "title": "Why the Animas de la Victoria sank off the coast of Mexico",
            "description": "New evidence reveals why an 18th-century ship sank off Mexico’s Caribbean coast, uncovering a possible smuggling route",
            "content": "Researchers have learned that the Animas de la Victoria shipwreck, an 18th-century wreck site off Mexico’s Caribbean coast, records a vessel sailing far outside known Spanish routes along that shoreline.\nThat conclusion reframes the wreck from an iso... [5166 chars]",
            "url": "https://www.earth.com/news/animas-de-la-victoria-18th-century-spanish-ship-wrecked-mexicos-caribbean-coastline/",
            "image": "https://cff2.earth.com/uploads/2026/04/04151315/spanish-shipwreck_Animas-de-la-Victoria_anchor_Springer-Nature_1m.jpg",
            "publishedAt": "2026-04-04T22:52:12Z",
            "lang": "en",
            "source": {
                "id": "fca72a05020e12df547eedb79c870663",
                "name": "earth.com",
                "url": "https://www.earth.com"
            }
        },
        {
            "id": "5d2ee6bfd90e348120088fb1356dbd4a",
            "title": "New study investigates phenomenon surpassing the speed of light",
            "description": "A surprising result has been uncovered: darkness can technically outpace light under specific conditions. While Einstein’s theory states that information cannot travel faster than light,...",
            "content": "A surprising result has been uncovered: darkness can technically outpace light under specific conditions. While Einstein’s theory states that information cannot travel faster than light, massless phenomena that carry no information, such as darkness,... [1524 chars]",
            "url": "https://www.thenews.com.pk/latest/1397749-new-study-investigates-phenomenon-surpassing-the-speed-of-light",
            "image": "https://www.thenews.com.pk/assets/uploads/2026-04-04/1397749_042028_updates.jpg",
            "publishedAt": "2026-04-04T11:20:00Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        }
    ]
}

Categories