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": 23188,
    "articles": [
        {
            "id": "a33523fc67d2e03053ab511fcaea1237",
            "title": "May's first full moon is almost here. When to look up",
            "description": "May's first full moon is happening on the first day of the month. Here's what to know.",
            "content": "The Flower Moon will light up the night sky on the first day of May, which marks the midpoint between summer and spring.\nMay's full moon, known as the Flower Moon, will peak on Friday, May 1.\nThe Flower Moon was given that name because it falls in th... [2441 chars]",
            "url": "https://www.usatoday.com/story/news/world/2026/04/24/may-full-moon-2026-flower-moon/89748710007/",
            "image": "https://www.usatoday.com/gcdn/authoring/authoring-images/2026/04/23/USAT/89754326007-20250513-t-063507-z-1991827329-rc-2-igeasz-0-gb-rtrmadp-3-maltamoon.JPG?crop=5418,3048,x0,y301&width=3200&height=1801&format=pjpg&auto=webp",
            "publishedAt": "2026-04-24T17:40:25Z",
            "lang": "en",
            "source": {
                "id": "8eec8fc7a9ec8be488bc7411d0801c60",
                "name": "USA Today",
                "url": "https://www.usatoday.com"
            }
        },
        {
            "id": "be3371c6c3951d7201cd70e8c9676033",
            "title": "The wide-brimmed Sombrero galaxy is revealed in all its splendor by a telescope in Chile",
            "description": "The Sombrero galaxy and its glowing halo of stars have never looked this good. The latest photo of the popular hat-shaped galaxy was released on Friday. A telescope in Chile observed the popular...",
            "content": "CAPE CANAVERAL, Fla. (AP) — The Sombrero galaxy and its glowing halo of stars have never looked this good.\nThe U.S. National Science Foundation’s NOIRLab released the latest photo of the popular hat-shaped galaxy on Friday. A telescope in Chile obser... [820 chars]",
            "url": "https://www.manisteenews.com/news/article/the-wide-brimmed-sombrero-galaxy-is-revealed-in-22224399.php",
            "image": "https://s.hdnux.com/photos/01/66/04/51/30952045/3/rawImage.jpg",
            "publishedAt": "2026-04-24T17:17:58Z",
            "lang": "en",
            "source": {
                "id": "6aa5456b09e20b2d3ab7c4f3c0cdd24f",
                "name": "Manistee News Advocate",
                "url": "https://www.manisteenews.com"
            }
        },
        {
            "id": "85a3cc64b6e700a8225348d9c9507727",
            "title": "WATCH: iPhone Video of Earthset Taken by Artemis II Astronaut",
            "description": "Reid Wiseman, who commanded the Artemis II mission, posted an iPhone video of the Earth disappearing behind the moon.",
            "content": "The view of a distant Earth disappearing behind a huge moon is a view few humans have ever witnessed in person, but Reid Wiseman, who commanded the Artemis II mission, posted a video of the view on X.\nEarthset From Artemis II Mission\n“Like watching s... [1698 chars]",
            "url": "https://www.tomorrowsworldtoday.com/space/watch-iphone-video-of-earthset-taken-by-artemis-ii-astronaut/",
            "image": "https://www.tomorrowsworldtoday.com/wp-content/uploads/2026/04/earth-dips-behind-the-moon-photo-nasa.png",
            "publishedAt": "2026-04-24T15:00:50Z",
            "lang": "en",
            "source": {
                "id": "f0a3c8cac99777514f47d1c5bf8bac81",
                "name": "Tomorrow's World Today",
                "url": "https://www.tomorrowsworldtoday.com"
            }
        }
    ]
}

Categories