{
  "openapi": "3.0.1",
  "info": {
    "title": "Salon & Spa Leads: Booking Software, Products & Suites",
    "description": "Hair salon, barbershop, nail, lash, spa and tattoo leads from Google Maps in the US, Canada, UK and Australia, with the booking platform from Google's Book button (GlossGenius, Vagaro, Boulevard, Fresha, Phorest, Treatwell...), product lines, salon suites and franchises. No cap.",
    "version": "0.1",
    "x-build-id": "Q4FloptBw2odSHsaH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~salon-spa-leads-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-salon-spa-leads-finder",
        "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/yugenox~salon-spa-leads-finder/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-salon-spa-leads-finder",
        "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/yugenox~salon-spa-leads-finder/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-salon-spa-leads-finder",
        "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": {
          "presets": {
            "title": "Business types",
            "type": "array",
            "description": "What to find on Google Maps. Each preset searches its usual terms and keeps only places in matching Maps categories (US, UK and Australian wording). Med spas and aesthetics clinics are left out.",
            "items": {
              "type": "string",
              "enum": [
                "hair",
                "barber",
                "nails",
                "lash-brow",
                "spa-massage",
                "tattoo"
              ],
              "enumTitles": [
                "Hair salon / hairdresser",
                "Barbershop",
                "Nail salon",
                "Lash & brow studio",
                "Day spa & massage",
                "Tattoo & piercing studio"
              ]
            }
          },
          "searchTerms": {
            "title": "Extra search terms",
            "type": "array",
            "description": "Any other Google Maps searches (e.g. \"balayage\", \"blow dry bar\", \"waxing studio\"). These are not limited to a preset's categories.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Cities, ZIP / postal codes, counties or states, one per line (\"Austin, TX\", \"78704\", \"Toronto, ON\", \"London\", \"Sydney NSW\"). A city is searched across its whole area, nearest tiles first.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country",
            "enum": [
              "US",
              "CA",
              "GB",
              "AU"
            ],
            "type": "string",
            "description": "Country of the locations.",
            "default": "US"
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Optional: search a square of this half-width around each location's centre instead of the city's boundary. 0 = the location's own area.",
            "default": 0
          },
          "domains": {
            "title": "Your own salon domains (domain-list mode)",
            "type": "array",
            "description": "Instead of Google Maps: check these salon websites (one domain or URL per line) for booking software. Re-running the same list reports platform switches (for example \"left Vagaro for GlossGenius\"). Only domains that answer are charged.",
            "items": {
              "type": "string"
            }
          },
          "maxLeads": {
            "title": "Max salons",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop after this many saved salons (or domains). No other cap.",
            "default": 100
          },
          "vendors": {
            "title": "Only these booking platforms",
            "type": "array",
            "description": "Keep only salons on one of these platforms (part of the name is enough, e.g. \"vagaro\", \"glossgenius\", \"fresha\", \"square\", \"treatwell\").",
            "items": {
              "type": "string"
            }
          },
          "excludeVendors": {
            "title": "Exclude these booking platforms",
            "type": "array",
            "description": "Drop salons already on these platforms (e.g. your own product). Salons whose platform could not be determined are dropped too.",
            "items": {
              "type": "string"
            }
          },
          "noBookingSoftware": {
            "title": "Only salons with no booking software",
            "type": "boolean",
            "description": "Keep only salons where Google lists no booking partner AND their website was read and shows none.",
            "default": false
          },
          "excludeFranchises": {
            "title": "Exclude franchises and chains",
            "type": "boolean",
            "description": "Drop Great Clips, Supercuts, Sport Clips, Drybar, Hand & Stone, European Wax Center and other chains (named from the listing or the website).",
            "default": false
          },
          "minReviews": {
            "title": "Minimum Google reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Skip places with fewer Google reviews.",
            "default": 0
          },
          "requireWebsite": {
            "title": "Only salons with a website",
            "type": "boolean",
            "description": "Skip places with no website on Google Maps.",
            "default": false
          },
          "readWebsite": {
            "title": "Read each salon's website",
            "type": "boolean",
            "description": "Read the homepage plus one products / booking / services page for booking widgets, gift cards, product lines, salon suites, franchise, price list, Instagram and salon mailboxes. Off = Google Maps + Google's booking partner only (faster).",
            "default": true
          },
          "strictCategory": {
            "title": "Strict category match",
            "type": "boolean",
            "description": "Keep only places whose Google category matches the preset (recommended).",
            "default": true
          },
          "onlyNew": {
            "title": "Only new salons since the last run",
            "type": "boolean",
            "description": "Skip salons this search returned before (useful for a weekly schedule).",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional name for the saved memory used by \"Only new\" and domain-list switch reports, so changing the input keeps the same memory."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy is used by default.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}