Error message

  • Warning: preg_match(): Unknown modifier '2' in os_check() (line 252 of /var/www/custom/tools/tools.inc).
  • Warning: preg_match(): Unknown modifier 'T' in os_check() (line 252 of /var/www/custom/tools/tools.inc).
API Test
API namenasa
DescriptionNASA picture of the day
GET response
{"date":"2025-12-07","explanation":"It is still not known why the Sun's light is
missing some colors. Here are all the visible colors of the Sun, produced by p
assing the Sun's light through a prism-like device. The spectrum was created at
the McMath-Pierce Solar Observatory and shows, first off, that although our whi
te-appearing Sun emits light of nearly every color, it appears brightest in yell
ow-green light. The dark patches in the featured spectrum arise from gas at or
above the Sun's surface absorbing sunlight emitted below. Since different types
of gas absorb different colors of light, it is possible to determine what gasse
s compose the Sun. Helium, for example, was first discovered in 1868 on a solar
spectrum and only later found here on Earth. Today, the majority of spectral a
bsorption lines have been identified - but not all. Free APOD Lecture in Phoen
ix: Wednesday, December 10 at 7 pm","hdurl":"https:\/\/apod.nasa.gov\/apod\/imag
e\/2512\/sunspectrum_mpso_3071.jpg","media_type":"image","service_version":"v1",
"title":"The Sun and Its Missing Colors","url":"https:\/\/apod.nasa.gov\/apod\/i
mage\/2512\/sunspectrum_mpso_1080.jpg"}