# Aviation Weather Crosswind & Headwind Calculator

> Aviation Weather Crosswind & Headwind Calculator is a paid API for AI agents from aviation-weather.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Returns live crosswind and headwind components (including gusts) for a given runway heading at an airport, with a go/no-go verdict against a pilot-defined crosswind limit.

## Facts

- Endpoint: GET https://aviation-weather.x402tookit.com/crosswind?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aviation-weather-crosswind-headwind-calculator-7f5881af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xIooPgf3zIDb6VwO7GhLW

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 aviation-weather-crosswind-headwind-calculator-7f5881af
```

Example prompt: What are the crosswind and headwind components at KSFO for runway heading 280 degrees right now? My crosswind limit is 15 knots — tell me if I'm good to go.

## When to prefer this

Use this endpoint when a pilot or dispatch system needs a quick, computed wind-component breakdown (crosswind vs headwind) for a specific runway heading, with an explicit go/no-go verdict against a personal or regulatory crosswind limit. It is more targeted than a raw METAR decoder because it does the trigonometric wind-component math and limit comparison for you, saving the agent from having to compute components manually.

## Known failure modes

- Invalid or unknown ICAO code returns null fields or error
- Stale METAR data flagged via degraded=true and ageMinutes being large
- No current observation available returns null for wind fields
- Network or upstream weather source outage
- Heading out of 0-360 range may return an error or unexpected result

## How this service works

Live crosswind and headwind components at an airport for a runway heading, including gusts, versus your limit.

## Output

Returns crosswind and headwind components in knots (steady wind and gusts separately), wind speed and direction, a human-readable verdict (e.g. 'within limits' or 'exceeds limit'), list of reasons if limits are exceeded, an observation timestamp and data age in minutes, source URL, and a degraded flag if data quality is reduced. Also includes a plain-language summary and disclaimer.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "icao",
      "heading"
     ],
     "properties": {
      "icao": {
       "type": "string",
       "description": "4-letter ICAO airport code"
      },
      "heading": {
       "type": "integer",
       "description": "Runway or flight heading in degrees, 0 to 360"
      },
      "limit_kt": {
       "type": "integer",
       "description": "Your crosswind limit in knots, default 15"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "icao": {
       "type": [
        "null",
        "string"
       ]
      },
      "gustKt": {},
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "windKt": {
       "type": [
        "null",
        "number"
       ]
      },
      "heading": {
       "type": [
        "null",
        "number"
       ]
      },
      "limitKt": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "observed": {
       "type": [
        "null",
        "string"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "ageMinutes": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "headwindKt": {
       "type": [
        "null",
        "number"
       ]
      },
      "notChecked": {
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aviation-weather-crosswind-headwind-calculator-7f5881af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aviation-weather.x402tookit.com](https://www.zero.xyz/host/aviation-weather.x402tookit.com/llms.txt)
