# StableTravel FlightAware Flight Map

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

Returns a map image for a specific flight using FlightAware data, with configurable dimensions, layers, and airport display options.

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/flights/id/map
- Price: $0.06/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-map-1a5d3fd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UX7mKm6MbfkzlKG8xINQQ

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-map-1a5d3fd0
```

Example prompt: Can you pull up a flight map for flight ID AAL123 — show airports on it and include the flight data block, sized at 800 by 600 pixels?

## When to prefer this

Use this endpoint when you need a visual map representation of a specific flight — its route, current position, and nearby airports — powered by FlightAware data. Prefer this over text-based flight status endpoints when the goal is rendering or embedding a flight map in a UI or report. Best for single-flight visualization with customizable map parameters.

## Known failure modes

- Invalid or unknown flight ID returns an error or empty map
- Flight ID not found in FlightAware database returns 404-style error
- Invalid image dimensions may cause rendering failure
- Network or upstream FlightAware API outage returns 5xx error
- Payment not processed (x402 protocol) results in 402 Payment Required

## How this service works

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

## Output

Returns a map image (likely as a JSON wrapper or image data) showing the flight's path, current position, and optionally airport markers and a flight data block overlay. The image dimensions and enabled/disabled layers are configurable.

## 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",
       "description": "Image width in pixels"
      },
      "height": {
       "type": "number",
       "description": "Image height in pixels"
      },
      "layer_on": {
       "type": "string",
       "description": "Map layers to enable"
      },
      "layer_off": {
       "type": "string",
       "description": "Map layers to disable"
      },
      "show_airports": {
       "type": "boolean",
       "description": "Show airports on map"
      },
      "show_data_block": {
       "type": "boolean",
       "description": "Show flight data block on map"
      },
      "airports_expand_view": {
       "type": "boolean",
       "description": "Expand view to include airports"
      }
     },
     "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-map-1a5d3fd0/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)
