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": 26334,
    "articles": [
        {
            "id": "e162b307f4c1e031d0f3dc6e30c11e52",
            "title": "The Sky Today on Monday, June 15: Mercury at greatest eastern elongation",
            "description": "Mercury lines up with Venus, Jupiter, and the Moon in the evening as the small planet also reaches greatest eastern elongation from the Sun.",
            "content": "Looking for a sky event this week? Check out our full Sky This Week column.\nJune 14: Irene nears opposition\nThis afternoon, Mercury reaches greatest eastern elongation at 4 P.M. EDT, standing 25° from the Sun. You’ll find the solar system’s smallest ... [1408 chars]",
            "url": "https://www.astronomy.com/observing/the-sky-today-monday-june-15-2026/",
            "image": "https://www.astronomy.com/wp-content/uploads/2026/06/Mercury-east-elong-06152026.png?resize=1200,630",
            "publishedAt": "2026-06-15T08:03:36Z",
            "lang": "en",
            "source": {
                "id": "a69c46820379fd6075b622dd9fbdedd1",
                "name": "Astronomy Magazine",
                "url": "https://www.astronomy.com"
            }
        },
        {
            "id": "74a107bbfcd839f4396d67b107342bd3",
            "title": "Tectonic movements are instrumental in rocky coastal erosion",
            "description": "Along the US West Coast, earthquakes and shifting tectonic plates must be factored into coastal erosion alongside wind and ocean currents.",
            "content": "The oceans and winds do not bear all of the blame for coastal erosion: tectonic movements also play a powerful role. Researchers analyzed decades of wave, tide and geological data from along the US West Coast and found that the slow rise and sudden f... [4725 chars]",
            "url": "https://www.advancedsciencenews.com/tectonic-movements-are-instrumental-in-rocky-coastal-erosion/",
            "image": "https://www.advancedsciencenews.com/wp-content/uploads/2026/06/coastline-CA-US-57770038-11909817-pexels-seth-kutty-1080x600-1.jpg",
            "publishedAt": "2026-06-15T05:03:03Z",
            "lang": "en",
            "source": {
                "id": "8fdfbda76193e2fa3b044678f8f38560",
                "name": "Advanced Science News",
                "url": "https://www.advancedsciencenews.com"
            }
        },
        {
            "id": "c1072e29d9e30f805394a689eee8b49b",
            "title": "Scientists reveal dying star could create 'whole new universe'",
            "description": "Scientists found a dying star could create a new universe instead of a black hole.A new theoretical study suggests that when a massive star collapses, it might not form a singularity hidden behind...",
            "content": "Scientists found a dying star could create a new universe instead of a black hole.\nA new theoretical study suggests that when a massive star collapses, it might not form a singularity hidden behind an event horizon.\nInstead, the collapse could trigge... [2054 chars]",
            "url": "https://www.thenews.com.pk/latest/1405944-scientists-reveal-dying-star-could-create-whole-new-universe",
            "image": "https://www.thenews.com.pk/assets/uploads/2026-06-15/1405944_014650_updates.jpg",
            "publishedAt": "2026-06-14T20:46:00Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        }
    ]
}

Categories