# StableTravel FlightAware Flight History Map

> StableTravel FlightAware Flight History Map is a paid API for AI agents from stabletravel.dev, paid per call via x402, $0.28/call, status unknown (last checked 2026-09-14).

Returns a map image or map data for a specific historical flight identified by its flight ID via FlightAware.

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/history/flights/id/map
- Price: $0.28/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stabletravel-flightaware-flight-history-map-70c40ef3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_arH6eGcPFwbGT3pQUpUQF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stabletravel-flightaware-flight-history-map-70c40ef3
```

Example prompt: Can you pull up the flight path map for flight ID AA1234 from FlightAware, showing airports and the data block, at 1200 by 800 pixels?

## When to prefer this

Use this endpoint when you need a visual map or geographic track of a specific historical flight by its FlightAware flight ID. Prefer this over generic flight search endpoints when you already have the flight ID and need a route visualization rather than schedule or pricing data.

## Known failure modes

- Invalid or unknown flight ID returns an error or empty response
- Flight ID references a future or non-existent flight and no map is available
- Missing required 'id' path parameter causes a 400 or 404 error
- FlightAware upstream service unavailable results in a 502 or 503
- Payment not included or insufficient USDC causes a 402 Payment Required response
- Invalid query parameter types (e.g. non-numeric width/height) may cause a 400 error

## How this service works

Pay-per-request access to flights, award availability, hotels, activities, and transfers. No auth, no subscriptions.

## Output

Returns map data or a rendered image showing the historical flight track and route for the specified flight ID, optionally including airport markers, data blocks, and configurable map dimensions and layer settings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "width": {
       "type": "number"
      },
      "height": {
       "type": "number"
      },
      "layer_on": {
       "type": "string"
      },
      "layer_off": {
       "type": "string"
      },
      "show_airports": {
       "type": "boolean"
      },
      "show_data_block": {
       "type": "boolean"
      },
      "airports_expand_view": {
       "type": "boolean"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-flightaware-flight-history-map-70c40ef3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stabletravel.dev](https://www.zero.xyz/host/stabletravel.dev/llms.txt)
