Data API

The solar observation data can be used by other pages and programs as JSON (default) or CSV (&format=csv). All requests are read-only and return published observations only.

RequestDescription
?q=latestLatest observation and its sunspot groups
?q=month&yil=2024&ay=5Daily observations of a month + monthly mean
?q=groups&yil=2024&ay=5All sunspot groups of a month (class, coordinates)
?q=daily&from=2025-01-01&to=2025-12-31Daily R, g, f for a date range
?q=monthly&from=2007Monthly mean and 13-month smoothed R
?q=schedule&yil=2026&ay=10Observer duty schedule
?q=drawings&yil=1955Links to the photosphere drawings of a year
?q=videosCoronado and H-alpha animations (one year with &yil=)
?q=halpha&yil=2026H-alpha frames (scaled for the sharpest look), per day, sharpest first (&son=1: newest day only)
?q=images&tarih=2026-10-21All images of a day: photosphere, H-alpha frames, animations
?q=observersObservers and their observation day counts (last_year: last 365 days)

Example (JavaScript)

fetch('/sun_new/api/index.php?q=latest')
  .then(r => r.json())
  .then(j => console.log(j.data.date, 'R =', j.data.r));