{
  "openapi": "3.0.3",
  "info": {
    "title": "Housewarming Kit – curated gift wishlist API",
    "version": "1.0.0",
    "description": "Create a gift wishlist for housewarming / moving in in seconds from curated amazon.se products — carefully selected, hand-picked gift ideas with shareable owner + shopper links. Curated by us (no customer reviews or ratings). Keywords: gift ideas, wishlist, gift list, shopping list, presenttips, önskelista, inflyttningsfest. Quickstart: POST /api/v1/agent/create-and-fill → shopUrl. First-apartment kits, housewarming recommendation lists, and shareable shopping lists with Amazon purchase links. Agents MUST pass marketplace + locale. CORS *. amazon.se product buyUrls include ?tag=sw-housewarm-21; other storefronts stay untagged."
  },
  "servers": [
    {
      "url": "https://housewarming-kit.vercel.app"
    }
  ],
  "paths": {
    "/api/v1/health": {
      "get": {
        "operationId": "getHealth",
        "summary": "Health, trackingTag, marketplaces",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/marketplaces": {
      "get": {
        "operationId": "listMarketplaces",
        "summary": "List Amazon marketplaces",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/search": {
      "get": {
        "operationId": "searchAmazon",
        "summary": "Search apartment / housewarming essentials",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "marketplace",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "moveType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "budgetBand",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "roomFocus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Search results with buyUrl"
          }
        }
      }
    },
    "/api/v1/catalog": {
      "get": {
        "operationId": "getCatalog",
        "summary": "Curated kit starters",
        "parameters": [
          {
            "name": "marketplace",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Catalog items with buyUrl"
          }
        }
      }
    },
    "/api/v1/products/resolve": {
      "post": {
        "operationId": "resolveProduct",
        "summary": "Resolve ASIN/URL/keywords to buyUrl",
        "responses": {
          "200": {
            "description": "buyUrl + trackingTag"
          }
        }
      }
    },
    "/api/v1/wishlists": {
      "post": {
        "operationId": "createWishlist",
        "summary": "Create kit list",
        "responses": {
          "200": {
            "description": "id, editToken, ownerUrl, shopUrl"
          }
        }
      }
    },
    "/api/v1/agent/create-and-fill": {
      "post": {
        "operationId": "agentCreateAndFill",
        "summary": "One-shot create kit and fill items",
        "responses": {
          "200": {
            "description": "Kit with items"
          }
        }
      }
    },
    "/api/mcp": {
      "post": {
        "operationId": "mcp",
        "summary": "Remote MCP (Streamable HTTP)",
        "responses": {
          "200": {
            "description": "MCP JSON / SSE"
          }
        }
      }
    }
  }
}