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": 9,
    "articles": [
        {
            "id": "ddb8982f19bfc631cf16c16662524eab",
            "title": "Neiedomājami tuvu: Saules spožumā paslēpies debesu ķermenis satrauc astronomus",
            "description": "Jaunatklāts asteroīds 2025 SC79, kas slēpies Saules spožumā, pievērš uzmanību potenciālajiem draudiem no mums vistuvākajiem debesu ķermeņiem.",
            "content": "Neskatoties uz brīžiem satraucošajiem nosaukumiem, kas parādās medijos, tieši šobrīd Zemei nav apdraudējuma no konkrētā asteroīda, kas nesen atklāts, slēpjoties Saules spožumā. Tomēr šis atklājums uzsver, cik svarīgi ir nepārtraukti monitorēt debesis... [3750 chars]",
            "url": "https://lente.lv/zinatne/raksts/neiedomajami-tuvu-saules-spozuma-paslepies-debesu-kermenis-satrauc-astronomus-60516.html?@=komentari",
            "image": "https://lente-images.s3.eu-north-1.amazonaws.com/thumbnails/post_image/Neiedomajami-tuvu-Saules-spozuma-paslepies-debesu-kermenis-satrauc-astronomus.webp",
            "publishedAt": "2025-10-22T21:16:23Z",
            "lang": "lv",
            "source": {
                "id": "fc573848aa52ef47e6974479271e9b35",
                "name": "Lente.lv",
                "url": "https://lente.lv"
            }
        },
        {
            "id": "28202114fc0d9d53640644184d83baba",
            "title": "Rice planetary scientists link Jupiter’s birth to Earth’s formation zone",
            "description": "New research from Rice suggests that the giant planet Jupiter reshaped the early solar system in dramatic ways, carving out rings and gaps that ultimately explain one of the longest-standing puzzles in planetary science: why many primitive meteorites formed millions of years after the first solid bodies.",
            "content": "New research from Rice University suggests that the giant planet Jupiter reshaped the early solar system in dramatic ways, carving out rings and gaps that ultimately explain one of the longest-standing puzzles in planetary science: why many primitive... [3909 chars]",
            "url": "https://news.rice.edu/news/2025/rice-planetary-scientists-link-jupiters-birth-earths-formation-zone",
            "image": "https://news.rice.edu/sites/g/files/bxs2656/files/2025-10/featured_jupiter-marble-pia22946-1920x640-1_copy.jpg",
            "publishedAt": "2025-10-22T18:23:27Z",
            "lang": "en",
            "source": {
                "id": "5f8762d5895080e9d9fe9c2c0e72f11e",
                "name": "Rice University",
                "url": "https://news.rice.edu"
            }
        },
        {
            "id": "f9e0cfcd2f3892724148247349bd5a6e",
            "title": "Scientists discover neural coding mechanism underlying odor-guided foraging decisions in mice",
            "description": "What neural and behavioral mechanisms allow mice to identify food sources, navigate toward them, and initiate consumption? A research team led by Prof. Zhang Yunfeng from the Institute of Zoology of the Chinese Academy of Sciences has uncovered the neural encoding mechanisms that enable mice to use their olfactory system to assess prey nutritional status and make precise foraging decisions at the molecular, cellular, and neural circuit levels.",
            "content": "What neural and behavioral mechanisms allow mice to identify food sources, navigate toward them, and initiate consumption? A research team led by Prof. Zhang Yunfeng from the Institute of Zoology of the Chinese Academy of Sciences has uncovered the n... [2284 chars]",
            "url": "https://phys.org/news/2025-10-scientists-neural-coding-mechanism-underlying.html",
            "image": "https://scx2.b-cdn.net/gfx/news/hires/2025/scientists-discover-ne-27.jpg",
            "publishedAt": "2025-10-22T17:45:29Z",
            "lang": "en",
            "source": {
                "id": "6063be7565dcd637bb5d2946ed6c5329",
                "name": "Phys.org",
                "url": "https://phys.org"
            }
        }
    ]
}

Categories