Flag of Namibia

Namibia News API

Get the live top headlines from Namibia with our JSON API.

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

GET
https://gnews.io/api/v4/top-headlines?country=na&category=general&apikey=API_KEY
{
    "totalArticles": 1671,
    "articles": [
        {
            "id": "3be6c3e907d4d45642338d88f9e9c4e7",
            "title": "Diet and exercise is the best way to manage diabetes, say doctors",
            "description": "Doctors emphasize that diet, exercise, and weight loss are key to managing and potentially remitting Type 2 diabetes.",
            "content": "Dietary adjustments, increased physical activity, and weight loss are the most effective ways to push Type 2 diabetes into remission, said senior consultant diabetologist K. Baraneedharan from Kauvery Hospital, Alwarpet, at The Hindu’s wellness webin... [1838 chars]",
            "url": "https://www.thehindu.com/news/cities/chennai/diet-and-exercise-is-the-best-way-to-manage-diabetes-say-doctors/article70276707.ece",
            "image": "https://th-i.thgim.com/public/news/cities/chennai/oomzd2/article70276703.ece/alternates/LANDSCAPE_1200/Kauveri%20Webinar%20November%202025_Logo%201.jpg",
            "publishedAt": "2025-11-14T00:15:00Z",
            "lang": "en",
            "source": {
                "id": "b186b851cfda2f4463224771573fadf2",
                "name": "The Hindu",
                "url": "https://www.thehindu.com"
            }
        },
        {
            "id": "e5402c4b1f1d0cdd073dcdb409627053",
            "title": "Higher Ultra-Processed Food Intake Linked to Increased Prediabetes Risk in Young Adults",
            "description": "New research shows that an increased consumption of ultra-processed foods significantly raises prediabetes risk in young adults, highlighting urgent dietary intervention needs.",
            "content": "Ultra-processed foods (UPF), such as fast food, sugary snacks, and packaged convenience items, make up more than half of the calories consumed in the US. Their health risks, such as increased rates of type 2 diabetes (T2D) and other chronic diseases,... [4459 chars]",
            "url": "https://www.pharmacytimes.com/view/higher-ultra-processed-food-intake-linked-to-increased-prediabetes-risk-in-young-adults",
            "image": "https://cdn.sanity.io/images/0vv8moc6/pharmacytimes/cc1e809f425fd263c87cfce3c5c335980d08413d-1000x560.jpg",
            "publishedAt": "2025-11-13T21:54:18Z",
            "lang": "en",
            "source": {
                "id": "3a4e8bd2a12cbc70d635a30cfc733690",
                "name": "Pharmacy Times",
                "url": "https://www.pharmacytimes.com"
            }
        },
        {
            "id": "1db2352c2d37e6ba8b1fe1dbf6c017d5",
            "title": "Tory Lanez denied appeal of Megan Thee Stallion shooting verdict",
            "description": "Rapper Tory Lanez will remain on the hook for shooting Megan Thee Stallion in the Hollywood Hills five years ago. A trio of California judges denied his appeal to overturn his guilty verdict.",
            "content": "Imprisoned rapper Tory Lanez has failed in his efforts to overturn his guilty verdict for shooting Megan Thee Stallion five years ago.\nA three-judge panel from the California 2nd District Court of Appeal ruled against 33-year-old Lanez (legal name Da... [1312 chars]",
            "url": "https://www.latimes.com/entertainment-arts/story/2025-11-13/tory-lanez-megan-thee-stallion-denied-appeal-verdict",
            "image": "https://ca-times.brightspotcdn.com/dims4/default/d307c98/2147483647/strip/true/crop/3006x1578+0+0/resize/1200x630!/quality/75/?url=https%3A%2F%2Fcalifornia-times-brightspot.s3.amazonaws.com%2F8f%2Ff4%2F82cbe0fcead091da760145acbd63%2Fd9c72b9523cd481d9d52c5dc77cdcd8c",
            "publishedAt": "2025-11-13T21:10:46Z",
            "lang": "en",
            "source": {
                "id": "6c4fa75a787f2ec713503abb3f822104",
                "name": "Los Angeles Times",
                "url": "https://www.latimes.com"
            }
        }
    ]
}

Categories