{
  "openapi": "3.0.1",
  "info": {
    "title": "Coworker Space Scraper",
    "description": "Scrape coworker.com - the world's largest coworking-space directory. Browse by city or country, or free-text search, and get space name, full address, amenities, pricing plans, ratings/reviews, photos, and space type for every listing.",
    "version": "1.0",
    "x-build-id": "BDBg7XQgvZP64Qw48"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~coworker-space-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-coworker-space-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/crawlerbros~coworker-space-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-coworker-space-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/crawlerbros~coworker-space-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-coworker-space-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "byCity",
              "byCountry",
              "search"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "byCity"
          },
          "countrySlug": {
            "title": "Country (mode=byCity, byCountry)",
            "enum": [
              "afghanistan",
              "albania",
              "algeria",
              "andorra",
              "angola",
              "antigua-and-barbuda",
              "argentina",
              "armenia",
              "aruba",
              "australia",
              "austria",
              "azerbaijan",
              "bahamas",
              "bahrain",
              "bangladesh",
              "barbados",
              "belarus",
              "belgium",
              "belize",
              "benin",
              "bermuda",
              "bolivia",
              "bosnia-and-herzegovina",
              "botswana",
              "brazil",
              "brunei",
              "bulgaria",
              "burkina-faso",
              "cambodia",
              "cameroon",
              "canada",
              "cape-verde",
              "cayman-islands",
              "chad",
              "chile",
              "china",
              "colombia",
              "costa-rica",
              "cote-divoire",
              "croatia",
              "cyprus",
              "czech-republic",
              "denmark",
              "djibouti",
              "dominican-republic",
              "ecuador",
              "egypt",
              "el-salvador",
              "equatorial-guinea",
              "estonia",
              "ethiopia",
              "fiji",
              "finland",
              "france",
              "french-polynesia",
              "gabon",
              "gambia",
              "georgia",
              "germany",
              "ghana",
              "gibraltar",
              "greece",
              "grenada",
              "guadeloupe",
              "guam",
              "guatemala",
              "guernsey",
              "guinea",
              "guyana",
              "haiti",
              "honduras",
              "hong-kong",
              "hungary",
              "iceland",
              "india",
              "indonesia",
              "iraq",
              "ireland",
              "isle-of-man",
              "israel",
              "italy",
              "jamaica",
              "japan",
              "jersey",
              "jordan",
              "kazakhstan",
              "kenya",
              "kuwait",
              "kyrgyzstan",
              "laos",
              "latvia",
              "lebanon",
              "lesotho",
              "libya",
              "liechtenstein",
              "lithuania",
              "luxembourg",
              "macedonia",
              "madagascar",
              "malawi",
              "malaysia",
              "mali",
              "malta",
              "martinique",
              "mauritius",
              "mexico",
              "moldova",
              "monaco",
              "mongolia",
              "montenegro",
              "morocco",
              "mozambique",
              "myanmar",
              "namibia",
              "nepal",
              "netherlands",
              "netherlands-antilles",
              "new-zealand",
              "nicaragua",
              "niger",
              "nigeria",
              "norway",
              "oman",
              "pakistan",
              "palestine",
              "panama",
              "paraguay",
              "peru",
              "philippines",
              "poland",
              "portugal",
              "puerto-rico",
              "qatar",
              "reunion",
              "romania",
              "russia",
              "rwanda",
              "san-marino",
              "saudi-arabia",
              "scotland",
              "senegal",
              "serbia",
              "seychelles",
              "singapore",
              "sint-maarten",
              "slovakia",
              "slovenia",
              "somalia",
              "south-africa",
              "south-korea",
              "spain",
              "sri-lanka",
              "sudan",
              "suriname",
              "sweden",
              "switzerland",
              "taiwan",
              "tajikistan",
              "tanzania",
              "thailand",
              "the-democratic-republic-of-the-congo",
              "togo",
              "trinidad-and-tobago",
              "tunisia",
              "turkey",
              "turks-and-caicos-islands",
              "uganda",
              "ukraine",
              "united-arab-emirates",
              "united-kingdom",
              "united-states",
              "uruguay",
              "uzbekistan",
              "venezuela",
              "vietnam",
              "zambia",
              "zimbabwe"
            ],
            "type": "string",
            "description": "Country to browse. Required for byCity and byCountry modes.",
            "default": "united-states"
          },
          "citySlug": {
            "title": "City path (mode=byCity)",
            "type": "string",
            "description": "The coworker.com URL path segment(s) after the country, e.g. `new-york/new-york-city` (US/Canada use state/city) or `london` or `singapore-river`. Copy this directly from a coworker.com city-page URL.",
            "default": "new-york/new-york-city"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Free-text query — matches a country name, a city name, or a specific coworking space name (e.g. `Berlin`, `Germany`, or `WeWork Times Square`).",
            "default": "Berlin"
          },
          "spaceType": {
            "title": "Space type filter",
            "enum": [
              "any",
              "hotDesk",
              "dedicatedDesk",
              "privateOffice",
              "meetingRoom",
              "virtualOffice",
              "lounge",
              "coworkingSpace"
            ],
            "type": "string",
            "description": "Only emit spaces offering this resource type.",
            "default": "any"
          },
          "amenity": {
            "title": "Amenity filter",
            "enum": [
              "",
              "10 Minute Walk From Public Transit",
              "24hr member access",
              "3D Printer",
              "5 Minute Walk From Public Transit",
              "AR Equipment",
              "Accelerator programs",
              "Air Conditioning",
              "Alcohol available for purchase",
              "Apple TV",
              "Arcade Games",
              "Art Gallery",
              "Beanbags",
              "Bike Parking",
              "Board Games",
              "Bocce ball",
              "Bosu Ball Chairs",
              "Car Share",
              "Catering Kitchen",
              "Childcare",
              "Chromecast",
              "Co-living Accommodation",
              "Coffee For Purchase",
              "Community App",
              "Community Drinks",
              "Community Lunches",
              "Computers (Macs)",
              "Computers (PCs)",
              "Darts",
              "Drone",
              "Dual / Single Monitors",
              "Ergonomic Chairs",
              "Event Space For Rent",
              "Events",
              "Facebook Group for Members",
              "Free Beer",
              "Free Coffee",
              "Free Drinking Water",
              "Free Snacks",
              "Free Tea",
              "Free Wine",
              "Gluten Free Menu",
              "Greenscreen",
              "Gym",
              "Halal Menu",
              "Hammocks",
              "Heating",
              "High-Speed WiFi",
              "Incubator programs",
              "Karaoke",
              "Kitchen",
              "Laundry Service",
              "Library",
              "Lounge / Chill-out Area",
              "Makerspace",
              "Massages",
              "Meditation Room",
              "Mentorship Programs",
              "Microphone",
              "Mini Golf Course",
              "Nap Room",
              "Nearby Airbnb",
              "Onsite Airbnb",
              "Onsite Barista",
              "Onsite Cafe",
              "Onsite Restaurant",
              "Organized Sports Team",
              "Outdoor Terrace",
              "Paleo Menu",
              "Parking",
              "Personal Lockers",
              "Pet friendly",
              "Phone Booth",
              "Photo Studio",
              "Photocopier",
              "Ping Pong Table",
              "Pitching events",
              "Plug In For Electric Cars",
              "Podcasting Room ",
              "Pool Table",
              "Printer",
              "Professional Lighting Equipment",
              "Projector",
              "Recording Studio",
              "Retail Space",
              "Scanner",
              "Screen Printer",
              "Showers ",
              "Shuffleboard ",
              "Slack Channel For Members",
              "Snacks Available for Purchase",
              "Sound Recording Equipment",
              "Standing Desks",
              "Swimming Pool",
              "Table Football / Foosball",
              "Toastmasters",
              "Trampoline",
              "Vegan Menu",
              "Vegetarian Menu",
              "Video Recording Equipment",
              "Volleyball court",
              "Wheelchair Accessibility",
              "Workshops",
              "Yoga Studio"
            ],
            "type": "string",
            "description": "Only emit spaces offering this amenity. Leave blank for no amenity filter.",
            "default": ""
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Drop spaces with an average review rating below this (0-5). Spaces with no reviews are excluded when this filter is set."
          },
          "verifiedOnly": {
            "title": "Verified spaces only",
            "type": "boolean",
            "description": "Only emit spaces the site marks as verified/claimed listings.",
            "default": false
          },
          "includeClosed": {
            "title": "Include permanently closed spaces",
            "type": "boolean",
            "description": "By default, permanently-closed listings are excluded.",
            "default": false
          },
          "minCapacity": {
            "title": "Minimum total capacity (people)",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop spaces whose published total member/seating capacity is below this number. Spaces that don't publish a capacity figure are excluded when this filter is set."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}