Switzerland News API

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

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

GET
https://gnews.io/api/v4/top-headlines?country=ch&category=general&apikey=API_KEY
{
    "totalArticles": 483520,
    "articles": [
        {
            "id": "913274c224670af8051ba367e1d36d2c",
            "title": "PhantomRPC: Neue Windows-Sicherheitslücke bleibt ungepatcht",
            "description": "Eine als PhantomRPC bezeichnete Schwachstelle in Windows RPC gefährdet alle Systeme, doch Microsoft stuft sie als Design-Entscheidung ein und plant keinen Patch.",
            "content": "Eine schwerwiegende Architekturschwachstelle im Windows Remote Procedure Call (RPC)-Framework gefährdet alle aktuellen Windows-Versionen – doch Microsoft stuft das Problem als „Design-Entscheidung“ ein.\nDer Sicherheitsforscher Haidar Kabibo von Kaspe... [6465 chars]",
            "url": "https://borncity.com/news/phantomrpc-neue-windows-sicherheitsluecke-bleibt-ungepatcht/",
            "image": "https://borncity-com.b-cdn.net/wp-content/uploads/2026/04/PhantomRPC-Neue-Windows-Sicherheitsluecke-bleibt-ungepatcht.webp",
            "publishedAt": "2026-04-27T22:58:02Z",
            "lang": "de",
            "source": {
                "id": "461a5a4694f9987de99fd5d65b8c2041",
                "name": "BornCity",
                "url": "https://borncity.com"
            }
        },
        {
            "id": "c94b25409ad02f5737cb8b72f0ff5501",
            "title": "\"On n’a pas le choix\": face à la LAT, Anniviers vote le déclassement de 87 hectares de terres constructibles",
            "description": "Réunis en assemblé primaire ce lundi soir à Zinal, les citoyens d’Anniviers ont accepté un nouveau plan d’affectation des zones qui doit permettre à la commune de respecter la loi sur l’aménagement du territoire. Les propriétaires y perdront 87 hectares de terrains à bâtir et beaucoup d’argent",
            "content": "A la fin de l’assemblée primaire extraordinaire de ce lundi, le président David Melly se décrit «soulagé». Pour le centriste, «c’était un exercice pénible, mais nous avions besoin d’un cadre clair pour pouvoir avancer». Réunis à Zinal, les citoyens d... [1429 chars]",
            "url": "https://www.letemps.ch/suisse/valais/on-n-a-pas-le-choix-face-a-la-lat-anniviers-vote-le-declassement-de-87-hectares-de-terres-constructibles",
            "image": "https://letemps-17455.kxcdn.com/photos/abb6d795-36b2-4454-94c1-6fedd14e00d9/medium",
            "publishedAt": "2026-04-27T22:37:30Z",
            "lang": "fr",
            "source": {
                "id": "683bdbce3b69fc036fcfebc15b34c439",
                "name": "Le Temps",
                "url": "https://www.letemps.ch"
            }
        },
        {
            "id": "4a8736831c1f404c709fc8f7dcc1ef4d",
            "title": "Microsoft: Großausfall bei Outlook und strategische Wende bei OpenAI",
            "description": "Microsoft kämpft mit Outlook-Störungen und löst Exklusivbindung zu OpenAI. Neue Update-Freiheiten und Sicherheitslücken prägen den Konzernalltag.",
            "content": "Ein schwerer Ausfall legte am Montag Outlook und Office 365 lahm – zeitgleich verkündete Microsoft eine grundlegende Neuausrichtung seiner Partnerschaft mit OpenAI.\nDie Störungen begannen in den frühen Morgenstunden des 27. April 2026. Nutzer weltwei... [7065 chars]",
            "url": "https://borncity.com/news/microsoft-grossausfall-bei-outlook-und-strategische-wende-bei-openai/",
            "image": "https://borncity-com.b-cdn.net/wp-content/uploads/2026/04/Microsoft-Grossausfall-bei-Outlook-und-strategische-Wende-bei-OpenAI.webp",
            "publishedAt": "2026-04-27T22:30:03Z",
            "lang": "de",
            "source": {
                "id": "461a5a4694f9987de99fd5d65b8c2041",
                "name": "BornCity",
                "url": "https://borncity.com"
            }
        }
    ]
}

Categories