Data Sources
NASA Exoplanet Archive
Section titled “NASA Exoplanet Archive”The primary source for confirmed exoplanet data.
| Property | Value |
|---|---|
| URL | https://exoplanetarchive.ipac.caltech.edu |
| Protocol | REST |
| Auth | None |
| CORS | No (fetched at build time) |
| Size | ~5,700 confirmed exoplanets |
| Tier | Static (build-time fetch) |
// Build-time fetch for static dataconst response = await fetch( 'https://exoplanetarchive.ipac.caltech.edu/TAP/sync?' + 'query=SELECT+*+FROM+ps&format=json');- Data is small enough to fetch at build time
- Updates weekly, so daily rebuilds keep data fresh
- JSON format available via TAP endpoint
SDSS SkyServer
Section titled “SDSS SkyServer”Sloan Digital Sky Survey data access.
| Property | Value |
|---|---|
| URL | https://skyserver.sdss.org |
| Protocol | SQL via REST |
| Auth | None |
| CORS | Yes |
| Size | Millions of objects |
| Tier | Direct (query on demand) |
const query = ` SELECT TOP 1000 ra, dec, z, petroMag_r FROM SpecObj WHERE z BETWEEN 0.01 AND 0.1`;
const response = await fetch( `https://skyserver.sdss.org/dr18/SkyServerWS/SearchTools/SqlSearch?` + `cmd=${encodeURIComponent(query)}&format=json`);- SQL interface allows complex queries
- Rate limited, so cache results where possible
- Multiple data releases available (DR18 is current)
Gaia Archive
Section titled “Gaia Archive”European Space Agency’s stellar catalog.
| Property | Value |
|---|---|
| URL | https://gea.esac.esa.int/archive |
| Protocol | TAP (ADQL) |
| Auth | None |
| CORS | Yes |
| Size | 1.8 billion stars |
| Tier | Direct (async queries, streaming) |
// Async query for large resultsconst response = await fetch( 'https://gea.esac.esa.int/tap-server/tap/async', { method: 'POST', body: new URLSearchParams({ REQUEST: 'doQuery', LANG: 'ADQL', FORMAT: 'json', QUERY: ` SELECT TOP 10000 source_id, ra, dec, parallax, phot_g_mean_mag FROM gaiadr3.gaia_source WHERE parallax > 10 ` }) });- Use async queries for results > 2000 rows
- Streaming required for million+ row results
- ADQL is similar to SQL with astronomical extensions
VizieR
Section titled “VizieR”CDS catalog service with thousands of published catalogs.
| Property | Value |
|---|---|
| URL | https://vizier.cds.unistra.fr |
| Protocol | TAP (ADQL) |
| Auth | None |
| CORS | Yes |
| Size | Varies by catalog |
| Tier | Direct |
const response = await fetch( 'https://tapvizier.cds.unistra.fr/TAPVizieR/tap/sync?' + 'REQUEST=doQuery&LANG=ADQL&FORMAT=json&' + 'QUERY=SELECT+*+FROM+"J/ApJS/255/6/table1"+LIMIT+100');- Useful for cross-matching with published catalogs
- Catalog names follow journal citation format
- Check individual catalog documentation for column meanings