Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ManiFed/TTN/llms.txt

Use this file to discover all available pages before exploring further.

Public endpoints require no authentication and are intended for use by the marketing site, community dashboards, third-party integrations, and anyone curious about The Telescope Net’s live science output. They cover the active observing target queue with composite scores, historical photometry for any named variable star, real-time network health, astronomy weather forecasts, sky brightness data, public object catalogue lookups, and the email subscribe flow. All responses are JSON and include permissive CORS headers so browser clients can call them directly.

GET /api/v1/targets

Retrieve the active target queue with current observability scores. Returns up to 200 targets sorted by best composite score descending, including the science program classification and a per-score-component explanation.
Auth: NoneNo query parameters required.

GET /api/v1/lightcurves/

Retrieve the historical photometry light curve for a named target. All measurements from all network nodes are returned, giving a multi-site composite view of the target’s brightness history.
Auth: None
name
string
required
Target name, e.g. SS_Cyg or SN2024abc. URL-encode spaces and special characters.
days
float
Look-back window in days. Default 365. Use smaller values (e.g. 30) for responsive real-time plots.

GET /api/v1/lightcurves//consensus

Retrieve an inverse-variance-weighted consensus light curve for epochs where two or more nodes observed the same target within the same ~43-minute co-temporal window. Each consensus point reports how many nodes contributed and which nodes they were.
Auth: None
name
string
required
Target name.
days
float
Look-back window in days. Default 365.

GET /api/v1/network/status

Retrieve a live snapshot of the network’s node count, observation totals, and node locations. Used by the marketing site to display the live statistics ticker.
Auth: NoneNo query parameters required.

GET /api/v1/network/activity

Retrieve a public activity feed of recent observations, AAVSO submissions, new node registrations, and transient interrupts. Useful for live dashboards and community feeds.
Auth: None
limit
integer
Maximum number of events to return. Default 50, maximum 200.

GET /api/v1/health

Verify that the API server and its database connection are healthy. Use this endpoint in uptime monitors and deployment health checks.
Auth: NoneNo query parameters required.

GET /api/v1/weather

Retrieve an astronomy-optimised weather forecast for any coordinates. Data is sourced from the 7timer ASTRO product, which provides 3-hour forecast slots for cloud cover, atmospheric seeing, transparency, lifted index, wind speed, and humidity — the parameters that matter most for photometric quality.
Auth: None
lat
float
required
Latitude in decimal degrees, e.g. 30.2672.
lon
float
required
Longitude in decimal degrees, e.g. -97.7431.

GET /api/v1/light-pollution

Retrieve sky brightness data for any coordinates. Returns the magnitude-per-square-arcsecond (mpsas) reading and Bortle scale classification. The server caches results per location to avoid upstream rate limits.
Auth: None
lat
float
required
Latitude in decimal degrees.
lon
float
required
Longitude in decimal degrees.

GET /api/v1/sky-quality

Retrieve sky brightness (mpsas and Bortle scale) for any coordinates. This is a lightweight alternative to /api/v1/light-pollution used by the Start Tonight sheet and mobile app location picker.
Auth: None
lat
float
required
Latitude in decimal degrees.
lon
float
required
Longitude in decimal degrees.

GET /api/v1/objects/

Retrieve public catalogue details for any astronomical object by name. The server queries the CDS Sesame name resolver and, for planetary systems, the NASA Exoplanet Archive. Results are merged into a single response.
Auth: None
object_name
string
required
Object name, e.g. SS_Cyg, SN2024abc, or HD 189733 b. URL-encode as needed.

GET /api/v1/telescopes

Retrieve the public telescope spec catalog used by the app’s model picker. Each entry includes physical specifications and the derived parameters (pixel scale, FOV, magnitude limits) computed from the hardware specs.
Auth: NoneNo query parameters.

GET /api/v1/site/config

Retrieve public site configuration, currently the displayed member count shown on the tour page.
Auth: NoneNo query parameters.

POST /api/v1/subscribe

Subscribe an email address to The Telescope Net waitlist. If the email is new, an activation code is generated and stored. Returns the same code idempotently for existing subscribers.
Auth: None
email
string
required
Valid email address to subscribe.
source
string
Referral source identifier, e.g. "tour" (default) or "social". Maximum 64 characters.
equipment
string
Equipment description, e.g. "ZWO Seestar S50". Maximum 64 characters.

Build docs developers (and LLMs) love