Science and space

CelesTrak GP Data API

by celestrak.org

Science and space Added on December 1st, 2026 Checked and working on December 1st, 2026
Visit celestrak.org →

What it does

CelesTrak publishes current orbital elements of satellites and other objects in Earth orbit, for example to predict when the International Space Station passes over a city. Query by catalogue number, name or group and get CSV, JSON, XML or TLE text; the usage policy asks for CSV where possible. Free, no key needed; download each data set only once per update (GP data updates every 2 hours), or requests are blocked. Cache the results in your own system.
  • API
  • CSV
  • HTTP-GET
  • JSON
  • XML

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed; download each data set only once per update (GP data updates every 2 hours), or requests are blocked.
From the browser
Yes (CORS)
Formats
JSON, XML, CSV
Interface
HTTP-GET
Provider
celestrak.org
Last checked
Working on December 1st, 2026

More information: https://celestrak.org/NORAD/documentation/gp-data-formats.php

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

celestrak.org
CelesTrak GP Data API

Example request

curl

curl 'https://celestrak.org/NORAD/elements/gp.php?CATNR=25544&FORMAT=csv'

JavaScript

const response = await fetch("https://celestrak.org/NORAD/elements/gp.php?CATNR=25544&FORMAT=csv");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://celestrak.org/NORAD/elements/gp.php?CATNR=25544&FORMAT=csv",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried CelesTrak GP Data API.