API Directory › 🚀 Science & Space › Open Notify (ISS)
No auth

Open Notify (ISS) API

Free, no-key API for the International Space Station's location and crew.

Auth
No auth needed
HTTPS
No
CORS
Unknown
Open Open Notify (ISS) docs ↗

What it does

Open Notify is a tiny NASA-data API with two live endpoints: the current latitude/longitude of the International Space Station, and the list of people currently in space with their spacecraft.

Base URL

http://api.open-notify.org

Authentication

None. Two endpoints: /iss-now.json (ISS position) and /astros.json (people in space). HTTP only.

Code examples

curl
curl -s http://api.open-notify.org/iss-now.json
curl -s http://api.open-notify.org/astros.json
Python
import requests

p = requests.get("http://api.open-notify.org/iss-now.json", timeout=10).json()
pos = p["iss_position"]
print("ISS at", pos["latitude"], pos["longitude"])

a = requests.get("http://api.open-notify.org/astros.json", timeout=10).json()
print(a["number"], "people in space:", [x["name"] for x in a["people"]])

Rate limits & quotas

No documented rate limit; the ISS position only meaningfully changes every few seconds, so polling once every 5–10 seconds is plenty. The service is HTTP-only. The old /iss-pass.json overhead-pass-prediction endpoint has been retired — compute passes yourself from TLE data (e.g. with skyfield) if you need them.

Key response fields

iss_position.latitude / longitudeCurrent sub-satellite point (strings, degrees)
timestampUnix time of the fix
messagesuccess when the call worked
(astros) numberCount of people currently in space
(astros) people[].name / craftEach person and their vehicle

Common errors

(HTML / connection error)The service occasionally goes down — retry and degrade gracefully.
404 on /iss-pass.jsonThat endpoint no longer exists; it was decommissioned.
Mixed-content blockedHTTP-only — call it from your backend, not directly from an HTTPS page.

When to use it (and alternatives)

Perfect for a ‘where is the ISS right now’ map, a who’s-in-space widget, or a beginner API tutorial. For launch schedules use Launch Library 2; for sunrise/sunset overlays sunrise-sunset.

FAQ

How do I get ISS pass times for my location?

You can’t from this API any more — /iss-pass.json was removed. Fetch the ISS TLE (from CelesTrak or NASA) and propagate it with a library like skyfield or pyephem to compute visible passes.

Is there an HTTPS version?

Not reliably. Proxy the request through your own HTTPS backend so browser pages don’t hit mixed-content blocks.

Where does the 'people in space' data come from?

It is hand-curated by the project maintainer from public crew manifests, so it can lag a launch or landing by a day or two.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

JSON Formatter

Related Science & Space APIs

← Back

More Science & Space APIs · All 196 APIs