{
  "openapi": "3.0.1",
  "info": {
    "title": "Klook MCP Server: Tours, Tickets, Prices & Reviews for AI",
    "description": "MCP server for AI agents (Claude, ChatGPT, Cursor, n8n): search Klook activities with every filter, read activity pages, packages, open dates, time slots, ticket prices and reviews. Pay per tool call, no proxy needed. Batch mode too.",
    "version": "0.0",
    "x-build-id": "sSi8TcKurJ3bXSbt2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nice_dev~klook-mcp-server/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nice_dev-klook-mcp-server",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/nice_dev~klook-mcp-server/runs": {
      "post": {
        "operationId": "runs-sync-nice_dev-klook-mcp-server",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/nice_dev~klook-mcp-server/run-sync": {
      "post": {
        "operationId": "run-sync-nice_dev-klook-mcp-server",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "tool": {
            "title": "Tool to call",
            "enum": [
              "search_activities",
              "get_activity",
              "get_package_details",
              "get_availability",
              "get_ticket_prices",
              "get_reviews",
              "get_activities_by_ids",
              "get_similar_activities",
              "find_destinations",
              "get_categories",
              "get_popular_destinations"
            ],
            "type": "string",
            "description": "One tool call for a normal run (Console, API, scheduler, Make, n8n). Its arguments go in 'Tool arguments'. Not run when 'Several tool calls' holds calls: then put every call in that list. In Standby mode (MCP server) this field is ignored: the AI agent picks the tools."
          },
          "arguments": {
            "title": "Tool arguments",
            "type": "object",
            "description": "Arguments of the tool above, as JSON. Example for search_activities: {\"query\": \"universal studios japan\", \"pageSize\": 10}. Every tool and argument is described in the README (section MCP tools)."
          },
          "calls": {
            "title": "Several tool calls",
            "maxItems": 100,
            "type": "array",
            "description": "Several calls in one run, each {\"tool\": \"<name>\", \"arguments\": {…}}. Up to 100 calls per run; one dataset row and one charge per successful call. When filled, 'Tool to call' is not run: put every call here.",
            "default": []
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "AUD",
              "CAD",
              "NZD",
              "CHF",
              "JPY",
              "KRW",
              "CNY",
              "HKD",
              "TWD",
              "MOP",
              "SGD",
              "MYR",
              "THB",
              "IDR",
              "PHP",
              "VND",
              "INR",
              "AED",
              "SAR",
              "QAR",
              "KWD",
              "ILS",
              "TRY",
              "SEK",
              "NOK",
              "DKK",
              "PLN",
              "CZK",
              "HUF",
              "ZAR",
              "BRL",
              "MXN",
              "RUB",
              "LKR",
              "KHR",
              "LAK",
              "MMK",
              "FJD",
              "EGP",
              "JOD",
              "OMR",
              "BHD",
              "MAD",
              "ISK"
            ],
            "type": "string",
            "description": "Currency of every price, unless a call sets its own 'currency' argument.",
            "default": "USD"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en_US",
              "zh_TW",
              "zh_CN",
              "zh_HK",
              "ja_JP",
              "ko_KR",
              "th_TH",
              "vi_VN",
              "id_ID",
              "ms_MY",
              "fr_FR",
              "de_DE",
              "es_ES",
              "it_IT",
              "ru_RU",
              "pt_BR",
              "nl_NL",
              "pl_PL"
            ],
            "type": "string",
            "description": "Language of titles, descriptions and reviews, unless a call sets its own 'language' argument.",
            "default": "en_US"
          },
          "maxConcurrency": {
            "title": "Requests to Klook at the same time",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Maximum number of requests sent to Klook at the same time by one run (normal run or MCP server).",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: Klook answers the Apify servers directly. Datacenter proxy or your own proxy URLs accepted; the RESIDENTIAL group is refused.",
            "default": {
              "useApifyProxy": false
            }
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Log each request sent to Klook.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}