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": 17496,
    "articles": [
        {
            "id": "5a8623015bddf0ede667ccb1c6f08d47",
            "title": "Quantum Calculations Reveal Ice’s Hidden Chemistry",
            "description": "New quantum calculations reveal how imperfections within ice’s structure change its absorption and emission of light, solving a decades-old puzzle. This research improves understanding of ice’s behavior at a sub-atomic level, with implications for predicting greenhouse gas release from thawing permafrost.",
            "content": "Researchers at the University of Chicago Pritzker School of Molecular Engineering (UChicago PME), in collaboration with the Abdus Salam International Centre for Theoretical Physics (ICTP), have utilized quantum mechanical simulations to reveal how st... [6796 chars]",
            "url": "https://quantumzeitgeist.com/quantum-calculations-ice-chemistry/",
            "image": "https://quantumzeitgeist.com/wp-content/uploads/ice_cube.jpg",
            "publishedAt": "2025-11-23T12:38:34Z",
            "lang": "en",
            "source": {
                "id": "57e0972312d283bae70e31e5b557783c",
                "name": "Quantum Zeitgeist",
                "url": "https://quantumzeitgeist.com"
            }
        },
        {
            "id": "6c6df0896343989335586ab1b707c14a",
            "title": "The Sky Today on Sunday, November 23: Spy the Silver Sliver",
            "description": "The Silver Sliver Galaxy is a lovely sight in Andromeda the Princess. View this edge-on spiral in a dark sky with no Moon later tonight.",
            "content": "Looking for a sky event this week? Check out our full Sky This Week column.\nNovember 22: Titan transits Saturn\nAndromeda the Princess is high in the evening sky after dark. Best known for the eponymous Andromeda Galaxy (M31), there is so much more to... [2008 chars]",
            "url": "https://www.astronomy.com/observing/the-sky-today-sunday-november-23-2025/",
            "image": "https://www.astronomy.com/wp-content/uploads/2025/11/Silver-Sliver.jpg",
            "publishedAt": "2025-11-23T09:01:08Z",
            "lang": "en",
            "source": {
                "id": "a69c46820379fd6075b622dd9fbdedd1",
                "name": "Astronomy Magazine",
                "url": "https://www.astronomy.com"
            }
        },
        {
            "id": "155bf5280507d71d7aa83172320202f7",
            "title": "BoxCell: Leveraging SAM for Cell Segmentation with Box Supervision",
            "description": "Cell segmentation in histopathological images is vital for diagnosis, and treatment of several diseases. Annotating data is tedious, and requires medical expertise, making it difficult to employ supervised learning. Instead, we study a weakly supervised setting, where only bounding box supervision is available, and present the use of Segment Anything (SAM) for this without any finetuning, i.e., directly utilizing the pre-trained model. We propose BoxCell, a cell segmentation framework that utilizes SAM’s capability to interpret bounding boxes as prompts, both at train and test times. At train time, gold bounding boxes given to SAM produce (pseudo-)masks, which are used to train a standalone segmenter. At test time, BoxCell generates two segmentation masks: (1) generated by this standalone segmenter, and (2) a trained object detector outputs bounding boxes, which are given as prompts to SAM to produce another mask. Recognizing complementary strengths, we reconcile the two segmentation masks using a novel integer programming formulation with intensity and spatial constraints. We experiment on three publicly available cell segmentation datasets namely, CoNSep, MoNuSeg, and TNBC, and find that BoxCell significantly outperforms existing box supervised image segmentation models, obtaining 6-10 point Dice gains.",
            "content": "Lu, C. et al. Nuclear shape and orientation features from h &e images predict survival in early-stage estrogen receptor-positive breast cancers. Lab. Invest. 98, 1438–1448 (2018).\nWählby, C., Sintorn, I.-M., Erlandsson, F., Borgefors, G. & Bengtsson,... [8187 chars]",
            "url": "https://www.nature.com/articles/s41598-025-26789-1?error=cookies_not_supported&code=820f9841-47f1-4f9c-ad6d-043149a7de98",
            "image": "https://www.nature.com/static/images/favicons/nature/favicon-48x48-b52890008c.png",
            "publishedAt": "2025-11-22T20:33:27Z",
            "lang": "en",
            "source": {
                "id": "7abf0df285fbe93cdccffcc7c4088737",
                "name": "Nature",
                "url": "https://www.nature.com"
            }
        }
    ]
}

Categories