Singapore Science News API
Get the live top science headlines from Singapore with our JSON API.
Get API key for the Singapore Science 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=science&apikey=API_KEY
{ "totalArticles": 4495, "articles": [ { "title": "Earth's Shadow Nicks the Moon During This Week's Partial Lunar Eclipse", "description": "The Moon just brushes the umbral shadow of the Earth during Tuesday night's partial lunar eclipse.", "content": "The Moon just brushes the umbral shadow of the Earth during Tuesday night’s partial lunar eclipse.\nA shallow partial lunar eclipse is on tap for the night of September 17th/18th. The eclipse is a slight one to be sure, but will be noticeable as the n... [4858 chars]", "url": "https://www.universetoday.com/168329/earths-shadow-nicks-the-moon-during-this-weeks-partial-lunar-eclipse/", "image": "https://www.universetoday.com/wp-content/uploads/2024/09/53311344751_dd442624d5_c.jpg", "publishedAt": "2024-09-16T14:46:02Z", "source": { "name": "Universe Today", "url": "https://www.universetoday.com" } }, { "title": "Earth is set to get a 'mini-moon' for 56 days. What is this rare celestial event?", "description": "'Mini-moons' are asteroids that fail to escape Earth’s gravity and end up orbiting the planet for a time. The 33-foot asteroid 2024 PT5 will revolve in Earth's orbit beginning this month. However, it will be too faint for the naked eye or most amateur telescopes to notice", "content": "‘Mini-moons’ are asteroids that fail to escape Earth’s gravity and end up orbiting the planet for a time. The 33-foot asteroid 2024 PT5 will revolve in Earth’s orbit beginning this month. However, it will be too faint for the naked eye or most amateu... [4266 chars]", "url": "https://www.firstpost.com/explainers/earth-is-set-to-get-a-mini-moon-for-56-days-what-is-this-rare-celestial-event-13815804.html", "image": "https://images.firstpost.com/uploads/2024/09/moon-image-for-rep-2024-09-ddc6cac718252be32cca7ab10d884366.jpg?im=FitAndFill=(1200,675)", "publishedAt": "2024-09-16T12:00:35Z", "source": { "name": "Firstpost", "url": "https://www.firstpost.com" } }, { "title": "30 Years Ago, NASA Tested This Bizarre Safety Backpack To Keep Astronauts From Getting Lost In Space", "description": "This NASA photo shows astronaut Mark C. Lee testing out the SAFER space rescue system.", "content": "30 years ago today, a NASA astronaut tested a backpack designed to save someone floating through space uncontrollably.\nSpacewalking is beautiful, yet risky. When an astronaut steps outside the confines of their spacecraft, no barrier limits their wei... [2126 chars]", "url": "https://www.inverse.com/science/astronaut-spacewalk-safety-test-30th-anniversary-photo", "image": "https://imgix.bustle.com/uploads/image/2024/9/12/f8b03bd0/safer-space-image.jpg?w=1200&h=630&fit=crop&crop=faces&fm=jpg", "publishedAt": "2024-09-16T11:00:25Z", "source": { "name": "Inverse", "url": "https://www.inverse.com" } } ] }