Flag of Malaysia

Malaysia World News API

Get the live top world headlines from Malaysia with our JSON API.

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

GET
https://gnews.io/api/v4/top-headlines?country=my&category=world&apikey=API_KEY
{
    "totalArticles": 7638,
    "articles": [
        {
            "id": "1908fe8e2963fec17684e6a426f39868",
            "title": "Defiant Iran ramps up attacks after Trump warning",
            "description": "Iran launched fresh attacks across the Middle East on Monday and threatened \"devastating\" retaliation, after US President Donald Trump's expletive-laced warning that Tehran must reopen the Strait of H...",
            "content": "Iran launched fresh attacks across the Middle East on Monday and threatened \"devastating\" retaliation, after US President Donald Trump's expletive-laced warning that Tehran must reopen the Strait of Hormuz.\nIsrael, Kuwait and the United Arab Emirates... [5644 chars]",
            "url": "https://sg.news.yahoo.com/iran-us-race-crew-member-045233973.html",
            "image": "https://s.yimg.com/os/en/afp.com.sg/0a3253b4465149638e75aaad55545bc7",
            "publishedAt": "2026-04-06T03:50:00Z",
            "lang": "en",
            "source": {
                "id": "d0f7288d14ec8c674636416b7d8b268b",
                "name": "Yahoo News Singapore",
                "url": "https://sg.news.yahoo.com"
            }
        },
        {
            "id": "22c9be8cc13d0b19d2011d0994012e8f",
            "title": "Thailand swelters as temperatures soar past 42°C with haze",
            "description": "BANGKOK: Thailand is set to experience widespread hot to extremely hot conditions through April 11, with temperatures in some areas expected to exceed 42°C, according to the Thai Meteorological Department.",
            "content": "BANGKOK: Thailand is set to experience widespread hot to extremely hot conditions through April 11, with temperatures in some areas expected to exceed 42°C, according to the Thai Meteorological Department.\nThe department said upper Thailand will face... [2306 chars]",
            "url": "https://www.thestar.com.my/aseanplus/aseanplus-news/2026/04/06/thailand-swelters-as-temperatures-soar-past-42c-with-haze",
            "image": "https://apicms.thestar.com.my/uploads/images/2026/04/06/3845918.png",
            "publishedAt": "2026-04-06T02:15:00Z",
            "lang": "en",
            "source": {
                "id": "9e101ab52b61103bab415ad7fb0e5659",
                "name": "The Star",
                "url": "https://www.thestar.com.my"
            }
        },
        {
            "id": "7ea831d019b67b2f86a7c932c95f7acd",
            "title": "15 ships crossed Strait of Hormuz over past 24 hours after getting permission from Iran, says report",
            "description": "ISTANBUL: Fifteen ships transited the Strait of Hormuz over the past 24 hours after obtaining permission from Iran, Iranian media reported Sunday (April 5), Anadolu Ajansi reported.",
            "content": "ISTANBUL: Fifteen ships transited the Strait of Hormuz over the past 24 hours after obtaining permission from Iran, Iranian media reported Sunday (April 5), Anadolu Ajansi reported.\nThe semi-official Fars News Agency said the vessels were allowed to ... [669 chars]",
            "url": "https://www.thestar.com.my/news/world/2026/04/06/15-ships-crossed-strait-of-hormuz-over-past-24-hours-after-getting-permission-from-iran-says-report",
            "image": "https://apicms.thestar.com.my/uploads/images/2026/04/06/3845876.JPG",
            "publishedAt": "2026-04-06T01:04:00Z",
            "lang": "en",
            "source": {
                "id": "9e101ab52b61103bab415ad7fb0e5659",
                "name": "thestar.com.my",
                "url": "https://www.thestar.com.my"
            }
        }
    ]
}

Categories