# CelesTrak GP Data API

Category: [Science and space](https://free-web-services.com/web-services/science/)  
Page: https://free-web-services.com/web-services/science/celestrak-gp-data-api.html  
Documentation: https://celestrak.org/NORAD/documentation/gp-data-formats.php

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 key: Not needed
- 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

Example request:

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

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

