{
  "openapi": "3.0.1",
  "info": {
    "title": "Zexy Japan Wedding Venue Scraper",
    "description": "Scrape wedding venues from Zexy (ゼクシィ, zexy.net), Japan's largest wedding portal: hotels, guesthouses, restaurants, shrines and chapels in all 47 prefectures. Itemised estimates in yen, capacity, course and drink prices, plans, bridal fairs, phone, address, GPS, ratings and reviews. HTTP-only.",
    "version": "0.0",
    "x-build-id": "yCny5E4Fg1yNLmWNP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/piquno~zexy-japan-wedding-venue-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-piquno-zexy-japan-wedding-venue-scraper",
        "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/piquno~zexy-japan-wedding-venue-scraper/runs": {
      "post": {
        "operationId": "runs-sync-piquno-zexy-japan-wedding-venue-scraper",
        "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/piquno~zexy-japan-wedding-venue-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-piquno-zexy-japan-wedding-venue-scraper",
        "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": {
          "prefecture": {
            "title": "Prefecture",
            "enum": [
              "hokkaido",
              "aomori",
              "iwate",
              "miyagi",
              "akita",
              "yamagata",
              "fukushima",
              "ibaraki",
              "tochigi",
              "gunma",
              "saitama",
              "chiba",
              "tokyo",
              "kanagawa",
              "niigata",
              "toyama",
              "ishikawa",
              "fukui",
              "yamanashi",
              "nagano",
              "gifu",
              "shizuoka",
              "aichi",
              "mie",
              "shiga",
              "kyoto",
              "osaka",
              "hyogo",
              "nara",
              "wakayama",
              "tottori",
              "shimane",
              "okayama",
              "hiroshima",
              "yamaguchi",
              "tokushima",
              "kagawa",
              "ehime",
              "kochi",
              "fukuoka",
              "saga",
              "nagasaki",
              "kumamoto",
              "oita",
              "miyazaki",
              "kagoshima",
              "okinawa"
            ],
            "type": "string",
            "description": "Prefecture to crawl.",
            "default": "tokyo"
          },
          "area": {
            "title": "Area / ward / station filter",
            "type": "string",
            "description": "Optional. An area (青山・表参道・渋谷, 銀座, 大阪市北部), a ward or city (渋谷区, 横浜市), a station (表参道駅) or a list id from a zexy.net URL (a_1106, sa_0009, st_990157, ma_110301). Partial names match several lists. Leave empty for the whole prefecture. The form's example area is in Tokyo: clear it when you pick another prefecture."
          },
          "weddingStyle": {
            "title": "Wedding style",
            "enum": [
              "any",
              "hotelwedding",
              "guesthouse",
              "restaurantwedding",
              "chapel",
              "gardenwedding",
              "private",
              "jinzenshiki",
              "shinzenshiki",
              "kyoshiki",
              "shoninzu"
            ],
            "type": "string",
            "description": "Optional. Restrict to venues offering this style; empty = all venues.",
            "default": "any"
          },
          "tag": {
            "title": "Tag filter",
            "type": "string",
            "description": "Optional. A zexy.net tag id such as 603 (#ペット可), 206 (#庭園・ガーデン・テラス), 600 (#1組限定貸切); tag ids are in the tag_NNN links of any area page. Applies to area lists only."
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional. Your own zexy.net URLs: venue lists such as https://zexy.net/wedding/tokyo/a_1106/, https://zexy.net/wedding/osaka/hotelwedding/, https://zexy.net/wedding/tokyo/st_990157/ or https://zexy.net/wedding/clientList/?tdfkn=13, and venue pages such as https://zexy.net/wedding/c_7770077091/. Lists are paginated automatically. Overrides the fields above.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxResults": {
            "title": "Max venues",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many unique venues. Each venue is one dataset item and one billable result.",
            "default": 50
          },
          "includeFreeListings": {
            "title": "Include basic (non-advertiser) listings",
            "type": "boolean",
            "description": "Lists show advertising venues first (featured ones with prices, capacity, tags and fairs) and then a long tail of basic name-only listings. Tick to include the basic ones too; combine with 'Scrape venue pages' to get their address, venue type and reviews, and a phone number when the venue publishes one.",
            "default": false
          },
          "includeDetails": {
            "title": "Scrape venue pages",
            "type": "boolean",
            "description": "Also open every venue's page and access page for phone, opening hours, GPS coordinates, rating and review count, description, ceremony styles with prices, course and drink prices, capacity, facilities, bring-in fees, accommodation, the itemised sample estimate, discount plans, benefits, bridal fair dates, FAQ and the reviews shown on the page. Standard and basic venues have an older venue page and come without coordinates, prices or capacity. Two extra requests per venue, same price per result.",
            "default": true
          },
          "includeReviews": {
            "title": "Scrape review pages",
            "type": "boolean",
            "description": "Also page through every venue's reviews (30 per page) and attach up to Max reviews, each with overall and category scores and event month, plus guest count, total cost paid and photos when the reviewer gave them. Extra requests per venue, same price per result.",
            "default": false
          },
          "maxReviews": {
            "title": "Max reviews per venue",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap on reviews attached to one venue.",
            "default": 30
          },
          "requestDelaySecs": {
            "title": "Delay between requests (s)",
            "minimum": 0,
            "maximum": 30,
            "type": "number",
            "description": "Pause after each successful request.",
            "default": 0.5
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel requests.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default. Switch to residential (country JP) only if the log reports many blocked requests.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}