{
  "x402Version": 2,
  "id": 52577,
  "slug": "52577",
  "resource": "https://jtifhcvbgxqwlywugvjv.supabase.co/functions/v1/cortex402-aviation-weather",
  "description": "Real-time aviation weather for any ICAO airport. Returns decoded METAR, TAF, SIGMET alerts, and a normalized 24-hour forecast. Batch up to 10 airports per call.",
  "type": "http",
  "serviceName": "CorteX402 Aviation Weather",
  "resourceType": "Travel",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x41a90Fc1D1D7FE22aCc8aB1DdB978ed65205C56F",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 30
    }
  ],
  "outputSchema": {
    "example": {
      "airports": [
        {
          "forecast_24h": [
            {
              "precip_mm": 0,
              "temp_c": 29,
              "time": "2026-05-15T19:00:00Z",
              "wind_dir": 185,
              "wind_kt": 10
            }
          ],
          "icao": "KLAS",
          "lat": 36.08,
          "lon": -115.15,
          "metar": {
            "altimeter_inhg": 29.92,
            "dewpoint_c": 5,
            "flight_category": "VFR",
            "observed_at": "2026-05-15T18:53:00Z",
            "raw": "KLAS 151853Z 18008KT 10SM CLR 28/05 A2992",
            "temp_c": 28,
            "visibility_sm": 10,
            "wind_dir": 180,
            "wind_kt": 8
          },
          "name": "Harry Reid International",
          "sigmets": [],
          "source": "CorteX402",
          "taf": {
            "raw": "TAF KLAS 151720Z 1518/1624 18010KT P6SM SKC",
            "valid_from": "2026-05-15T18:00:00Z",
            "valid_to": "2026-05-16T24:00:00Z"
          }
        }
      ],
      "fetched_at": "2026-05-15T18:54:00Z",
      "receipt_tx": "0x9f4a2c8e6b1d3a5f7e0c2b1d4a6f8e2c0b1d3a5f7e0c2b1d4a6f8e2c0b1d3a5f",
      "request_id": "aw_5c8d2a4b6e0f1a3c5e7d9b2f",
      "ttl_seconds": 600
    },
    "type": "json"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "icao": "KLAS"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "airports": [
              {
                "forecast_24h": [
                  {
                    "precip_mm": 0,
                    "temp_c": 29,
                    "time": "2026-05-15T19:00:00Z",
                    "wind_dir": 185,
                    "wind_kt": 10
                  }
                ],
                "icao": "KLAS",
                "lat": 36.08,
                "lon": -115.15,
                "metar": {
                  "altimeter_inhg": 29.92,
                  "dewpoint_c": 5,
                  "flight_category": "VFR",
                  "observed_at": "2026-05-15T18:53:00Z",
                  "raw": "KLAS 151853Z 18008KT 10SM CLR 28/05 A2992",
                  "temp_c": 28,
                  "visibility_sm": 10,
                  "wind_dir": 180,
                  "wind_kt": 8
                },
                "name": "Harry Reid International",
                "sigmets": [],
                "source": "CorteX402",
                "taf": {
                  "raw": "TAF KLAS 151720Z 1518/1624 18010KT P6SM SKC",
                  "valid_from": "2026-05-15T18:00:00Z",
                  "valid_to": "2026-05-16T24:00:00Z"
                }
              }
            ],
            "fetched_at": "2026-05-15T18:54:00Z",
            "receipt_tx": "0x9f4a2c8e6b1d3a5f7e0c2b1d4a6f8e2c0b1d3a5f7e0c2b1d4a6f8e2c0b1d3a5f",
            "request_id": "aw_5c8d2a4b6e0f1a3c5e7d9b2f",
            "ttl_seconds": 600
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "icao": {
                    "description": "ICAO code (3–4 chars, e.g. \"KLAS\"). Runtime also accepts a JSON array of up to 10 ICAOs for batch lookups.",
                    "type": "string"
                  }
                },
                "required": [
                  "icao"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "aviation",
    "weather",
    "metar",
    "forecast",
    "aeronautical",
    "bazaar"
  ],
  "sourceHost": "jtifhcvbgxqwlywugvjv.supabase.co",
  "lastUpdated": "2026-09-17T05:40:58.38Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-17T05:40:58.144Z"
  },
  "metadata": {
    "serviceName": "CorteX402 Aviation Weather",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "icao": "KLAS"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "airports": [
                {
                  "forecast_24h": [
                    {
                      "precip_mm": 0,
                      "temp_c": 29,
                      "time": "2026-05-15T19:00:00Z",
                      "wind_dir": 185,
                      "wind_kt": 10
                    }
                  ],
                  "icao": "KLAS",
                  "lat": 36.08,
                  "lon": -115.15,
                  "metar": {
                    "altimeter_inhg": 29.92,
                    "dewpoint_c": 5,
                    "flight_category": "VFR",
                    "observed_at": "2026-05-15T18:53:00Z",
                    "raw": "KLAS 151853Z 18008KT 10SM CLR 28/05 A2992",
                    "temp_c": 28,
                    "visibility_sm": 10,
                    "wind_dir": 180,
                    "wind_kt": 8
                  },
                  "name": "Harry Reid International",
                  "sigmets": [],
                  "source": "CorteX402",
                  "taf": {
                    "raw": "TAF KLAS 151720Z 1518/1624 18010KT P6SM SKC",
                    "valid_from": "2026-05-15T18:00:00Z",
                    "valid_to": "2026-05-16T24:00:00Z"
                  }
                }
              ],
              "fetched_at": "2026-05-15T18:54:00Z",
              "receipt_tx": "0x9f4a2c8e6b1d3a5f7e0c2b1d4a6f8e2c0b1d3a5f7e0c2b1d4a6f8e2c0b1d3a5f",
              "request_id": "aw_5c8d2a4b6e0f1a3c5e7d9b2f",
              "ttl_seconds": 600
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "icao": {
                      "description": "ICAO code (3–4 chars, e.g. \"KLAS\"). Runtime also accepts a JSON array of up to 10 ICAOs for batch lookups.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "icao"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "jtifhcvbgxqwlywugvjv.supabase.co",
    "manifest_name": "jtifhcvbgxqwlywugvjv.supabase.co",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "airports": [
      {
        "forecast_24h": [
          {
            "precip_mm": 0,
            "temp_c": 29,
            "time": "2026-05-15T19:00:00Z",
            "wind_dir": 185,
            "wind_kt": 10
          }
        ],
        "icao": "KLAS",
        "lat": 36.08,
        "lon": -115.15,
        "metar": {
          "altimeter_inhg": 29.92,
          "dewpoint_c": 5,
          "flight_category": "VFR",
          "observed_at": "2026-05-15T18:53:00Z",
          "raw": "KLAS 151853Z 18008KT 10SM CLR 28/05 A2992",
          "temp_c": 28,
          "visibility_sm": 10,
          "wind_dir": 180,
          "wind_kt": 8
        },
        "name": "Harry Reid International",
        "sigmets": [],
        "source": "CorteX402",
        "taf": {
          "raw": "TAF KLAS 151720Z 1518/1624 18010KT P6SM SKC",
          "valid_from": "2026-05-15T18:00:00Z",
          "valid_to": "2026-05-16T24:00:00Z"
        }
      }
    ],
    "fetched_at": "2026-05-15T18:54:00Z",
    "receipt_tx": "0x9f4a2c8e6b1d3a5f7e0c2b1d4a6f8e2c0b1d3a5f7e0c2b1d4a6f8e2c0b1d3a5f",
    "request_id": "aw_5c8d2a4b6e0f1a3c5e7d9b2f",
    "ttl_seconds": 600
  }
}