# Spire Aviation

> Spire Aviation: what the collector reads, how to connect it, its permissions, its certification by Atlantic Agentic Labs and its security posture.

Built, not certified Built and tested against recorded and synthetic responses (version 0.1.0, 20 November 2026). Not yet run against the vendor's sandbox or a client environment.

Reads flights seen by Spire’s space-based ADS-B network (position, altitude, speed, heading, aircraft, airline, route and flight state) from the Spire Aviation Flights Live and Flights History APIs (AirSafe v2), read-only, inside your deployment.

## At a glance

| Collector                   | Spire Aviation, version `0.1.0`                                                                                                                  |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Reads                       | Spire Global: Spire Aviation Flights Live and Flights History APIs (AirSafe v2) ([the vendor's documentation](https://aviation-docs.spire.com/)) |
| Family                      | Aviation                                                                                                                                         |
| Kind                        | Flights                                                                                                                                          |
| Ways to connect             | Access token                                                                                                                                     |
| Scopes                      | - Read:                                                                                                                                          |
| Read only                   | Yes                                                                                                                                              |
| Vendor's API can move money | No                                                                                                                                               |
| Personal data               | None                                                                                                                                             |
| Hosts it may contact        | `api.airsafe.spire.com`                                                                                                                          |
| Vendor API versions         | AirSafe v2 (Flights Live, Flights History)                                                                                                       |
| Lowest engine version       | `0.46.0`                                                                                                                                         |

## What it reads

- **History:** `GET /flights/history` for each filter you name, over a window of `start` and `end`, in slices of `window_hours`.
- **Live:** `GET /flights/live` for each filter you name, as it stands (no window).
- Filters: `icao_addresses`, `tail_numbers`, `callsigns`, `airlines` and `operating_airports`. You must name at least one: a whole feed is never the default.
- One record per flight, keyed by Spire’s `flight_id`, with its position, aircraft, route and `flight_state`. A flight seen in both feeds, or twice, is one record, the newest by `timestamp`.
- The first run reads `hours_back` (1 to 720, default 24) hours of history; later runs read from the previous run’s start, less an hour.

## How to connect

1. Ask Spire for an Aviation API token (Spire provides it; the documentation is at aviation-docs.spire.com).
2. In LightHouse, open **Setup and admin, Connectors**, choose **Spire Aviation**, and leave the access level at **Read**.
3. Name the filters, choose `feeds` (`history`, `live` or both) and set `per_second` to the rate your agreement allows.
4. Paste the token. Your browser seals it to your deployment, which hands it to the collector as `SPIRE_AVIATION_TOKEN` (`credential_env`).

## Permissions

- `GET` only, with the token as `Authorization: Bearer`. No other verb is sent.
- Your deployment refuses to store this credential at read and write.
- Only `api.airsafe.spire.com` is contacted. The read-only test proves it on every change.

## Limits

- Spire states no rate limit and no maximum window in its public documentation; `per_second` (default 1) and `window_hours` (1 to 24, default 6) are the collector’s own bounds, so set them to your agreement.
- `max_pages` (200 by default) stops a run before a wide filter becomes a large read, and fails it rather than indexing part of a window as if it were all of it.
- Paging follows `pagination.cursor`, sent back as `page_cursor`, with the same `start` and `end`.
- Spire offers no changed-since: the window from the last run, less an hour, is read again, and a flight whose record has not changed is not rewritten.
- **The response envelope is not published.** The documentation shows the Flight Object and the `pagination` object but not the key that holds the flights. The collector reads a list, a single Flight Object, or the one list in an object, and fails naming the keys otherwise. This is settled when the collector is certified against a token.

## Data handling

- Records are read and indexed inside your deployment. LightHouse receives ids, hashes and counts, never a flight record.
- Nothing is cached raw, and a failure names the host and the status, never the URL.
- A flight track names an aircraft, not a person. The standard exclusions still apply to every record before it is written; `exclude_fields` adds paths and `keep_fields` takes a default back by its exact name.

## Troubleshooting

| What you see                                                                                         | What it means                                                                    | What to do                                                                 |
| ---------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `credential variable 'SPIRE_AVIATION_TOKEN' is not set`                                              | The deployment has not been given the token                                      | Connect the credential again                                               |
| `GET api.airsafe.spire.com: HTTP 401`                                                                | Spire refused the token                                                          | It may be expired, revoked or for another product; ask Spire for a new one |
| `GET api.airsafe.spire.com: HTTP 429`                                                                | A rate limit, after the retries                                                  | Lower `per_second`                                                         |
| `spire: max_pages (200) reached before the window was read; raise it or narrow the filters`          | The window holds more pages than the cap allows                                  | Name fewer filters, narrow `hours_back`, or raise the cap                  |
| `spire: more than one list in the response: ...`                                                     | The response holds several lists and the collector cannot tell which are flights | Report the keys; the collector is updated against the confirmed envelope   |
| `name an ICAO address, tail number, callsign, airline or airport; a whole feed is never the default` | No filter was named                                                              | Name at least one                                                          |
| `hours_back is 1 to 720 and window_hours 1 to 24`                                                    | A window outside the collector’s bounds                                          | Narrow it                                                                  |

## Certification

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See [How collectors are certified](/collectors/certification/).

| Date             | Collector | Engine   | Vendor API | Method                              | Expires        |
| ---------------- | --------- | -------- | ---------- | ----------------------------------- | -------------- |
| 20 November 2026 | `0.1.0`   | `0.69.2` | AirSafe v2 | Fixtures only: built, not certified | Not applicable |

## Security posture

From the collector’s last scan on the default branch. What each line means, and what blocks a release: [Security posture](/collectors/security/).

| Last scanned               | 25 November 2026                                                                                                                                                                                                      |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Critical findings          | 0                                                                                                                                                                                                                     |
| High findings              | 0                                                                                                                                                                                                                     |
| Medium findings            | 0                                                                                                                                                                                                                     |
| Low findings               | 0                                                                                                                                                                                                                     |
| Info findings              | 0                                                                                                                                                                                                                     |
| Release blocked            | No                                                                                                                                                                                                                    |
| Network allow-list check   | Pass                                                                                                                                                                                                                  |
| Read-only behavioural test | Pass                                                                                                                                                                                                                  |
| SBOM (CycloneDX)           | Produced                                                                                                                                                                                                              |
| Dependency licences        | Pass                                                                                                                                                                                                                  |
| Scanners                   | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |

Source: https://docs.atlanticagenticlabs.com/collectors/catalogue/spire/
