{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps No-Website Leads Finder",
    "description": "Find contactable US local businesses with no website listed, social-only or directory-only presence, broken websites, or missing online booking — with evidence for every result.",
    "version": "0.1",
    "x-build-id": "zAv1tcphoHUNra65E"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/i-scraper~google-maps-no-website-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-i-scraper-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/i-scraper~google-maps-no-website-leads/runs": {
      "post": {
        "operationId": "runs-sync-i-scraper-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/i-scraper~google-maps-no-website-leads/run-sync": {
      "post": {
        "operationId": "run-sync-i-scraper-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": [
          "searches"
        ],
        "properties": {
          "searches": {
            "title": "Business searches",
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "description": "Add a keyword, a US location, and a search radius. Each entry is searched independently; duplicates are removed by Google Place ID.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "query": {
                  "title": "Business keyword",
                  "description": "What you would search for in Google Maps, for example hair salon, dentist, or plumber.",
                  "type": "string",
                  "editor": "textfield",
                  "minLength": 1,
                  "maxLength": 120
                },
                "location": {
                  "title": "US location",
                  "description": "City or local area in the United States, for example Austin, Texas, USA.",
                  "type": "string",
                  "editor": "textfield",
                  "minLength": 2,
                  "maxLength": 200
                },
                "radiusKm": {
                  "title": "Radius (km)",
                  "description": "Circular search radius around the location center. MVP range: 1–50 km.",
                  "type": "integer",
                  "editor": "number",
                  "default": 10,
                  "minimum": 1,
                  "maximum": 50
                }
              },
              "required": [
                "query",
                "location",
                "radiusKm"
              ]
            }
          },
          "mode": {
            "title": "Verification mode",
            "enum": [
              "verified",
              "fast"
            ],
            "type": "string",
            "description": "Verified mode checks listed websites and booking signals. Fast mode uses Maps fields and URL classification only.",
            "default": "verified"
          },
          "opportunityTypes": {
            "title": "Opportunity types",
            "uniqueItems": true,
            "type": "array",
            "description": "Return businesses matching at least one selected opportunity. Website broken and missing booking require Verified mode.",
            "items": {
              "type": "string",
              "enum": [
                "no_website_listed",
                "social_only",
                "directory_only",
                "website_broken",
                "missing_booking"
              ],
              "enumTitles": [
                "No website listed on Google Maps",
                "Social profile only",
                "Directory or booking profile only",
                "Broken or parked website",
                "Missing online booking"
              ]
            },
            "default": [
              "no_website_listed",
              "social_only",
              "directory_only",
              "website_broken",
              "missing_booking"
            ]
          },
          "maxBusinessesToCheck": {
            "title": "Maximum businesses to check",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Global safety cap across all searches. Checked businesses can exceed returned leads because filters and verification run before qualification.",
            "default": 100
          },
          "maxQualifiedLeads": {
            "title": "Maximum qualified leads",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Stop website checks after this many qualified results have been returned. If this is higher than Maximum businesses to check, the smaller business-check limit is used automatically.",
            "default": 50
          },
          "minRating": {
            "title": "Minimum Google rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Businesses without a rating or below this value are skipped before website verification.",
            "default": 3.8
          },
          "minReviewCount": {
            "title": "Minimum review count",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Require evidence of activity before treating a business as a lead.",
            "default": 10
          },
          "requirePhone": {
            "title": "Require a phone number",
            "type": "boolean",
            "description": "Return only businesses with a phone number listed on Google Maps.",
            "default": true
          },
          "excludeClosed": {
            "title": "Exclude closed businesses",
            "type": "boolean",
            "description": "Skip businesses marked temporarily or permanently closed.",
            "default": true
          },
          "excludeChains": {
            "title": "Exclude known chains",
            "type": "boolean",
            "description": "Apply a conservative US chain name/domain registry. This does not claim exhaustive franchise detection.",
            "default": true
          },
          "bookingAudit": {
            "title": "Check online booking",
            "type": "boolean",
            "description": "For English appointment-based categories, check Maps links and bounded website HTML for known booking providers and actions.",
            "default": true
          },
          "onlyNew": {
            "title": "Return only new qualified leads",
            "type": "boolean",
            "description": "First run returns the current qualified baseline. Later runs with the same monitor ID suppress leads that were already returned.",
            "default": false
          },
          "monitorId": {
            "title": "Monitor ID",
            "pattern": "^[A-Za-z0-9_-]+$",
            "minLength": 3,
            "maxLength": 80,
            "type": "string",
            "description": "Required with Only New. Reuse the same ID with identical searches and filters; use a new ID when changing the monitor definition."
          },
          "recheckAfterDays": {
            "title": "Recheck known websites after days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Reuse conclusive checks for known, not-yet-returned businesses until this many days pass. Changed URLs and inconclusive checks are retried sooner.",
            "default": 7
          },
          "includeUnqualified": {
            "title": "Include unqualified records for debugging",
            "type": "boolean",
            "description": "Also output checked businesses that fail filters or have no selected opportunity. Leave disabled for production lead workflows.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration for website checks",
            "type": "object",
            "description": "Optional Apify proxy used only for listed-business website checks. The upstream Maps Actor manages its own acquisition network.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}