Open Notify (ISS) API
Free, no-key API for the International Space Station's location and crew.
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
Authentication
None. Two endpoints: /iss-now.json (ISS position) and /astros.json (people in space). HTTP only.
Code examples
curl -s http://api.open-notify.org/iss-now.json curl -s http://api.open-notify.org/astros.json
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 / longitude | Current sub-satellite point (strings, degrees) |
| timestamp | Unix time of the fix |
| message | success when the call worked |
| (astros) number | Count of people currently in space |
| (astros) people[].name / craft | Each person and their vehicle |
Common errors
| (HTML / connection error) | The service occasionally goes down — retry and degrade gracefully. |
| 404 on /iss-pass.json | That endpoint no longer exists; it was decommissioned. |
| Mixed-content blocked | HTTP-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.