Skip to content
GET /v1/meta

Totals & object-type breakdown

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/deepsky-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/deepsky-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/deepsky-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/deepsky-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/deepsky-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Galaxies, nebulae and star clusters. Coordinates are J2000 (sexagesimal + decimal degrees); magnitudes V/B; size in arcminutes.",
        "total": 13308,
        "types": [
            {
                "code": "G",
                "name": "Galaxy",
                "count": 10481
            },
            {
                "code": "OCl",
                "name": "Open Cluster",
                "count": 652
            },
            {
                "code": "*",
                "name": "Star",
                "count": 546
            },
            {
                "code": "Other",
                "name": "Other",
                "count": 419
            },
            {
                "code": "**",
                "name": "Double Star",
                "count": 243
            },
            {
                "code": "GPair",
                "name": "Galaxy Pair",
                "count": 231
            },
            {
                "code": "GCl",
                "name": "Globular Cluster",
                "count": 204
            },
            {
                "code": "PN",
                "name": "Planetary Nebula",
                "count": 130
            },
            {
                "code": "Neb",
                "name": "Nebula",
                "count": 94
            },
            {
                "code": "HII",
                "name": "HII Ionised Region",
                "count": 82
            },
            {
                "code": "Cl+N",
                "name": "Star Cluster + Nebula",
                "count": 67
            },
            {
                "code": "*Ass",
                "name": "Association of Stars",
                "count": 62
            },
            {
                "code": "RfN",
                "name": "Reflection Nebula",
                "count": 38
            },
            {
                "code": "GTrpl",
                "name": "Galaxy Triplet",
                "count": 26
            },
            {
                "code": "SNR",
                "name": "Supernova Remnant",
                "count": 11
            },
            {
                "code": "GGroup",
                "name": "Galaxy Group",
                "count": 11
            },
            {
                "code": "EmN",
                "name": "Emission Nebula",
                "count": 8
            },
            {
                "code": "Nova",
                "name": "Nova Star",
                "count": 3
            }
        ],
        "fields": [
            "name",
            "type",
            "type_name",
            "messier",
            "common_name",
            "constellation",
            "ra",
            "dec",
            "ra_deg",
            "dec_deg",
            "v_mag",
            "b_mag",
            "major_axis_arcmin",
            "hubble_type"
        ],
        "source": "OpenNGC (NGC/IC deep-sky object catalogue)",
        "messier": 107,
      
…