{
  "openapi": "3.0.1",
  "info": {
    "title": "Websiteless: Google Maps Leads Without a Website",
    "description": "Find local businesses on Google Maps with no website, only a Facebook page, a directory or booking link, or a broken or outdated site. Every lead is scored 0-100 with plain-English reasons to pitch, phone, rating and Google profile gaps. Chains skipped, only-new mode for scheduled runs.",
    "version": "0.1",
    "x-build-id": "TKiUSm2qTndOeJzBs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/smoldesk~websiteless-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-smoldesk-websiteless-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/smoldesk~websiteless-leads/runs": {
      "post": {
        "operationId": "runs-sync-smoldesk-websiteless-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/smoldesk~websiteless-leads/run-sync": {
      "post": {
        "operationId": "run-sync-smoldesk-websiteless-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",
        "properties": {
          "searchTerms": {
            "title": "Business type",
            "type": "array",
            "description": "What to search on Google Maps, e.g. 'plumber', 'nail salon', 'roofer', 'dentist'. Each term is searched in each location.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Where",
            "type": "array",
            "description": "Cities, neighborhoods or postcodes, e.g. 'Austin, TX', 'Manchester, UK', '10001'. Leave empty if your business type already includes a place.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "Google Maps search URLs (optional)",
            "type": "array",
            "description": "Paste search URLs copied from Google Maps, e.g. https://www.google.com/maps/search/barber/@51.48,-0.12,14z. The map area in the URL is used.",
            "items": {
              "type": "string"
            }
          },
          "leadTypes": {
            "title": "Which businesses count as leads",
            "type": "array",
            "description": "Pick one or more. The first three need no website visit. Broken and outdated sites are found by opening each business's homepage once; a site we can't see (bot wall) is never sent to you as a lead.",
            "items": {
              "type": "string",
              "enum": [
                "noWebsite",
                "socialOnly",
                "listingOnly",
                "brokenWebsite",
                "outdatedWebsite"
              ],
              "enumTitles": [
                "No website at all",
                "Only a Facebook / Instagram / Linktree page",
                "Only a directory, booking or ordering page (Yelp, Booksy, DoorDash, Google placeholder...)",
                "Own website that is broken, parked or an empty placeholder",
                "Own website that is outdated (no HTTPS, not mobile-ready, old copyright, free subdomain)"
              ]
            },
            "default": [
              "noWebsite",
              "socialOnly",
              "listingOnly"
            ]
          },
          "maxLeadsPerSearch": {
            "title": "Max leads per search",
            "minimum": 0,
            "type": "integer",
            "description": "Leads to save for each search (business type × location). Places that aren't leads are scanned for free. 0 = as many as the area has.",
            "default": 20
          },
          "maxLeads": {
            "title": "Max leads in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many leads across all searches. 0 = no limit.",
            "default": 0
          },
          "searchDepth": {
            "title": "Search depth",
            "enum": [
              "normal",
              "deep",
              "deeper"
            ],
            "type": "string",
            "description": "Google shows about 120 places per search. Deeper searches keep looking until your lead count is reached, so you get more leads from big cities.",
            "default": "deep"
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Skip businesses rated below this (0 = no filter). Places with no rating are skipped when this is set.",
            "default": 0
          },
          "minReviews": {
            "title": "Minimum number of reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Skip businesses with fewer reviews (0 = no filter). Busy businesses without a website are the easiest to sell to.",
            "default": 0
          },
          "requirePhone": {
            "title": "Only businesses with a phone number",
            "type": "boolean",
            "description": "Skip businesses that list no phone number on Google.",
            "default": false
          },
          "categoryFilter": {
            "title": "Category must contain",
            "type": "array",
            "description": "Keep only businesses whose Google category contains one of these words, e.g. 'plumber' keeps 'Plumber' and 'Emergency plumber'. Case-insensitive. Empty = all categories.",
            "items": {
              "type": "string"
            }
          },
          "minLeadScore": {
            "title": "Minimum lead score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Skip leads scoring below this (0-100). The score adds up web presence, reviews, rating, phone and Google profile gaps; 55+ is MEDIUM, 75+ is HIGH.",
            "default": 0
          },
          "excludeChains": {
            "title": "Skip chains and franchises",
            "type": "boolean",
            "description": "Skip well-known chains (Subway, Mr. Rooter, Great Clips...) and any name that shows up at 3+ addresses in the run. Their head office runs the website, so they aren't real leads.",
            "default": true
          },
          "skipClosed": {
            "title": "Skip closed businesses",
            "type": "boolean",
            "description": "Skip places Google marks as permanently or temporarily closed.",
            "default": true
          },
          "findContacts": {
            "title": "Find emails on the business website",
            "type": "boolean",
            "description": "For leads that do have a site (broken or outdated), check the homepage and up to 2 contact/about pages for emails and social profiles. Charged only when something is found.",
            "default": false
          },
          "onlyNewLeads": {
            "title": "Only new leads (for scheduled runs)",
            "type": "boolean",
            "description": "Remember leads from earlier runs with the same searches and filters, and save only leads you haven't had before. Leads seen before are not charged.",
            "default": false
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language code for names and categories (e.g. en, de, fr, es).",
            "default": "en"
          },
          "countryCode": {
            "title": "Country (optional)",
            "type": "string",
            "description": "Two-letter country code to bias results (e.g. us, gb, ca, au). Usually not needed when the location is in the search."
          },
          "compact": {
            "title": "Compact output (for AI agents)",
            "type": "boolean",
            "description": "Return only the core lead fields (name, web presence, score, pitch reason, phone, email, links, rating, address, Maps link). Smaller rows for AI agents, MCP tools and LLM pipelines.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy (optional)",
            "type": "object",
            "description": "Not needed: the Actor uses the run's IP and switches to Apify datacenter proxy by itself if Google slows it down. Residential proxy is not used."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}