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": 23150,
    "articles": [
        {
            "id": "13e86dcfb25e61d14028037c4f5bd189",
            "title": "Scientists find perfect fossils in rust beneath Australian farmland",
            "description": "Beneath the dry farmland of New South Wales lies a hidden window into a lost rainforest teeming with life from 11-16 million years ago. At McGraths Flat, scientists have uncovered fossils preserved in astonishing detail—not in typical rock like shale or sandstone, but in iron-rich sediment once thought incapable of such preservation. Tiny iron particles filled and captured entire cells, preserving everything from insect organs to fish eye pigments and delicate spider hairs.",
            "content": "Researchers from the Australian Museum Research Institute have uncovered an extraordinary collection of fossils here. Although the region is now dry and dusty, it was once a thriving rainforest. The fossils provide a detailed look at this ancient eco... [4466 chars]",
            "url": "http://www.sciencedaily.com/releases/2026/04/260423031536.htm",
            "image": "https://www.sciencedaily.com/images/1920/large-trapdoor-spider-mcgraths-flat-rust-fossil.webp",
            "publishedAt": "2026-04-24T11:42:08Z",
            "lang": "en",
            "source": {
                "id": "8400452cd3ae520c3deec87e0653d197",
                "name": "Science Daily",
                "url": "http://www.sciencedaily.com"
            }
        },
        {
            "id": "498e339ee0ab5f5ec9de375987ed00e8",
            "title": "NASA tool lets you spell your name with satellites",
            "description": "Since 1972, NASA and the US Geological Survey have been photographing every inch of Earth's land surface without interruption, the longest continuous space-based record of our planet ever...",
            "content": "Since 1972, NASA and the US Geological Survey have been photographing every inch of Earth's land surface without interruption, the longest continuous space-based record of our planet ever assembled.\nFor the very first time ever, anyone can engage wit... [1757 chars]",
            "url": "https://www.thenews.com.pk/latest/1400209-nasa-tool-lets-you-spell-your-name-with-satellites",
            "image": "https://www.thenews.com.pk/assets/uploads/2026-04-24/1400209_042139_updates.jpg",
            "publishedAt": "2026-04-24T11:16:19Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        },
        {
            "id": "5eac11ccb7f077007ad0a1ce727633f2",
            "title": "What you'll need to see May 2026's night sky",
            "description": "Our best product recommendations for May's double full moons, meteor shower and night sky events.",
            "content": "Although May hasn't quite got as much going on as the excitement of April, there's still a lot to look at in the night sky — if you have the right gear.\nWe're looking at the stargazing events for the month ahead to give you specific product recommend... [5453 chars]",
            "url": "https://www.livescience.com/products/optics/planning-to-stargaze-in-may-2026-heres-all-the-gear-youll-need",
            "image": "https://cdn.mos.cms.futurecdn.net/RpxmEHiFLGWESHkH39iVkb-2560-80.jpg",
            "publishedAt": "2026-04-24T11:00:00Z",
            "lang": "en",
            "source": {
                "id": "95993cee63c947c63f6bfe9192834ef8",
                "name": "Live Science",
                "url": "https://www.livescience.com"
            }
        }
    ]
}

Categories