{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Businesses Without a Website (Leads)",
    "description": "Lead finder for local businesses on Google Maps without a website, or with only a Facebook, Instagram or directory page: name, phone, address, rating, reviews, claimed status, hours, map link, within your radius. Lead lists for web designers and agencies, as CSV or API. Pay per lead. No login.",
    "version": "1.0",
    "x-build-id": "0SxtedaxXhnJBXJsb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~google-maps-no-website-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-google-maps-no-website-leads",
        "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/steadyscrape~google-maps-no-website-leads/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-google-maps-no-website-leads",
        "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/steadyscrape~google-maps-no-website-leads/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-google-maps-no-website-leads",
        "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": [
          "searchTerms",
          "locations"
        ],
        "properties": {
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "The kind of business, as you would type it into Google Maps, one per line: <code>plumber</code>, <code>roofer</code>, <code>hair salon</code>, <code>auto repair</code>. Each term is searched in every location. Up to 20.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Where to look, one per line: a city, area, postcode or address as you would type it into Google Maps (<code>Austin, TX</code>, <code>Shoreditch, London</code>, <code>78701</code>), or <code>latitude, longitude</code>. Up to 20. A business found by two searches is delivered and charged once.",
            "items": {
              "type": "string"
            }
          },
          "radius": {
            "title": "Radius",
            "minimum": 0.5,
            "maximum": 50,
            "type": "number",
            "description": "How far from each location's centre to look (0.5 to 50, in the unit below). Businesses outside it are left out, never charged. 10 km covers most of a mid-size city.",
            "default": 10
          },
          "distanceUnit": {
            "title": "Unit",
            "enum": [
              "km",
              "mi"
            ],
            "type": "string",
            "description": "",
            "default": "km"
          },
          "maxLeadsPerSearch": {
            "title": "Max leads per search",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop each search term in each location after this many leads (1 to 5,000). The run's spending limit is respected too.",
            "default": 100
          },
          "includeSocialProfiles": {
            "title": "A social profile counts as no website",
            "type": "boolean",
            "description": "On: a business whose website field is a Facebook, Instagram, TikTok, X, YouTube or Linktree page is delivered as a lead (<code>websiteStatus: social</code>, with the link).",
            "default": true
          },
          "includeDirectoryListings": {
            "title": "A directory or booking page counts as no website",
            "type": "boolean",
            "description": "On: a website field pointing to Yelp, Nextdoor, Thumbtack, BBB, a booking app (Booksy, Vagaro, Square Appointments…), a delivery app or the Google profile itself is a lead (<code>websiteStatus: directory</code>).",
            "default": true
          },
          "includeFreeBuilderSites": {
            "title": "A free builder subdomain counts as no website",
            "type": "boolean",
            "description": "On: a free site such as <code>sites.google.com</code>, <code>*.wixsite.com</code>, <code>*.square.site</code> or <code>*.godaddysites.com</code> is a lead too (<code>websiteStatus: free-builder</code>).",
            "default": false
          },
          "requirePhone": {
            "title": "Phone number required",
            "type": "boolean",
            "description": "Keep only businesses that show a phone number. Others are not delivered and not charged.",
            "default": false
          },
          "onlyUnclaimed": {
            "title": "Only unclaimed profiles",
            "type": "boolean",
            "description": "Keep only businesses whose Google profile still offers \"Claim this business\": nobody manages it.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep only businesses rated at least this many stars (0 to 5). Empty: any rating, including none."
          },
          "minReviews": {
            "title": "Minimum reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only businesses with at least this many reviews. Empty: any."
          },
          "categoryFilter": {
            "title": "Categories to keep",
            "type": "array",
            "description": "Keep only businesses with a Google category containing one of these words (any case), e.g. <code>plumber</code>. Empty: every category the search returns.",
            "items": {
              "type": "string"
            }
          },
          "includeClosed": {
            "title": "Include closed businesses",
            "type": "boolean",
            "description": "Off: places Google Maps marks as closed are left out.",
            "default": false
          },
          "onlyNewLeads": {
            "title": "Only new leads",
            "type": "boolean",
            "description": "Skip businesses an earlier run of this Actor already delivered to you (remembered in a storage of your own account). Skipped businesses are not charged. Turn it on for scheduled runs.",
            "default": false
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of categories and opening hours, as a code: <code>en</code>, <code>es</code>, <code>de</code>, <code>pt-BR</code>.",
            "default": "en"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code Google answers for (<code>us</code>, <code>gb</code>, <code>au</code>); it also decides which city a short location name means.",
            "default": "us"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}