{
  "openapi": "3.1.0",
  "info": {
    "title": "TravelPulse API",
    "description": "Global travel intelligence API for AI agents: weather, hotel deals, theme-park wait times, translation, trip plans, visas, health, currency, insurance, points. Any destination + language. x402 USDC. Serves travel planners, digital nomads, backpackers, and AI booking agents. All endpoints support any output language via ?lang=. Pay-per-call USDC (Base + Solana) via x402; no accounts, no keys.",
    "version": "1.3.0",
    "contact": {
      "name": "The Aslan Group LLC",
      "url": "https://pulsenetwork.theaslangroupllc.com",
      "email": "info@theaslangroupllc.com"
    },
    "x-guidance": "# TravelPulse API (x402 pay-per-call)\n\nAI-powered global travel intelligence for ANY destination on earth — major cities, small towns, rural areas, and everything in between. Live theme park wait times (100+ parks globally), crowd predictions, 7-day weather forecasts, trip itineraries, travel deals including Airbnb/VRBO/Booking.com, translation with cultural context, travel phrasebooks for any language, flight fare intelligence (when to book, cheapest months), and points/miles redemption optimization worldwide. Pay-per-query via x402\n\nBase URL: https://travelpulse.theaslangroupllc.com\n\n## Payment\nAll paid endpoints use the x402 protocol (HTTP 402): USDC on Base mainnet (eip155:8453). No API keys, no accounts, no subscriptions — pay per call.\n\n## Agent workflow\n1. Request the endpoint. Unpaid requests receive a 402 challenge with exact price and pay-to details (the challenge is returned before request validation).\n2. Settle with any x402 client (agentcash fetch, x402-fetch, x402-axios) and retry with the X-PAYMENT header.\n3. Responses are JSON. Prices below are fixed per call.\n\n## Paid endpoints\n- GET /api/parks/waits — $0.05 — Live ride wait times for any theme park globally with visit optimization strategy\n- GET /api/parks/hours — $0.05 — Park operating hours, show schedule, and special events\n- GET /api/parks/crowds — $0.08 — Crowd level prediction (1-10) for any park on any date with alternative date recommendations\n- GET /api/travel/weather — $0.1 — 7-day weather forecast for any destination with travel impact and packing advice\n- GET /api/travel/deals — $0.08 — Current hotel deals, Airbnb/VRBO options, attraction discounts, and money-saving tips for any destination\n- GET /api/travel/plan — $0.2 — Complete day-by-day trip itinerary for any destination on earth — major cities to small towns. Includes accommodation (hotels + Airbnb/VRBO), experiences (GetYo\n- GET /api/travel/visa — $0.08 — Visa requirements for any nationality/destination pair — visa-on-arrival vs e-visa vs consulate, processing time, cost, required documents, and entry validity\n- GET /api/travel/health — $0.08 — Destination health advisories — required and recommended vaccines, malaria risk by region, food/water safety, outbreak alerts, and travel health insurance guida\n- GET /api/travel/insurance — $0.08 — Travel insurance comparison by trip type — trip cancellation, adventure sports coverage, medical-only nomad plans, and annual multi-trip options with purchase l\n- GET /api/travel/pack — $0.1 — AI packing list by destination, climate, and activities — categorized gear lists with quantities, carry-on-only optimization, and shopping links\n- GET /api/travel/budget — $0.1 — Daily travel budget breakdown by destination and style — accommodation, food, transport, and activity costs at budget/mid-range/luxury tiers with savings tips\n- GET /api/travel/currency — $0.08 — Currency exchange rates and money tips for any destination — live rates, ATM fees, cash vs card guidance, and currency app recommendations\n- GET /api/travel/phrasebook — $0.05 — Practical travel phrasebook for any language and context (dining, transport, hotel, emergency, etc.) with pronunciation\n- GET /api/travel/translate — $0.03 — Natural travel-context translation with pronunciation guide and cultural notes\n- GET /api/travel/fare-intel — $0.12 — Flight price intelligence for any route worldwide — when to book, cheapest months, layover/alternate-airport strategies, buy-now-or-wait verdict\n- GET /api/travel/points — $0.12 — Points & miles redemption optimizer for any goal and region worldwide — transfer partners, sweet-spot awards, devaluation warnings, earning strategy\n- GET /api/travel/trip-check — $0.5 — One-call pre-booking clearance for booking agents: visa/entry, vaccines/health, safety advisory, weather window, and money — each clear/caution/blocker with act\n- GET /api/travel/disruption — $0.25 — Flight disruption risk (0-100) for an airport and date: live weather forecast severity + strikes, congestion, seasonal delay patterns; mitigation steps and appl\n- GET /api/rights/check — $0.05 — Deterministic flight compensation eligibility across 7 regimes — EU261/UK261/Canada APPR (incl. s.20 denied boarding)/Brazil ANAC 400/Turkey SHY/India DGCA/Isra\n- GET /api/rights/letter — $2 — Citation-backed compensation claim letter across 7 regimes plus Montreal Convention baggage complaints: deterministic eligibility plus a ready-to-send demand le\n\nMore APIs from this provider: https://pulsenetwork.theaslangroupllc.com (grouped catalog, all x402)."
  },
  "servers": [
    {
      "url": "https://travelpulse.theaslangroupllc.com"
    }
  ],
  "paths": {
    "/api/parks/waits": {
      "get": {
        "summary": "Live park wait times",
        "description": "Real-time ride wait times for any theme park globally with visit optimization strategy. Covers Disney, Universal, SeaWorld, Six Flags, Europa-Park, Tokyo Disney, and 100+ more.",
        "operationId": "parksWaits",
        "parameters": [
          {
            "name": "park",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Park name or slug e.g. magic-kingdom, universal-studios-florida, europa-park"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Wait times + strategy"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-price-usd": 0.05,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Parks crowd intelligence; Expedia/Hotels.com booking links for nearby accommodation auto-appended",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/parks/hours": {
      "get": {
        "summary": "Park hours and schedule",
        "description": "Park operating hours, show times, and special events for any theme park globally.",
        "operationId": "parksHours",
        "parameters": [
          {
            "name": "park",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "description": "YYYY-MM-DD, default today"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Park schedule"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-price-usd": 0.05,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Quick lookup — chain at start of any parks itinerary workflow",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/parks/crowds": {
      "get": {
        "summary": "Crowd prediction",
        "description": "Crowd level prediction (1-10 scale) for any park on any date, with alternative date recommendations.",
        "operationId": "parksCrowds",
        "parameters": [
          {
            "name": "park",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Crowd prediction"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-price-usd": 0.08,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Run before /api/parks/waits to pick optimal dates; pairs with /api/travel/plan for full national park itinerary",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/weather": {
      "get": {
        "summary": "Travel weather forecast",
        "description": "7-day weather forecast for any destination worldwide with travel impact analysis and packing recommendations.",
        "operationId": "travelWeather",
        "parameters": [
          {
            "name": "destination",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Weather forecast"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-price-usd": 0.15,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Run before /api/travel/pack for packing context; pairs with /api/travel/deals to identify optimal weather windows",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/deals": {
      "get": {
        "summary": "Travel deals",
        "description": "Current hotel deals, attraction discounts, restaurant offers, and money-saving tips for any destination.",
        "operationId": "travelDeals",
        "parameters": [
          {
            "name": "destination",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Travel deals"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-price-usd": 0.08,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Chain before /api/travel/plan to identify low-season windows; Expedia booking links auto-appended",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/plan": {
      "get": {
        "summary": "Trip itinerary",
        "description": "Complete day-by-day trip itinerary for any destination. Includes must-dos, what to avoid, budget estimate, and practical info. Supports any travel style and budget tier.",
        "operationId": "travelPlan",
        "parameters": [
          {
            "name": "destination",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 5,
              "maximum": 14
            }
          },
          {
            "name": "style",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "cultural",
                "adventure",
                "relaxation",
                "foodie",
                "mixed"
              ]
            }
          },
          {
            "name": "budget",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "budget",
                "mid-range",
                "luxury"
              ]
            }
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Trip itinerary"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-price-usd": 0.2,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Start here for any destination; chain to /api/travel/visa, /api/travel/health, /api/travel/insurance; booking_links (Expedia/Hotels.com/VRBO) auto-appended to response",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.200000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/visa": {
      "get": {
        "summary": "Visa requirements by nationality and destination",
        "description": "AI-synthesized visa requirements for any nationality/destination combination. Returns: visa-on-arrival vs. e-visa vs. consulate visa, processing time, cost, required documents, entry validity and stay duration, multiple-entry options, and visa-free duration if applicable. Covers 195 destinations x 195 nationalities. Also surfaces long-stay and digital nomad visa options. Flags border crossing policies and land-entry rules.",
        "operationId": "travelVisa",
        "x-price-usd": 0.08,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Run before /api/travel/plan to confirm entry is possible; follow with /api/travel/insurance for mandatory travel insurance (Schengen); pairs with ImmigrationPulse /api/status for long-stay visa deep dive",
        "parameters": [
          {
            "name": "passport",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Passport nationality (e.g. US, UK, India, Brazil, Nigeria). `nationality` accepted as an alias."
          },
          {
            "name": "destination",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Destination country (e.g. Japan, France, Thailand, Kenya)"
          },
          {
            "name": "purpose",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Visit purpose (tourism, business, nomad, transit)"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language"
          }
        ],
        "responses": {
          "200": {
            "description": "Visa requirements with processing details, costs, and required documents"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/health": {
      "get": {
        "summary": "Destination health advisories and vaccine requirements",
        "description": "Health risk assessment for any destination. Returns: required vaccinations (Yellow Fever, etc.), recommended vaccines, malaria prophylaxis recommendations by region within country, food/water safety, altitude sickness risk, current outbreak alerts (dengue, cholera, etc.), healthcare quality rating, nearest international hospitals, and travel health insurance recommendations. Sources: CDC, WHO, ECDC, UK FCDO travel health. Updated via real-time search.",
        "operationId": "travelHealth",
        "x-price-usd": 0.08,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Run before /api/travel/plan for health-risk destinations; pairs with /api/travel/insurance for medical evacuation coverage; follow with /api/travel/pack for medical supplies packing list",
        "parameters": [
          {
            "name": "destination",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Destination country or region"
          },
          {
            "name": "nationality",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Traveler nationality — some vaccines required only for specific nationals"
          },
          {
            "name": "trip_duration",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Trip duration (affects prophylaxis recommendations)"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language"
          }
        ],
        "responses": {
          "200": {
            "description": "Health advisories, vaccine requirements, and medical preparation checklist"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/insurance": {
      "get": {
        "summary": "Travel insurance comparison and recommendation",
        "description": "AI-synthesized travel insurance recommendation for any trip type and destination. Compares: comprehensive trip cancellation (Allianz, InsureMyTrip), adventure sports coverage, medical-only travel insurance (SafetyWing), long-term nomad/expat coverage, and annual multi-trip plans. Surfaces the right product by trip type — vacation, nomad, backpacker, adventure, cruise, business. Direct purchase links for compared providers included in response.",
        "operationId": "travelInsurance",
        "x-price-usd": 0.08,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Run after /api/travel/plan for trip value protection; pairs with RiskPulse /api/risk/travel for full risk picture; InsureMyTrip + Squaremouth comparison links auto-appended",
        "parameters": [
          {
            "name": "destination",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Trip destination"
          },
          {
            "name": "trip_type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "vacation",
                "nomad",
                "adventure",
                "backpacker",
                "business",
                "cruise"
              ]
            },
            "description": "Trip type — determines coverage priorities"
          },
          {
            "name": "duration_days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Trip duration in days"
          },
          {
            "name": "trip_cost_usd",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Total prepaid trip cost in USD — for cancellation coverage sizing"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language"
          }
        ],
        "responses": {
          "200": {
            "description": "Insurance recommendations with comparison, coverage details, and purchase links"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/pack": {
      "get": {
        "summary": "AI packing list by destination, climate, and activities",
        "description": "Personalized packing list optimized for destination climate, planned activities, duration, and bag constraints. Returns categorized lists (clothing, toiletries, electronics, documents, health/safety, activity-specific gear) with quantity recommendations, climate-appropriate substitutions, carry-on-only optimization mode, and Amazon shopping links for recommended items. Accounts for cultural dress codes and activity requirements (diving, trekking, business, beach, winter). Global coverage with seasonal adjustments.",
        "operationId": "travelPack",
        "x-price-usd": 0.1,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Chain after /api/travel/plan with weather + activities context; pairs with /api/travel/health for medical supplies; Amazon affiliate links auto-appended to gear items",
        "parameters": [
          {
            "name": "destination",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Travel destination"
          },
          {
            "name": "duration",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Trip duration in days"
          },
          {
            "name": "activities",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Planned activities (e.g. hiking, beach, business, diving, winter sports)"
          },
          {
            "name": "bag_type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "carry-on",
                "checked",
                "backpack"
              ]
            },
            "description": "Luggage constraint"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language"
          }
        ],
        "responses": {
          "200": {
            "description": "Categorized packing list with quantities, alternatives, and Amazon purchase links"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/budget": {
      "get": {
        "summary": "Daily travel budget by destination and style",
        "description": "AI-synthesized daily travel budget breakdown for any destination at budget/mid-range/luxury tiers. Returns: accommodation cost range, food cost range, local transport, activities, average daily total, 7-day and 30-day total estimates, and money-saving tips specific to the destination. Covers 195+ countries with current data. Accounts for seasonality, city vs. rural cost differences, and digital nomad-specific costs (coworking, SIM cards, health insurance).",
        "operationId": "travelBudget",
        "x-price-usd": 0.1,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Run after destination is selected; pairs with /api/travel/currency for daily budget in local currency equivalent; pairs with RiskPulse /api/risk/nomad for nomad cost + safety combined view",
        "parameters": [
          {
            "name": "destination",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Destination country or city"
          },
          {
            "name": "style",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "budget",
                "mid-range",
                "luxury",
                "nomad"
              ]
            },
            "description": "Travel style (default: mid-range)"
          },
          {
            "name": "duration",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Number of days for total estimate"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language"
          }
        ],
        "responses": {
          "200": {
            "description": "Daily budget breakdown by category with total estimates and savings tips"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/currency": {
      "get": {
        "summary": "Currency exchange rates and money tips for destination",
        "description": "Real-time currency exchange rates plus practical money guidance for any destination. Returns: live exchange rate, ATM availability and typical fees, cash vs. card recommendations, currency apps (Wise, Revolut, Charles Schwab) ranked by suitability for destination, black market warning if applicable, and tipping customs. Wise referral link included for favorable rates.",
        "operationId": "travelCurrency",
        "x-price-usd": 0.08,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Chain after /api/travel/plan destination is confirmed; Wise exchange affiliate included; pairs with /api/travel/budget for cost-per-day calculations in local currency",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Home currency (e.g. USD, EUR, GBP) — default: USD"
          },
          {
            "name": "to",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Destination currency or country name"
          },
          {
            "name": "amount",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Amount to convert for reference calculation"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language"
          }
        ],
        "responses": {
          "200": {
            "description": "Exchange rate, money access tips, and Wise affiliate link"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.080000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/phrasebook": {
      "get": {
        "summary": "Essential travel phrasebook by destination language",
        "description": "Essential travel phrases for any destination language with phonetic pronunciation. Returns: greeting/farewell, numbers 1-10, transport phrases, food ordering, emergency phrases, accommodation phrases, shopping/bargaining, and cultural etiquette notes. Supports 100+ language pairs. Babbel language learning affiliate included for travelers seeking deeper fluency.",
        "operationId": "travelPhrasebook",
        "x-price-usd": 0.05,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Call after /api/travel/plan destination is confirmed; pairs with Babbel for longer stays; supports 100+ languages via output ?lang= parameter",
        "parameters": [
          {
            "name": "destination",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Destination country or language (e.g. Japan, Thai, Morocco)"
          },
          {
            "name": "focus",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Phrase focus area (transport, food, emergency, shopping, all)"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language for explanations (phrases always in destination language)"
          }
        ],
        "responses": {
          "200": {
            "description": "Essential travel phrases with phonetic pronunciation and cultural etiquette notes"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/translate": {
      "get": {
        "summary": "Real-time travel translation (menus, signs, conversations)",
        "description": "Context-aware travel translation for real-world situations: menu items with descriptions, street signs, instructions, product labels, or conversational text. Returns accurate translation with cultural context and pronunciation guide. Supports 100+ language pairs. Optimized for travel contexts — recognizes local dish names, regional idioms, and destination-specific terms.",
        "operationId": "travelTranslate",
        "x-price-usd": 0.03,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Pairs with /api/travel/phrasebook for phrase context; call during trip for in-situ translation needs; supports 100+ languages",
        "parameters": [
          {
            "name": "text",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Text to translate"
          },
          {
            "name": "from_lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Source language (auto-detected if omitted)"
          },
          {
            "name": "to_lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Target language (default: English)"
          },
          {
            "name": "context",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Context hint (menu, sign, conversation, product)"
          }
        ],
        "responses": {
          "200": {
            "description": "Translation with pronunciation guide and cultural context"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/fare-intel": {
      "get": {
        "summary": "Flight fare intelligence — when to book, cheapest months",
        "description": "Flight price intelligence for any route worldwide. Returns typical fare ranges by season (labeled estimates), booking-timing guidance, cheapest-month analysis, layover/alternate-airport strategies, fare-class and baggage gotchas, mistake-fare/deal-alert channel names, and a buy-now-or-wait verdict with a confidence label.",
        "operationId": "travelFareIntel",
        "parameters": [
          {
            "name": "route",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Route, e.g. 'LHR-JFK' or 'London to Tokyo'"
          },
          {
            "name": "month_or_dates",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Target month or dates"
          },
          {
            "name": "cabin",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "economy | premium_economy | business | first"
          },
          {
            "name": "flexibility",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "exact | ±3days | month"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language"
          }
        ],
        "responses": {
          "200": {
            "description": "Fare intelligence brief with booking-timing verdict"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-price-usd": 0.12,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Chain before /api/travel/plan or /api/travel/points to decide cash vs award booking; Expedia flight booking link auto-appended",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.120000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/points": {
      "get": {
        "summary": "Points & miles redemption optimizer",
        "description": "Points and miles optimization for any redemption goal and region worldwide. Returns best redemption strategies, transfer-partner paths, realistic point valuations (labeled estimates), sweet-spot awards, devaluation warnings, region-appropriate earning strategy, and booking-timing guidance. Covers non-US programs (Aeroplan, Avios, Qantas Frequent Flyer, KrisFlyer, Miles & More) as well as US ecosystems.",
        "operationId": "travelPoints",
        "parameters": [
          {
            "name": "goal",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Redemption goal, e.g. 'business class to Japan' or 'free hotel week in Europe'"
          },
          {
            "name": "region",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Country/region the user holds cards/programs in"
          },
          {
            "name": "programs",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated list of programs/cards the user holds"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language"
          }
        ],
        "responses": {
          "200": {
            "description": "Points & miles redemption strategy"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-price-usd": 0.12,
        "x-agent-use-case": "on-demand",
        "x-agent-chaining": "Chain after /api/travel/fare-intel to compare cash vs award value for the same route/goal",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.120000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/trip-check": {
      "get": {
        "summary": "One-call pre-booking trip clearance (visa + health + safety + weather + money)",
        "description": "Composite pre-booking check built for AI booking agents: visa/entry requirements, required vaccines and health rules, government safety advisories, weather window (live MET Norway forecast), and money practicalities — each scored clear/caution/blocker with a concrete action, one overall verdict, and a documents checklist. Replaces five separate calls immediately before committing to a booking.",
        "operationId": "travelTripCheck",
        "x-price-usd": 0.5,
        "x-agent-use-case": "pre-booking gate",
        "x-agent-chaining": "Run immediately before purchasing flights/hotels; on 'caution' follow the per-category action (e.g. /api/travel/visa for depth); pairs with /api/travel/disruption for the departure airport",
        "parameters": [
          {
            "name": "passport",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Passport nationality (e.g. US, UK, India, Brazil, Nigeria)"
          },
          {
            "name": "destination",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Destination country or city (e.g. Japan, Paris, Kenya)"
          },
          {
            "name": "dates",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Travel window, free-form (e.g. 2026-09-10 to 2026-09-20)"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language (any human language)"
          }
        ],
        "responses": {
          "200": {
            "description": "Clearance report: verdict, per-category status/reason/action, documents checklist, booking-agent notes, sources"
          },
          "400": {
            "description": "Paid request missing passport or destination"
          },
          "402": {
            "description": "Payment required — x402 USDC (Base or Solana), $0.50"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.500000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/travel/disruption": {
      "get": {
        "summary": "Flight disruption risk for an airport and date",
        "description": "0-100 disruption risk score for a specific airport (or city) and travel date: live 7-day weather forecast severity (MET Norway) combined with strikes, ATC/congestion history, construction, and seasonal delay patterns. Returns drivers, ordered mitigation steps (booking-time and day-of), whether trip insurance is worth it at this risk level, and which passenger-rights compensation regimes (EU261/UK261/Canada APPR/US DOT) apply.",
        "operationId": "travelDisruption",
        "x-price-usd": 0.25,
        "x-agent-use-case": "pre-booking and pre-departure",
        "x-agent-chaining": "Run at booking time to choose dates/airports and again 48h before departure; on high risk follow with /api/travel/insurance; pairs with /api/travel/trip-check",
        "parameters": [
          {
            "name": "airport",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Airport IATA code or city (e.g. JFK, Heathrow, Frankfurt)"
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Travel date YYYY-MM-DD (defaults to near-term outlook)"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language (any human language)"
          }
        ],
        "responses": {
          "200": {
            "description": "Risk score/band, drivers, weather outlook, known disruptions, mitigation, passenger-rights note, sources"
          },
          "400": {
            "description": "Paid request missing airport"
          },
          "402": {
            "description": "Payment required — x402 USDC (Base or Solana), $0.25"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.250000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/rights/check": {
      "get": {
        "summary": "Flight compensation eligibility — EU261 / UK261 / Canada APPR / Brazil ANAC 400 / Turkey SHY / India DGCA (deterministic)",
        "description": "Deterministic eligibility scan across SEVEN passenger-rights regimes: EU261 (Reg. 261/2004 + Sturgeon/van der Lans/Krüsemann case law), UK261 (SI 2019/278 amounts), Canada APPR (SOR/2019-150 s.19), Brazil ANAC Resolution 400 (denied-boarding SDR amounts + assistance rights + CDC court route, honestly labeled — no fixed delay schedule exists), Turkey SHY-YOLCU (€100 domestic flat / €250-600 international bands, 2024 delay amendment), India DGCA CAR S3 M-IV (cancellation ₹5,000-10,000 by block time; denied-boarding fare formulas), and Israel Aviation Services Law 5772-2012 (₪1,530/2,450/3,670 CPI-indexed for cancellations and 8h+ delays, flights to/from Israel any carrier). Canada APPR now includes the s.20 denied-boarding scale (C$900/1,800/2,400). Also computes Montreal Convention BAGGAGE claims (disruption=baggage_delay|baggage_damage|baggage_loss): effective-dated SDR caps (1,288 before 2024-12-28, 1,519 after) and Art. 31 written-complaint deadline math (7 days damage / 21 days delay). Returns per-regime applicability, amounts with article-level citations, carrier defenses with counters, evidence checklist, and an honest coverage block (US DOT documented-no). No LLM — every number is recomputable. Distance is great-circle from the OurAirports dataset per Art. 7(4).",
        "operationId": "rightsCheck",
        "x-price-usd": 0.05,
        "x-agent-use-case": "after any disrupted flight; chain from /api/travel/disruption",
        "x-agent-chaining": "If eligible, call /api/rights/letter with the same params + airline/flight_number/flight_date for the ready-to-send claim letter",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Departure airport IATA code (e.g. FRA)"
          },
          {
            "name": "to",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Final-destination airport IATA code (e.g. JFK)"
          },
          {
            "name": "delay_hours",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Arrival delay at final destination in hours (e.g. 4.5)"
          },
          {
            "name": "carrier_country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Operating carrier home country ISO code, or EU (default EU)"
          },
          {
            "name": "disruption",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "delay",
                "cancellation",
                "denied_boarding",
                "baggage_delay",
                "baggage_damage",
                "baggage_loss"
              ]
            },
            "description": "delay | cancellation | denied_boarding | baggage_delay | baggage_damage | baggage_loss (default delay)"
          },
          {
            "name": "reason",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "technical",
                "crew",
                "rotation_knock_on",
                "airline_staff_strike",
                "weather",
                "atc",
                "security",
                "external_strike",
                "bird_strike",
                "medical_diversion",
                "unknown"
              ]
            },
            "description": "Cause per the carrier (default unknown — burden of proof is the carrier's)"
          },
          {
            "name": "notice_days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Cancellations: days of advance notice"
          },
          {
            "name": "carrier_size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "large",
                "small"
              ]
            },
            "description": "Canada APPR carrier size (default large)"
          },
          {
            "name": "distance_km",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Great-circle distance override for airports outside the reference table"
          },
          {
            "name": "block_time_hours",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "India DGCA cancellations: scheduled block time in hours (estimated from distance if omitted, labeled [ESTIMATE])"
          },
          {
            "name": "bag_received_date",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Baggage claims: date the bag was returned/received (YYYY-MM-DD) — computes the Art. 31 complaint deadline"
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Incident/flight date YYYY-MM-DD — baggage: selects the effective Montreal SDR cap"
          }
        ],
        "responses": {
          "200": {
            "description": "findings per regime, best claim, additional rights, evidence needed, coverage honesty block"
          },
          "400": {
            "description": "Paid request missing from/to/delay_hours"
          },
          "402": {
            "description": "Payment required — x402 USDC, $0.10"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/rights/letter": {
      "get": {
        "summary": "Citation-backed flight compensation claim letter (6 regimes, ready to send)",
        "description": "Runs the same deterministic 6-regime engine (EU261/UK261/Canada APPR/Brazil ANAC 400/Turkey SHY/India DGCA), then drafts a firm claim letter locked to the engine's citations and amount: facts, legal basis, pre-empted carrier defenses (technical faults and own-staff strikes are not extraordinary — C-257/14, C-195/17), demand with response deadline, escalation path (NEB / CAA ADR / CTA), enclosures list. If the engine finds no compensable claim, no letter is drafted and the response says exactly why (honest-no). Any language via lang=. v2.1: adds Israel ASL and Montreal Convention baggage complaint letters (the letter itself constitutes the Art. 31 written complaint; honest-no on expired complaint windows — no letter sold on likely-barred claims). Optional claim_value param carries documented baggage damages.",
        "operationId": "rightsLetter",
        "x-price-usd": 2,
        "x-agent-use-case": "one call from disrupted flight to sendable demand letter",
        "x-agent-chaining": "Chain from /api/rights/check or call directly; letter references the exact articles the engine selected",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Departure airport IATA code (e.g. FRA)"
          },
          {
            "name": "to",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Final-destination airport IATA code (e.g. JFK)"
          },
          {
            "name": "delay_hours",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Arrival delay at final destination in hours (e.g. 4.5)"
          },
          {
            "name": "carrier_country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Operating carrier home country ISO code, or EU (default EU)"
          },
          {
            "name": "disruption",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "delay",
                "cancellation",
                "denied_boarding",
                "baggage_delay",
                "baggage_damage",
                "baggage_loss"
              ]
            },
            "description": "delay | cancellation | denied_boarding | baggage_delay | baggage_damage | baggage_loss (default delay)"
          },
          {
            "name": "reason",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "technical",
                "crew",
                "rotation_knock_on",
                "airline_staff_strike",
                "weather",
                "atc",
                "security",
                "external_strike",
                "bird_strike",
                "medical_diversion",
                "unknown"
              ]
            },
            "description": "Cause per the carrier (default unknown — burden of proof is the carrier's)"
          },
          {
            "name": "notice_days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Cancellations: days of advance notice"
          },
          {
            "name": "carrier_size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "large",
                "small"
              ]
            },
            "description": "Canada APPR carrier size (default large)"
          },
          {
            "name": "distance_km",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Great-circle distance override for airports outside the reference table"
          },
          {
            "name": "airline",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Airline name for the letter"
          },
          {
            "name": "flight_number",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Flight number (e.g. LH400)"
          },
          {
            "name": "flight_date",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Flight date YYYY-MM-DD"
          },
          {
            "name": "passenger_name",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Passenger name (placeholder used if omitted)"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Letter language (default English)"
          },
          {
            "name": "bag_received_date",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Baggage claims: date the bag was returned/received (Art. 31 deadline math)"
          },
          {
            "name": "claim_value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Baggage claims: documented damages with currency (e.g. '480 USD') — demanded in the letter, capped by the Montreal limit"
          }
        ],
        "responses": {
          "200": {
            "description": "eligibility + amount + legal_basis + complete letter_text + escalation path; or honest-no with engine findings"
          },
          "400": {
            "description": "Paid request missing from/to/delay_hours"
          },
          "402": {
            "description": "Payment required — x402 USDC, $2.00"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "2.000000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    }
  }
}
