{
  "openapi": "3.0.1",
  "info": {
    "title": "Kids Activities & Indoor Playground Intelligence",
    "description": "Discover and enrich kids activity venues, playgrounds, and family entertainment centers.",
    "version": "0.1",
    "x-build-id": "D4FNVexrpuu6ltXgq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/obliging_persimmon_cki~kids-activities-playground-intelligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-obliging_persimmon_cki-kids-activities-playground-intelligence",
        "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/obliging_persimmon_cki~kids-activities-playground-intelligence/runs": {
      "post": {
        "operationId": "runs-sync-obliging_persimmon_cki-kids-activities-playground-intelligence",
        "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/obliging_persimmon_cki~kids-activities-playground-intelligence/run-sync": {
      "post": {
        "operationId": "run-sync-obliging_persimmon_cki-kids-activities-playground-intelligence",
        "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",
        "required": [
          "locations"
        ],
        "properties": {
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Cities, regions, or countries to search. Include the country name when a place could be ambiguous.",
            "items": {
              "type": "string"
            },
            "default": [
              "London, United Kingdom"
            ]
          },
          "venueTypes": {
            "title": "Venue types",
            "type": "array",
            "description": "Venue taxonomy IDs to search. Output types are classified separately from venue and website evidence and may differ from the search types.",
            "items": {
              "type": "string",
              "enum": [
                "indoor_playground",
                "soft_play_center",
                "kids_activity_center",
                "family_entertainment_center",
                "trampoline_park",
                "children_museum",
                "play_cafe",
                "birthday_party_venue",
                "adventure_park",
                "water_playground",
                "role_play_center",
                "kids_club",
                "outdoor_playground",
                "other"
              ]
            },
            "default": [
              "indoor_playground",
              "soft_play_center",
              "trampoline_park"
            ]
          },
          "customSearchTerms": {
            "title": "Custom search terms",
            "type": "array",
            "description": "Additional local-language terms to search.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxPlacesPerLocation": {
            "title": "Maximum places per location",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Hard cap for discovery results per location.",
            "default": 5
          },
          "includeWebsiteEnrichment": {
            "title": "Enrich official websites",
            "type": "boolean",
            "description": "Crawl selected pages on identified official websites. Keep the individual extraction options enabled to populate their corresponding output fields.",
            "default": true
          },
          "includeReviews": {
            "title": "Analyze public reviews",
            "type": "boolean",
            "description": "Analyze public reviews when a review source is configured. Live Google Maps review collection is not available in this MVP.",
            "default": false
          },
          "maxReviewsPerPlace": {
            "title": "Maximum reviews per place",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Hard cap for public reviews analyzed per venue.",
            "default": 5
          },
          "maxWebsitePagesPerPlace": {
            "title": "Maximum official website pages",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Hard cap for official website pages crawled per venue.",
            "default": 3
          },
          "extractPricing": {
            "title": "Extract pricing",
            "type": "boolean",
            "description": "Extract visible crawlable prices only when nearby text identifies child, adult, toddler, or family pricing.",
            "default": true
          },
          "extractAgeSuitability": {
            "title": "Extract age suitability",
            "type": "boolean",
            "description": "Extract explicitly stated venue-wide age suitability and toddler areas; ambiguous ticket-category ranges remain null.",
            "default": true
          },
          "extractActivities": {
            "title": "Extract activities",
            "type": "boolean",
            "description": "Extract listed activity taxonomy IDs.",
            "default": true
          },
          "extractAmenities": {
            "title": "Extract amenities",
            "type": "boolean",
            "description": "Extract listed venue amenities.",
            "default": true
          },
          "extractBookingInfo": {
            "title": "Extract booking information",
            "type": "boolean",
            "description": "Extract booking cues and URLs.",
            "default": true
          },
          "sourceLanguages": {
            "title": "Source languages",
            "type": "array",
            "description": "Expected source languages; auto detects when possible.",
            "items": {
              "type": "string",
              "enum": [
                "auto",
                "en",
                "vi"
              ]
            },
            "default": [
              "auto"
            ]
          },
          "normalizedOutputLanguage": {
            "title": "Normalized output language",
            "enum": [
              "en"
            ],
            "type": "string",
            "description": "Canonical taxonomy label language.",
            "default": "en"
          },
          "preserveOriginalText": {
            "title": "Preserve original text",
            "type": "boolean",
            "description": "Keep selected source-language evidence fields such as original names, age text, prices, and booking cues.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify Proxy configuration for browser requests.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}