
Canada News API
Get the live top headlines from Canada with our JSON API.
Get API key for the Canada News APIAPI 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 Canada.
GET
https://gnews.io/api/v4/top-headlines?country=ca&category=general&apikey=API_KEY
{ "totalArticles": 84130, "articles": [ { "title": "Europe pummels Americans on Day 1 at Ryder Cup", "description": "Europe had the stars, all the pivotal shots and a delirious home crowd pushing them to a record-tying lead Friday in the Ryder Cup, an opening day performance so dominant the Americans never won a match.", "content": "GUIDONIA MONTECELIO, Italy (AP) — Europe swept the opening session of the Ryder Cup for the first time in its history, a beating so thorough that none of the foursomes matches reached the 18th hole.\nAnd then somehow it got even worse for the American... [5736 chars]", "url": "https://www.tsn.ca/golf/europe-pummels-americans-on-day-1-at-ryder-cup-1.2014119", "image": "https://www.tsn.ca/content/dam/tsn/en/home/images/2023/9/29/jon-rahm-1-2014228-1696008976423.jpeg", "publishedAt": "2023-09-29T19:13:18Z", "source": { "name": "TSN", "url": "https://www.tsn.ca" } }, { "title": "Le ministère de la Défense sommé de couper près d’un milliard", "description": "Amputer le budget de la Défense nationale alors que la guerre en Ukraine fait toujours rage, et que le Canada s’est engagé (du bout des lèvres) à respecter la cible de dépenses de 2 % à l’OTAN ? C’est ce qui est dans les cartons, selon le chef d’état-major Wayne Eyre. Et c’est quelque chose qui fait hurler les partis d’opposition à Ottawa.", "content": "Le Canada s’est fait accuser dans un éditorial du Wall Street Journal d’être un « passager clandestin » de l’OTAN en raison de ses « pitoyables » investissements en défense.\n(Ottawa) Amputer le budget de la Défense nationale alors que la guerre en Uk... [4696 chars]", "url": "https://www.lapresse.ca/actualites/politique/2023-09-29/depenses-militaires/le-ministere-de-la-defense-somme-de-couper-pres-d-un-milliard.php", "image": "https://mobile-img.lpcdn.ca/v2/924x/r3996/8f821368/f77eddcf503638759da8a91512ef7891.jpg", "publishedAt": "2023-09-29T18:44:56Z", "source": { "name": "La Presse", "url": "https://www.lapresse.ca" } }, { "title": "New York City area pounded by storm, flooding", "description": "A potent rush-hour rainstorm swamped the New York metropolitan area on Friday, shutting down parts of the city's subway system, flooding streets and highways, and delaying flights into LaGuardia Airport.", "content": "NEW YORK -\nA potent rush-hour rainstorm swamped the New York metropolitan area on Friday, shutting down parts of the city's subway system, flooding streets and highways, and delaying flights into LaGuardia Airport.\nUp to 5 inches (13 centimetres) of ... [5356 chars]", "url": "https://www.ctvnews.ca/world/new-york-city-area-under-state-of-emergency-after-storms-flood-subways-strand-people-in-cars-1.6583027", "image": "https://www.ctvnews.ca/content/dam/ctvnews/en/images/2023/9/29/first-responders-wade-through-flood-waters-1-6583042-1696002968922.jpg", "publishedAt": "2023-09-29T17:40:15Z", "source": { "name": "CTV News", "url": "https://www.ctvnews.ca" } } ] }