{
  "openapi": "3.0.1",
  "info": {
    "title": "Free Business Leads Finder — Phones, Emails & Websites",
    "description": "Free: get up to 100 local businesses per search — phone, email, website, address and socials — by category, city, state or ZIP in 200+ countries. Instant results from a 46M-business database. Need thousands? Use the full Business Leads Database.",
    "version": "0.1",
    "x-build-id": "TUqX7YJTMjxaH2QPW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wleeaf~free-business-leads-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wleeaf-free-business-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/wleeaf~free-business-leads-finder/runs": {
      "post": {
        "operationId": "runs-sync-wleeaf-free-business-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/wleeaf~free-business-leads-finder/run-sync": {
      "post": {
        "operationId": "run-sync-wleeaf-free-business-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": {
          "categories": {
            "title": "Business categories",
            "type": "array",
            "description": "Category words matched against each business's category hierarchy, e.g. dentist, plumber, restaurant, lawyer, real_estate, car_dealer, hair_salon, accountant. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "categoryGroups": {
            "title": "Category groups (faster)",
            "type": "array",
            "description": "Optional top-level groups. Selecting the group your categories belong to (e.g. Health care for dentists) makes big searches much faster.",
            "items": {
              "type": "string",
              "enum": [
                "services_and_business",
                "shopping",
                "food_and_drink",
                "health_care",
                "lifestyle_services",
                "travel_and_transportation",
                "education",
                "sports_and_recreation",
                "lodging",
                "cultural_and_historic",
                "community_and_government",
                "arts_and_entertainment",
                "geographic_entities",
                "other"
              ],
              "enumTitles": [
                "Services & business",
                "Shopping & retail",
                "Food & drink",
                "Health care",
                "Lifestyle services (beauty, fitness…)",
                "Travel & transportation",
                "Education",
                "Sports & recreation",
                "Lodging",
                "Cultural & historic",
                "Community & government",
                "Arts & entertainment",
                "Geographic entities",
                "Other / uncategorized"
              ]
            }
          },
          "countries": {
            "title": "Countries (ISO-2 codes)",
            "type": "array",
            "description": "e.g. US, GB, DE, CA, AU. Leave empty for all 200+ countries.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "States / regions",
            "type": "array",
            "description": "For the US use 2-letter state codes (TX, CA, NY). Other countries use the region names in the data.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Exact city names, e.g. Austin, Houston.",
            "items": {
              "type": "string"
            }
          },
          "postcodePrefixes": {
            "title": "Postcode / ZIP prefixes",
            "type": "array",
            "description": "e.g. 787 for Austin-area ZIPs, SW1 for central London.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Name keywords",
            "type": "array",
            "description": "Only businesses whose name contains any of these words.",
            "items": {
              "type": "string"
            }
          },
          "hasEmail": {
            "title": "Only with email",
            "type": "boolean",
            "description": "Only businesses with a public email address.",
            "default": false
          },
          "hasPhone": {
            "title": "Only with phone",
            "type": "boolean",
            "description": "Only businesses with a phone number.",
            "default": false
          },
          "hasWebsite": {
            "title": "Only with website",
            "type": "boolean",
            "description": "Only businesses with a website.",
            "default": false
          },
          "hasSocials": {
            "title": "Must have these social profiles",
            "type": "array",
            "description": "Only businesses linking all of the selected profiles.",
            "items": {
              "type": "string",
              "enum": [
                "facebook",
                "instagram",
                "twitter",
                "linkedin",
                "tiktok",
                "youtube"
              ]
            }
          },
          "excludeChains": {
            "title": "Exclude chains / brands",
            "type": "boolean",
            "description": "Drop chain locations: places with a brand tag or whose name appears at 8+ locations in the same country (franchises, national brands). Keeps independent businesses.",
            "default": false
          },
          "minConfidence": {
            "title": "Minimum confidence (0.6–1)",
            "type": "string",
            "description": "Overture's confidence that the place exists. Default 0.6 (everything in the index); try 0.8 for the most certain."
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Up to 100 businesses per run in the free edition. For larger lists use the Business Leads Database Actor.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}