Skip to content
OSINTtools.io

Astrometry.net API

Upload a photo of the night sky and get back where in the sky it points, plus the known stars and objects in view.

Base URL
https://nova.astrometry.net/api
Sign-in
No key
Format
REST
Endpoints
8

Compiled by OSINTtools.io editors from astrometry.net · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Astrometry.net Nova API solves astronomical images: it finds where in the sky a photo points and which known objects it contains. An investigator can use it to check or date a night-sky image from its star field. You log in with an API key to get a session, submit an image by URL, poll the submission and job, then read the solved calibration, tags, objects in the field and annotations.

Every request sends a JSON object in a form field named request-json; the session value returned by login goes inside it. Reads of finished jobs need no key. File uploads (/api/upload, multipart) are not described here. The docs state no rate limits, file size limits, session lifetime or error format, and point to client.py on GitHub as the authoritative reference. Its examples use http://; this reference uses https://.

Quick start

  1. No key needed

    The Astrometry.net API answers without an account or key.

  2. Make your first request

    Status of a submission and its job IDs.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://nova.astrometry.net/api/submissions/1000001'
  3. Read the response

    A 200 response looks like this.

    {
      "processing_started": "2026-01-01 00:00:00",
      "processing_finished": "2026-01-01 00:01:00",
      "jobs": [
        2000001
      ],
      "job_calibrations": [
        [
          2000001,
          3000001
        ]
      ],
      "user": 1,
      "user_images": [
        4000001
      ]
    }

Authentication

No key or account: every endpoint answers without one.

Log in with your API key (My Profile) at /login, then send the returned session in later requests.

Get a key from Astrometry.net

Rate limits and pricing

Not stated in the docs

Session

  • Passive: the target is not contacted

The body is one form field, request-json, holding a JSON object with the apikey.

Request body (form) · 1Show

request-jsonstringalways present

JSON object with apikey

Response fields · 3Show

statusstring

Result status

messagestring

Result message

sessionstring

Session key for later requests

curl -X POST 'https://nova.astrometry.net/api/login' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d '{
  "request-json": "{\"apikey\": \"YOUR_API_KEY\"}"
}'
No key needed
Response
{
  "status": "success",
  "message": "authenticated user: example",
  "session": "EXAMPLESESSIONKEY"
}

Submissions

request-json holds session, url and optional solver hints: scale_units (degwidth, arcminwidth, arcsecperpix), scale_type, scale_lower, scale_upper, scale_est, scale_err, center_ra, center_dec, radius, downsample_factor, tweak_order, parity, publicly_visible, allow_commercial_use and allow_modifications.

Request body (form) · 1Show

request-jsonstringalways present

JSON object with session (required), url (required) and optional solver arguments

Response fields · 3Show

statusstring

Result status

subidinteger

Submission ID

hashstring

SHA-1 of the URL's content

curl -X POST 'https://nova.astrometry.net/api/url_upload' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d '{
  "request-json": "{\"session\": \"EXAMPLESESSIONKEY\", \"url\": \"https://example.com/sky.jpg\", \"scale_units\": \"degwidth\", \"scale_lower\": 0.5, \"scale_upper\": 1.0, \"center_ra\": 290, \"center_dec\": 11, \"radius\": 2.0}"
}'
No key needed
Response
{
  "status": "success",
  "subid": 1000001,
  "hash": "0000000000000000000000000000000000000000"
}
  • Passive: the target is not contacted

Poll until jobs is filled in. An empty job_calibrations array means the image is not yet solved.

Path parameters

subidintegerrequired

Submission ID

Example: 1000001
Response fields · 6Show

processing_startedstring

When processing started

processing_finishedstring

When processing finished

jobs[]integer

Job IDs

job_calibrations[]array

Job and calibration ID pairs once solved

userinteger

User ID

user_images[]integer

Image IDs

curl 'https://nova.astrometry.net/api/submissions/1000001'
No key needed
Response
{
  "processing_started": "2026-01-01 00:00:00",
  "processing_finished": "2026-01-01 00:01:00",
  "jobs": [
    2000001
  ],
  "job_calibrations": [
    [
      2000001,
      3000001
    ]
  ],
  "user": 1,
  "user_images": [
    4000001
  ]
}

Jobs

Status of a solving job.

GET/jobs/{job_id}

  • Passive: the target is not contacted

Path parameters

job_idintegerrequired

Job ID

Example: 2000001
Response fields · 1Show

statusstring

Job status

curl 'https://nova.astrometry.net/api/jobs/2000001'
No key needed
Response
{
  "status": "success"
}

The solved WCS calibration of an image.

GET/jobs/{job_id}/calibration/

  • Passive: the target is not contacted

Where the image points in the sky and its scale.

Path parameters

job_idintegerrequired

Job ID

Example: 2000001
Response fields · 6Show

paritynumber

Image parity

orientationnumber

Orientation in degrees

pixscalenumber

Pixel scale

radiusnumber

Field radius

ranumber

Right ascension of the center

decnumber

Declination of the center

curl 'https://nova.astrometry.net/api/jobs/2000001/calibration/'
No key needed
Response
{
  "parity": 1,
  "orientation": 12.5,
  "pixscale": 2.3,
  "radius": 0.9,
  "ra": 290.1,
  "dec": 11.2
}

Known objects found in the solved field.

GET/jobs/{job_id}/objects_in_field/

  • Passive: the target is not contacted

Path parameters

job_idintegerrequired

Job ID

Example: 2000001
Response fields · 1Show

objects_in_field[]string

Names of objects in the field

curl 'https://nova.astrometry.net/api/jobs/2000001/objects_in_field/'
No key needed
Response
{
  "objects_in_field": [
    "Example Nebula",
    "Example Star"
  ]
}

Annotated objects with pixel coordinates.

GET/jobs/{job_id}/annotations/

  • Passive: the target is not contacted

Path parameters

job_idintegerrequired

Job ID

Example: 2000001
Response fields · 5Show

radiusnumber

Object radius in pixels

typestring

Object type

names[]string

Names of the object

pixelxnumber

X pixel position

pixelynumber

Y pixel position

curl 'https://nova.astrometry.net/api/jobs/2000001/annotations/'
No key needed
Response
{
  "annotations": [
    {
      "radius": 12,
      "type": "ngc",
      "names": [
        "Example Nebula"
      ],
      "pixelx": 410.5,
      "pixely": 220
    }
  ]
}
  • Passive: the target is not contacted

Path parameters

job_idintegerrequired

Job ID

Example: 2000001
Response fields · 7Show

statusstring

Job status

ranumber

Right ascension of the center

decnumber

Declination of the center

machine_tags[]string

Automatic tags

tags[]string

All tags, including user-added

original_filenamestring

Original file name

objects_in_field[]string

Objects in the field

curl 'https://nova.astrometry.net/api/jobs/2000001/info/'
No key needed
Response
{
  "status": "success",
  "machine_tags": [
    "Example Nebula"
  ],
  "calibration": {
    "ra": 290.1,
    "dec": 11.2,
    "radius": 0.9,
    "pixscale": 2.3,
    "orientation": 12.5,
    "parity": 1
  },
  "tags": [
    "Example Nebula"
  ],
  "original_filename": "sky.jpg",
  "objects_in_field": [
    "Example Nebula"
  ]
}