Ir al contenido
GET /v1/meta

Service metadata

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/observatories-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/observatories-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/observatories-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/observatories-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/observatories-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "source": "IAU MPC ObsCodes",
        "service": "observatories-api",
        "endpoints": {
            "GET /v1/list": "List observatories (limit, offset, located=true to skip space/geocentric codes).",
            "GET /v1/meta": "This document.",
            "GET /v1/nearby": "Nearest observatories to a point (lat=, lon=, limit=) — great-circle distance.",
            "GET /v1/search": "Search observatories by name or code (q=, min 2 chars).",
            "GET /v1/observatory": "Observatory detail by MPC code (code=, e.g. 500 or 309)."
        },
        "description": "IAU Minor Planet Center observatory codes: 3-character code, name, east longitude, parallax constants (rho·cos φ′, rho·sin φ′) and the derived geocentric latitude / -180..180 longitude. Find observatories by code or name, list them, or find the nearest sites to a point (haversine). No key.",
        "with_location": 2675,
        "total_observatories": 2704
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:11.711Z",
        "request_id": "7689d53c-7145-4d8f-8611-ba795466fc57"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}