Brightest stars (overall or in a constellation)
API · /stars-api
Stars API
A catalogue of 9,000+ stars — every named star plus all naked-eye stars to magnitude 6.5 — from the HYG database. Look up a star by name, search and filter by constellation and brightness, list the brightest stars (overall or per constellation), and browse all 88 constellations. Each star includes its constellation, apparent and absolute magnitude, spectral class, distance in light-years and coordinates. Great for astronomy, education and stargazing apps.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 77 ms
- Server probes · 24h
- Subscribers
- 4,186
- active
- Total calls
- 110
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 2,500 calls / month
- 3 requests / second
- Hard cap (429 above quota, no overage)
- 2,500 calls/month
- 3 req/sec
- Lookup + search + brightest
- No credit card
Starter
€5.00 /month
- 50,000 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 50k calls/month
- 8 req/sec
- Constellation & magnitude filters
- Email support
Pro
€14.00 /month
- 300,000 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 300k calls/month
- 20 req/sec
- Stargazing / planetarium app
- Priority support
Mega
€36.00 /month
- 1,400,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 1.4M calls/month
- 40 req/sec
- Embed in product
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Constellations API
The 88 modern IAU constellations as an API — the reference an astronomy app, planetarium or education tool needs. For each constellation: its official IAU abbreviation, English name, the Latin genitive used when naming stars (e.g. "Alpha Andromedae"), a size rank, the approximate centre in equatorial coordinates (right ascension / declination) and the constellation name in roughly 25 languages. Look one up by abbreviation or name, search across every language, find which constellation a sky position falls nearest to, or list them all. Distinct from stars-api (individual stars) — this is the reference for the constellations themselves. Served from memory — always fast.
api.oanor.com/constellations-api
Meteorites API
NASA's catalogue of 45,000+ meteorites recovered on Earth as an API. For each meteorite: its name, NASA id, classification (recclass, e.g. L5, Iron), mass in grams, whether it was seen to fall or simply found, the year, and the latitude/longitude where it was recovered. Look one up by name or id, find the meteorites NEAR any coordinate (great-circle distance), rank by mass or year, list a classification or year, or search. Great for space, education, mapping and museum apps. Distinct from asteroids and close-approach data — these are rocks already on the ground.
api.oanor.com/meteorites-api
Observatory Codes API
The IAU Minor Planet Center list of observatory codes as an API — every site the MPC uses to identify a telescope when it publishes astrometric observations of asteroids and comets. For each of 2,700+ codes: the 3-character code, the observatory name, its east longitude and the parallax constants (rho·cos φ', rho·sin φ'). From those constants the API derives each site's geocentric latitude and a -180..180 longitude, so you can find the observatories nearest any point on Earth with a great-circle (haversine) search. Look one up by code, search by name, list them all, or find the closest sites to a latitude/longitude. Distinct from telescope-api (optics maths) — this is the registry of real observing sites and where they are. Served from memory — always fast.
api.oanor.com/observatories-api
Sundial API
Sundial gnomonics maths as an API, computed locally and deterministically — the hour-line, gnomon and longitude-correction numbers a dial maker, horologist or astronomy hobbyist lays a sundial out with. The hour-line-angle endpoint gives the angle of each hour line on the dial plate, measured from the noon line: for a horizontal dial tan(angle) = sin(latitude) × tan(hour angle), and for a vertical south-facing dial cos(latitude) is used instead, where the hour angle is 15° per hour from solar noon. At 50° latitude the 1-o'clock line sits about 11.6° from noon rather than 15° — the lines bunch near noon and spread toward the ends, which is exactly why a sundial's hours are unevenly spaced. The gnomon endpoint gives the style angle: the gnomon's shadow-casting edge must point at the celestial pole, so it rises at the latitude angle on a horizontal dial (50° at 50° N) and at 90° − latitude on a vertical dial — get this wrong and the dial keeps correct time at only one season. The longitude-correction endpoint converts the dial's local apparent time to clock time: 4 minutes of time per degree of longitude, correction = 4 × (reference meridian − local longitude), so a dial at 7.5° E on Central European Time reads 30 minutes slow versus the clock. Everything is computed locally and deterministically, so it is instant and private. Ideal for sundial-design and gnomonics tools, astronomy-education and maker apps, and horology calculators. Pure local computation — no key, no third-party service, instant. Add the equation of time for full clock accuracy. 3 compute endpoints. For the sun's position use a solar-position API; for sunrise and sunset a sunrise API.
api.oanor.com/sundial-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Stars API?
What's the rate limit for Stars API?
How much does Stars API cost?
Can I cancel my subscription anytime?
Is Stars API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/stars-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/stars-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/stars-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/stars-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.