Singapore News API
Get the live top headlines from Singapore with our JSON API.
Get API key for the Singapore 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 Singapore.
GET
https://gnews.io/api/v4/top-headlines?country=sg&category=general&apikey=API_KEY
{ "totalArticles": 30969, "articles": [ { "title": "Police release photos showing face of suspect in killing of insurance CEO in New York", "description": "Investigators have not established a motive for the killing. Read more at straitstimes.com.", "content": "NEW YORK – Authorities have released two images they said showed the face of the man they believe fatally shot the chief executive of one of the largest health insurers in the country. Investigators seemed closer to identifying the gunman on Dec 5, a... [1813 chars]", "url": "https://www.straitstimes.com/world/united-states/police-release-photos-showing-face-of-suspect-in-killing-of-insurance-ceo", "image": "https://static1.straitstimes.com.sg/s3fs-public/styles/large30x20/public/articles/2024/12/06/aigun61224.jpg?VersionId=qU1gQu9PKulKMF75pfrxgOjNqLWU2Ci0", "publishedAt": "2024-12-05T22:58:00Z", "source": { "name": "The Straits Times", "url": "https://www.straitstimes.com" } }, { "title": "7-magnitude earthquake strikes off California, tsunami warning cancelled", "description": "No deaths or injuries were reported. Read more at straitstimes.com.", "content": "SAN FRANCISCO - A large 7-magnitude earthquake struck off a sparsely populated stretch of northern California coast on Dec 5, prompting coastal towns to evacuate low-lying areas amid a tsunami warning that was later cancelled.\nNo deaths or injuries w... [1859 chars]", "url": "https://www.straitstimes.com/world/united-states/tsunami-warning-after-7-0-earthquake-off-california-coast", "image": "https://static1.straitstimes.com.sg/s3fs-public/styles/large30x20/public/articles/2024/12/06/californiaearthquake06.jpg?VersionId=C_7jwamouXpjSqGKGkiM0fmY30iKFM3c", "publishedAt": "2024-12-05T19:28:35Z", "source": { "name": "The Straits Times", "url": "https://www.straitstimes.com" } }, { "title": "Malaysia’s inquiry into Pedra Branca issue recommends ex-PM Mahathir be probed for cheating", "description": "The royal panel also says Malaysia can still request interpretation of the 2008 ICJ ruling. Read more at straitstimes.com.", "content": "KUALA LUMPUR – Malaysia’s probe into how the government handled the review of an international court’s ruling on three islets, including Pedra Branca, has recommended “criminal investigations” for cheating against former premier Mahathir Mohamad.\nThe... [5515 chars]", "url": "https://www.straitstimes.com/asia/se-asia/malaysias-inquiry-into-pedra-branca-issue-says-ex-pm-mahathir-should-be-probed-for-cheating", "image": "https://static1.straitstimes.com.sg/s3fs-public/styles/large30x20/public/articles/2024/12/05/IMGfile7u4gf3s0lp4yzekm11SO8C57U.jpg?VersionId=AVSmMsJi4BkYKaD4axf4_iQb3n9OKiCJ", "publishedAt": "2024-12-05T12:40:00Z", "source": { "name": "The Straits Times", "url": "https://www.straitstimes.com" } } ] }