---
title: "TLE API"
description: "How nasa-mcp reads two-line element sets from the third-party TLE API listed on api.nasa.gov: search, lookup, quirks and citation."
type: Reference
tags:
  - tle
  - satellites
  - orbits
  - third-party
  - service
generated:
  by: "claude/opus-5.5"
  at: "2026-11-27T00:00:00Z"
sources:
  - id: design
    resource: "DESIGN.md"
    title: "nasa-mcp design"
    author: "team:nasa-mcp"
  - id: research
    resource: "RESEARCH.md"
    title: "nasa-mcp research notes (upstream services, 2026-11-27)"
    author: "team:nasa-mcp"
  - id: catalog
    resource: "src/nasa_mcp/providers/catalog.py"
    title: "nasa-mcp service catalogue"
    author: "team:nasa-mcp"
  - id: tle-docs
    resource: "https://tle.ivanstanojevic.me/"
    title: "TLE API"
    author: "team:tle-api"
status: stable
stale_after: "2027-05-27T00:00:00Z"
---

<!--
SPDX-FileCopyrightText: 2026 Tyson Lee Swetnam
SPDX-License-Identifier: CC-BY-4.0
-->

# TLE API (`tle`)

Current two-line orbital element sets for Earth satellites. **This is a third-party service** (by
Ivan Stanojević), listed on api.nasa.gov but not operated by NASA; its data are mirrored from
CelesTrak about daily. Every result says so.

## Endpoint

`https://tle.ivanstanojevic.me/api/tle/` (search) and `/api/tle/{id}` (RESEARCH.md §17).

## Key use

None. This service is called on its own host; it does not spend api.nasa.gov quota.

## Tools

| Tool | What it returns |
| --- | --- |
| `nasa_tle_search` | satellites matching a name: NORAD id, name, epoch and both TLE lines |
| `nasa_tle_get` | one satellite's current TLE by NORAD id (ISS = 25544) |

Inputs and result fields: [Tool reference](../tools/reference.md).

## Quirks handled

* The search route needs its **trailing slash** (`/api/tle/`); without it the service answers 301
  with an HTML body.
* `page-size` is at most 100 (400 above).
* Responses are Hydra JSON-LD; the server returns plain fields.
* Unknown ids answer 404 and are reported as `not_found`.
* TLEs age quickly (days). Propagate them with an SGP4 library; the server does not.

## Citation

`source.citation`:

> TLE API by Ivan Stanojević (https://tle.ivanstanojevic.me/), data from CelesTrak (https://celestrak.org/).
