{
  "openapi": "3.0.1",
  "info": {
    "title": "Mindbody Studio Leads Scraper — Fitness, Yoga, Spa & Phones",
    "description": "Extract fitness, yoga, pilates, barre, martial arts, salon, med-spa, and wellness studio leads from Mindbody Explore across 40+ global cities. Get studio names, direct phone numbers, verified websites, emails, social links, full street addresses, ratings, amenities, and intro offers.",
    "version": "1.0",
    "x-build-id": "rvLnPBnIQqes7Hnc2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/haketa~mindbody-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-haketa-mindbody-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/haketa~mindbody-scraper/runs": {
      "post": {
        "operationId": "runs-sync-haketa-mindbody-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/haketa~mindbody-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-haketa-mindbody-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": {
          "cities": {
            "title": "Target Cities",
            "type": "array",
            "description": "Select one or more major metro areas across the United States, UK, Canada, Australia, New Zealand, and Europe. Leave empty to collect a balanced sample across top global cities.",
            "items": {
              "type": "string",
              "enum": [
                "new-york",
                "los-angeles",
                "chicago",
                "miami",
                "austin",
                "dallas",
                "houston",
                "san-francisco",
                "seattle",
                "denver",
                "atlanta",
                "boston",
                "phoenix",
                "san-diego",
                "nashville",
                "washington-dc",
                "philadelphia",
                "minneapolis",
                "portland",
                "charlotte",
                "tampa",
                "orlando",
                "las-vegas",
                "salt-lake-city",
                "raleigh",
                "detroit",
                "london",
                "manchester",
                "birmingham",
                "edinburgh",
                "dublin",
                "toronto",
                "vancouver",
                "montreal",
                "calgary",
                "sydney",
                "melbourne",
                "brisbane",
                "auckland",
                "amsterdam",
                "berlin",
                "paris",
                "madrid"
              ],
              "enumTitles": [
                "New York, NY (USA)",
                "Los Angeles, CA (USA)",
                "Chicago, IL (USA)",
                "Miami, FL (USA)",
                "Austin, TX (USA)",
                "Dallas, TX (USA)",
                "Houston, TX (USA)",
                "San Francisco, CA (USA)",
                "Seattle, WA (USA)",
                "Denver, CO (USA)",
                "Atlanta, GA (USA)",
                "Boston, MA (USA)",
                "Phoenix, AZ (USA)",
                "San Diego, CA (USA)",
                "Nashville, TN (USA)",
                "Washington, DC (USA)",
                "Philadelphia, PA (USA)",
                "Minneapolis, MN (USA)",
                "Portland, OR (USA)",
                "Charlotte, NC (USA)",
                "Tampa, FL (USA)",
                "Orlando, FL (USA)",
                "Las Vegas, NV (USA)",
                "Salt Lake City, UT (USA)",
                "Raleigh, NC (USA)",
                "Detroit, MI (USA)",
                "London (United Kingdom)",
                "Manchester (United Kingdom)",
                "Birmingham (United Kingdom)",
                "Edinburgh (United Kingdom)",
                "Dublin (Ireland)",
                "Toronto, ON (Canada)",
                "Vancouver, BC (Canada)",
                "Montreal, QC (Canada)",
                "Calgary, AB (Canada)",
                "Sydney, NSW (Australia)",
                "Melbourne, VIC (Australia)",
                "Brisbane, QLD (Australia)",
                "Auckland (New Zealand)",
                "Amsterdam (Netherlands)",
                "Berlin (Germany)",
                "Paris (France)",
                "Madrid (Spain)"
              ]
            },
            "default": [
              "new-york",
              "los-angeles",
              "chicago",
              "miami",
              "london"
            ]
          },
          "customLocation": {
            "title": "Custom City or Postal Code (Optional)",
            "type": "string",
            "description": "Optionally enter any city, suburb, or postal code worldwide (for example: 'Scottsdale, AZ', 'Boulder, CO', '90210', or 'Gold Coast, Australia'). When provided, it is searched alongside or instead of Target Cities.",
            "default": ""
          },
          "category": {
            "title": "Studio Category",
            "enum": [
              "all",
              "fitness",
              "yoga",
              "pilates",
              "barre",
              "cycling",
              "strength-training",
              "boxing-kickboxing",
              "martial-arts",
              "personal-training",
              "dance",
              "wellness",
              "massage",
              "med-spa",
              "acupuncture",
              "physical-therapy",
              "salon",
              "spa"
            ],
            "type": "string",
            "description": "Filter studios by primary business vertical or specialty discipline.",
            "default": "all"
          },
          "searchQuery": {
            "title": "Keyword Filter (Optional)",
            "type": "string",
            "description": "Optional search keyword to match studio names, modalities, or equipment (for example: 'reformer', 'hot yoga', 'infrared sauna', 'lagree', or 'crossfit').",
            "default": ""
          },
          "searchRadiusKm": {
            "title": "Search Radius (km)",
            "minimum": 5,
            "maximum": 80,
            "type": "integer",
            "description": "Radius in kilometers around each selected city center (5 km to 80 km).",
            "default": 45
          },
          "minRating": {
            "title": "Minimum Star Rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only return studios with an average client rating greater than or equal to this score (0 to 5).",
            "default": 0
          },
          "includeStudioDetails": {
            "title": "Enrich Studio Website & Intro Offers",
            "type": "boolean",
            "description": "Enriches studios with active intro offers/pricing packages and resolves verified official studio websites plus homepage contact details.",
            "default": true
          },
          "extractWebsiteContacts": {
            "title": "Deep Crawl External Websites for Emails & Socials",
            "type": "boolean",
            "description": "When enabled, crawls each studio's external website homepage and contact/about pages to extract direct business email addresses and Instagram, Facebook, TikTok, and YouTube profiles.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum Studios to Collect",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum total unique studios to export across all selected locations. Set to 0 to collect all matching studios.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Optional proxy settings. Direct connections work cleanly by default; enable Apify Proxy when deep-crawling thousands of external studio websites.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}