Flag of Canada

Canada News API

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

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

GET
https://gnews.io/api/v4/top-headlines?country=ca&category=general&apikey=API_KEY
{
    "totalArticles": 442008,
    "articles": [
        {
            "id": "322ffce13203c85339d48aa831f5515c",
            "title": "Mieux comprendre et traiter la scoliose idiopathique adolescente grâce à la 3D",
            "description": "Une nouvelle classification 3D de la scoliose idiopathique adolescente permet de mieux saisir la déformation de la colonne vertébrale et d’améliorer la planification des traitements chirurgicaux.",
            "content": "Depuis plus de 20 ans, la classification de Lenke, fondée sur des radiographies en deux dimensions (2D), constitue l’étalon-or pour déterminer l’étendue de la chirurgie correctrice de la colonne vertébrale dans les cas de scolioses idiopathiques adol... [2693 chars]",
            "url": "https://nouvelles.umontreal.ca/article/2026/03/10/mieux-comprendre-et-traiter-la-scoliose-idiopathique-adolescente-grace-a-la-3d",
            "image": "https://nouvelles.umontreal.ca/public/nouvelles/_processed_/b/5/csm_20260310_scoliose-couv_2c4c5c8715.jpg",
            "publishedAt": "2026-03-10T21:01:42Z",
            "lang": "fr",
            "source": {
                "id": "777cb3f92d798a8666b43224ef6b9b5d",
                "name": "Université de Montréal",
                "url": "https://nouvelles.umontreal.ca"
            }
        },
        {
            "id": "0ef24c930b42a3cae53eca211a8a91e1",
            "title": "How Datadog Cut the Size of Its Agent Go Binaries by 77%",
            "description": "After the Datadog Agent grew from 428 MiB to 1.22 GiB over a period of 5 years, Datadog engineers set out to reduce its binary size. They discovered that most Go binary bloat comes from hidden depende",
            "content": "After the Datadog Agent grew from 428 MiB to 1.22 GiB over a period of 5 years, Datadog engineers set out to reduce its binary size. They discovered that most Go binary bloat comes from hidden dependencies, disabled linker optimizations, and subtle b... [3085 chars]",
            "url": "https://www.infoq.com/news/2026/03/datadog-go-binary-optimization/",
            "image": "https://res.infoq.com/news/2026/03/datadog-go-binary-optimization/en/headerimage/go-binary-size-reduction-1773175114910.jpeg",
            "publishedAt": "2026-03-10T21:01:27Z",
            "lang": "en",
            "source": {
                "id": "bed001bdd8e6488d6e2d8a3def18f0da",
                "name": "infoq.com",
                "url": "https://www.infoq.com"
            }
        },
        {
            "id": "b9eaedf4314f8483982d347d2c566cc5",
            "title": "Oil Prices Bounce As Iran Blockade Holds; S&P 500 Fades",
            "description": "Oil prices rose early on Iran's latest threat, but have pulled back sharply on war developments and supply news. The S&P 500 is climbing.",
            "content": "Information in Investor’s Business Daily is for informational and educational purposes only and should not be construed as an offer, recommendation, solicitation, or rating to buy or sell securities. The information has been obtained from sources we ... [1013 chars]",
            "url": "https://www.investors.com/news/oil-prices-90-barrel-iran-single-liter-threat-g7-sp-500/",
            "image": "https://www.investors.com/wp-content/uploads/2023/03/Stock-oil-tanker-05-adobe.jpg",
            "publishedAt": "2026-03-10T20:40:00Z",
            "lang": "en",
            "source": {
                "id": "b5fd7d235a4765231123b8f22bcf428a",
                "name": "Investor's Business Daily",
                "url": "https://www.investors.com"
            }
        }
    ]
}

Categories