1. Public REST API (v1)
The REST API endpoints are served under /api/v1/. Public read operations on published datasets do not require authorization.
Retrieve a paginated list of all publicly published observation sessions.
Query Parameters
| Parameter |
Type |
Description |
| limit |
integer |
Number of sessions to return (default: 50, max: 100). |
| offset |
integer |
Pagination offset (default: 0). |
| object_type |
string |
Filter by target classification (e.g., "Galaxy", "Nebula"). |
| filter_name |
string |
Filter by filter naming (e.g., "Ha", "OIII", "L"). |
| year |
integer |
Filter by the observation year (e.g., 2026). |
Response Example
{
"count": 1,
"limit": 50,
"offset": 0,
"results": [
{
"session_id": "ses_001",
"slug": "m8-lagoon-nebula-sho-lrgb",
"object_name": "M8 Lagoon Nebula",
"object_type": "Nebula",
"observation_date": "2026-05-02",
"total_integration": "14h 30m",
"filter_summary": "SHO + LRGB",
"revision": 1
}
]
}
Retrieve comprehensive details of a specific observation session, including its full file listings.
Path Parameters
| Parameter |
Type |
Description |
| slug |
string |
The unique slug of the target session (e.g., m8-lagoon-nebula-sho-lrgb). |
Response Example
{
"session_id": "ses_001",
"slug": "m8-lagoon-nebula-sho-lrgb",
"object_name": "M8 Lagoon Nebula",
"object_type": "Nebula",
"observation_date": "2026-05-02",
"total_integration": "14h 30m",
"filter_summary": "SHO + LRGB",
"revision": 1,
"files": [
{
"id": "file_uuid_1029",
"file_name": "M8_Light_Ha_300s_001.fits",
"file_type": "fits",
"file_size_bytes": 33554432,
"checksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"frame_type": "LIGHT",
"processing_level": "raw",
"filter_name": "Ha",
"exposure_seconds": 300.0,
"availability": "available"
}
]
}
Perform a full-text search across observation sessions. Matches against target name, constellation, filter configurations, and session IDs.
Query Parameters
| Parameter |
Type |
Description |
| query |
string |
The search string (e.g., "M8" or "Sagittarius"). |
| limit |
integer |
Number of sessions to return (default: 25). |
| offset |
integer |
Offset index for pagination. |
Query, sort, filter, and paginate through scientific frame listings within a single session.
Query Parameters
| Parameter |
Type |
Description |
| frame_type |
string |
Filter by frame classification (e.g., "LIGHT", "DARK", "BIAS", "FLAT"). |
| processing_level |
string |
Filter by role (e.g., "raw", "calibrated", "stacked"). |
| filter_name |
string |
Filter by filter bandpass name (e.g., "Ha"). |
| exposure_min / exposure_max |
float |
Restrict results to frame exposure range in seconds. |
| sort |
string |
Sort order: file_name, exposure, date_obs, size (prefix with - for descending). |
Retrieve raw scientific metadata, physical coordinates, environment conditions, and imaging configurations.
Perform cross-session frame searches using exact scientific filters like telescope optics, sensor camera models, coordinates, dates, and exposure thresholds.
Get a temporary, presigned, direct S3/MinIO bucket download URL for a file.
Response Example
{
"url": "https://s3.your-observatory.org/archive/ses_001/raw/M8_Light_Ha.fits?X-Amz-Algorithm=AWS4-HMAC-SHA256...",
"file_name": "M8_Light_Ha.fits",
"file_size_bytes": 33554432,
"expires_in": 3600
}
Request multiple files bundled together (max 100 files). Generates a ZIP payload immediately.
JSON Payload Schema
{
"file_ids": [
"file_uuid_1029",
"file_uuid_1030"
],
"bundle_name": "m8_ha_selection"
}
2. Internal AJAX Query API
These endpoints support the dynamic interfaces on the homepage and requester forms. While they do not enforce API Keys, they are protected by session authentication and CSRF checks where state modifications occur.
Fetch real-time dome weather metrics, seeing value (FWHM), cloud cover fraction, sky transparency, and moon separation coordinates. Used on the homepage and status indicators.
Response Example
{
"status": "EXCELLENT",
"summary": {
"observatory_status": "Observing",
"seeing": {
"value_arcsec": 1.4,
"quality": "Excellent"
},
"clouds": {
"value_pct": 5,
"quality": "Clear"
},
"transparency": "Clear",
"moon_impact": {
"label": "Low"
}
}
}
Resolve celestial targets against global astronomical catalog backends (SIMBAD, VizieR, JPL Horizons). Auto-calculates proper motion, parallax, coordinates, and classification.
Query Parameters
| Parameter |
Type |
Description |
| name |
string |
Target catalog identifier (e.g., "M31", "NGC 7000"). |
| source |
string |
Search source (e.g., "simbad", "gaia", "mpc", "jpl", or "auto"). |
Response Example
{
"found": true,
"ra": "00h 42m 44.33s",
"dec": "+41° 16' 07.5\"",
"pm_ra": -121.9,
"pm_dec": -43.1,
"parallax": 0.0,
"epoch": "J2000.0",
"object_type": "Galaxy",
"source": "SIMBAD",
"resolved_name": "M 31"
}
Generate coordinate-based visibility planners, airmass limits, and best months recommendations.
Fetch the cached IMD satellite infrared image for cloud monitoring. Caches requests locally to optimize server load.