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": 22796,
    "articles": [
        {
            "id": "e25d52bb5c323845f82a55ad71e592bc",
            "title": "While One Startup Dreams Big, Ot",
            "description": "breaking : Every now and then, a startup idea comes along that makes you pause—not because it’s simple, but because it sounds almost unreal. Selling s",
            "content": "Every now and then, a startup idea comes along that makes you pause—not because it’s simple, but because it sounds almost unreal. Selling sunlight at night? It feels like science fiction, yet someone has turned it into a business model. And that’s wh... [1490 chars]",
            "url": "https://www.indiaherald.com/Breaking/Read/994883705/Selling-Sunlight-at-Night-While-One-Startup-Dreams-Big-Others-Play-It-Safe",
            "image": "https://www.indiaherald.com/imagestore/images/breaking/134/selling-sunlight-at-night-while-one-startup-dreams-big-others-play-it-safefb5e41a0-3d57-4cf7-97a6-7a9c8b485bcd-415x250-IndiaHerald.jpg",
            "publishedAt": "2026-03-19T01:37:15Z",
            "lang": "en",
            "source": {
                "id": "15ff9fec19833aa52ee6c907a82c38a2",
                "name": "indiaherald.com",
                "url": "https://www.indiaherald.com"
            }
        },
        {
            "id": "a4e4a72083e422af97ef766cae426cf7",
            "title": "'At the edge of what we thought possible': Astronomers find extremely rare star from ancient universe",
            "description": "\"Cosmic archaeologists\" have discovered an iron-deficient second-generation star, which provides evidence of how ancient stars enriched their successors.",
            "content": "When you buy through links on our articles, Future and its syndication partners may earn a commission.\nScientists have adopted the role of \"cosmic archaeologists\" to discover a rare, iron-deficient second-generation star — essentially a fossil record... [4624 chars]",
            "url": "https://www.yahoo.com/news/articles/edge-thought-possible-astronomers-extremely-210000489.html",
            "image": "https://s.yimg.com/ny/api/res/1.2/mE85tb3wMC400dx.YAokSg--/YXBwaWQ9aGlnaGxhbmRlcjt3PTEyMDA7aD02NzU7Y2Y9d2VicA--/https://media.zenfs.com/en/space_311/5a91d49f83eb693d3536c6a94259faae",
            "publishedAt": "2026-03-18T21:00:00Z",
            "lang": "en",
            "source": {
                "id": "99e8a2cb4638bb798cf9167e5af5b83b",
                "name": "Yahoo",
                "url": "https://www.yahoo.com"
            }
        },
        {
            "id": "bac0a714083d6dffe97b2bed3637d6a2",
            "title": "Rare 'daytime fireball' meteor creates powerful sonic boom as 7-ton space rock explodes above eastern US",
            "description": "A fridge-size space rock spectacularly broke apart over Ohio at 40,000 mph, creating a loud boom and a \"fireball\" that shone in the bright blue daytime sky. The rare sight, which exploded with the equivalent force of 250 tons of TNT, was also seen from space.",
            "content": "An extremely rare \"daytime fireball\" meteor was recently spotted streaking across sunny blue skies over the eastern U.S. after a fridge-size space rock exploded and triggered a powerful sonic boom. The unusual event, which was also visible from space... [3023 chars]",
            "url": "https://www.livescience.com/space/meteoroids/rare-daytime-fireball-meteor-creates-powerful-sonic-boom-as-7-ton-space-rock-explodes-above-eastern-us",
            "image": "https://cdn.mos.cms.futurecdn.net/QvgEhXfPetCMnSwtdsrxCK-1600-80.jpg",
            "publishedAt": "2026-03-18T16:05:34Z",
            "lang": "en",
            "source": {
                "id": "95993cee63c947c63f6bfe9192834ef8",
                "name": "Live Science",
                "url": "https://www.livescience.com"
            }
        }
    ]
}

Categories