{
  "openapi": "3.1.0",
  "info": {
    "title": "Airport Lounge List API",
    "version": "1.0.0",
    "description": "Machine access to the airport lounge directory: lounges, airports, networks, amenities and access rules. Commercial use requires an Enterprise subscription ($99/month) which provides an API key for both REST API and MCP access.",
    "contact": {
      "name": "Airport Lounge List",
      "url": "https://airportloungelist.com/mcp"
    }
  },
  "servers": [
    {
      "url": "https://airportloungelist.com/api/v1"
    }
  ],
  "x-service-info": {
    "categories": [
      "travel",
      "data"
    ],
    "docs": {
      "apiReference": "https://airportloungelist.com/openapi.json",
      "homepage": "https://airportloungelist.com/mcp",
      "llms": "https://airportloungelist.com/llms.txt"
    }
  },
  "x-payment-info": {
    "intent": "subscription",
    "method": "stripe",
    "amount": "9900",
    "currency": "usd",
    "interval": "month",
    "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
    "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
  },
  "components": {
    "responses": {
      "PaymentRequired": {
        "description": "Payment Required",
        "content": {
          "application/json": {
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "Ok": {
        "description": "OK",
        "content": {
          "application/json": {
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "NotFound": {
        "description": "Not Found"
      }
    },
    "parameters": {
      "Page": {
        "name": "page",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 1
        }
      },
      "Lat": {
        "name": "lat",
        "in": "query",
        "required": true,
        "schema": {
          "type": "number"
        }
      },
      "Lon": {
        "name": "lon",
        "in": "query",
        "required": true,
        "schema": {
          "type": "number"
        }
      },
      "Radius": {
        "name": "radius",
        "in": "query",
        "required": false,
        "description": "Search radius in miles.",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 300,
          "default": 60
        }
      }
    }
  },
  "paths": {
    "/lounges/nearby": {
      "get": {
        "operationId": "lounges_nearby",
        "summary": "Lounges within a radius of a point",
        "parameters": [
          {
            "$ref": "#/components/parameters/Lat"
          },
          {
            "$ref": "#/components/parameters/Lon"
          },
          {
            "$ref": "#/components/parameters/Radius"
          }
        ],
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          }
        }
      }
    },
    "/lounges/search": {
      "get": {
        "operationId": "lounges_search",
        "summary": "Full-text lounge search",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          }
        }
      }
    },
    "/lounges/{id}": {
      "get": {
        "operationId": "lounge_show",
        "summary": "One lounge, by slug or id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        }
      }
    },
    "/lounges/{slug}/reviews": {
      "get": {
        "operationId": "lounge_reviews",
        "summary": "Reviews for one lounge",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        }
      }
    },
    "/airports": {
      "get": {
        "operationId": "airports_index",
        "summary": "Airports, optionally filtered by query",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Page"
          }
        ],
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          }
        }
      }
    },
    "/airports/nearby": {
      "get": {
        "operationId": "airports_nearby",
        "summary": "Airports within a radius of a point",
        "parameters": [
          {
            "$ref": "#/components/parameters/Lat"
          },
          {
            "$ref": "#/components/parameters/Lon"
          },
          {
            "$ref": "#/components/parameters/Radius"
          }
        ],
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          }
        }
      }
    },
    "/airports/{iata}": {
      "get": {
        "operationId": "airport_show",
        "summary": "One airport, by IATA code",
        "parameters": [
          {
            "name": "iata",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 3,
              "maxLength": 3
            }
          }
        ],
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        }
      }
    },
    "/airports/{iata}/lounges": {
      "get": {
        "operationId": "airport_lounges",
        "summary": "Every lounge at one airport",
        "parameters": [
          {
            "name": "iata",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 3,
              "maxLength": 3
            }
          }
        ],
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        }
      }
    },
    "/access": {
      "get": {
        "operationId": "access_index",
        "summary": "Lounge access methods",
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          }
        }
      }
    },
    "/access/{method}": {
      "get": {
        "operationId": "access_show",
        "summary": "Lounges reachable by one access method",
        "parameters": [
          {
            "name": "method",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Page"
          }
        ],
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        }
      }
    },
    "/networks": {
      "get": {
        "operationId": "networks_index",
        "summary": "Lounge networks",
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          }
        }
      }
    },
    "/networks/{slug}": {
      "get": {
        "operationId": "network_show",
        "summary": "Lounges in one network",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Page"
          }
        ],
        "x-payment-info": {
          "intent": "subscription",
          "method": "stripe",
          "amount": "9900",
          "currency": "usd",
          "interval": "month",
          "subscribe_url": "https://airportloungelist.com/commercial_subscriptions/pricing",
          "description": "Enterprise API and MCP access subscription. $99/month for commercial production use by OTAs and AI assistants."
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "402": {
            "$ref": "#/components/responses/PaymentRequired"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        }
      }
    }
  }
}