Flag of Latvia

Latvia Science News API

Get the live top science headlines from Latvia with our JSON API.

Get API key for the Latvia 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 Latvia.

GET
https://gnews.io/api/v4/top-headlines?country=lv&category=science&apikey=API_KEY
{
    "totalArticles": 866,
    "articles": [
        {
            "id": "46947644dc6a93a241609551d4c9be11",
            "title": "Kad 2026. gadā notiks planētu parāde un kā tā mūs ietekmēs",
            "description": "Planētu parāde ir viens no iespaidīgākajiem astronomiskajiem notikumiem, kas 2026. gadā būs vērojams pat vairākas reizes. Šis fenomens notiek brīdī, kad vairāka",
            "content": "Planētu parāde ir viens no iespaidīgākajiem astronomiskajiem notikumiem, kas 2026. gadā būs vērojams pat vairākas reizes. Šis fenomens notiek brīdī, kad vairākas Saules sistēmas planētas no Zemes skatpunkta izvietojas nelielā debess sektorā, vizuāli ... [3958 chars]",
            "url": "https://www.reitingi.lv/lv/167883-kad-2026-gada-notiks-planetu-parade-un-ka-ta-mus-ietekmes.html",
            "image": "https://www.reitingi.lv/news/images/202601/2401210139_pexels-zelch-12491599.jpg",
            "publishedAt": "2026-01-24T20:30:15Z",
            "lang": "lv",
            "source": {
                "id": "988f79dc6a032a9f32dd9e79d924c643",
                "name": "Latvijas reitingi",
                "url": "https://www.reitingi.lv"
            }
        },
        {
            "id": "dfe0d1790c60b229954d9a5c8d1d0ce4",
            "title": "Scientists Astonished by Glimpse of Huge, Ancient Ocean on Mars",
            "description": "Researchers used satellite data to calculate and simulate the sea level in a canyon, getting a glimpse of a huge ocean.",
            "content": "Scientists have long suspected that Mars was once teeming with water, a tropical oasis with vast river systems that may have been able to support life billions of years ago.\nTo get a better picture of what such a lush ocean world could’ve looked like... [2826 chars]",
            "url": "https://futurism.com/space/glimpse-huge-ocean-mars",
            "image": "https://futurism.com/wp-content/uploads/2026/01/glimpse-huge-ocean-mars.jpg?quality=85&w=1200",
            "publishedAt": "2026-01-24T13:15:00Z",
            "lang": "en",
            "source": {
                "id": "bfcf3640a8a972f0d68e8dd134988385",
                "name": "Futurism",
                "url": "https://futurism.com"
            }
        },
        {
            "id": "9a05af52262f8c1c78d1444df96ba022",
            "title": "New AI-driven method enables precise design of highly efficient custom enzymes",
            "description": "Enzymes with specific functions are becoming increasingly important in industry, medicine and environmental protection.",
            "content": "Enzymes with specific functions are becoming increasingly important in industry, medicine and environmental protection. For example, they make it possible to synthesise chemicals in a more environmentally friendly way, produce active ingredients in a... [3516 chars]",
            "url": "https://www.news-medical.net/news/20260123/New-AI-driven-method-enables-precise-design-of-highly-efficient-custom-enzymes.aspx",
            "image": "https://www.news-medical.net/image-handler/picture/2014/7/134984011-620x480.jpg",
            "publishedAt": "2026-01-24T02:27:00Z",
            "lang": "en",
            "source": {
                "id": "f2ca7a45d20357cb42858868cb4a4946",
                "name": "News-Medical",
                "url": "https://www.news-medical.net"
            }
        }
    ]
}

Categories