{
  "openapi": "3.0.1",
  "info": {
    "title": "Local Business Email Finder – Owner Emails, Phones & Socials",
    "description": "Find the owner's or business e-mail of any local business — from a list of names or websites, or a search by category and city. Deep website crawl + long-tail web search, owner name and title, phones and socials; every e-mail verified and tagged with source and confidence. Dataset-only, MCP-ready.",
    "version": "0.1",
    "x-build-id": "Ove9z52Ztcz0rRQWw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/inovaflow~local-business-email-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-inovaflow-local-business-email-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/inovaflow~local-business-email-finder/runs": {
      "post": {
        "operationId": "runs-sync-inovaflow-local-business-email-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/inovaflow~local-business-email-finder/run-sync": {
      "post": {
        "operationId": "run-sync-inovaflow-local-business-email-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": {
          "businesses": {
            "title": "Businesses",
            "type": "array",
            "description": "One per line: a business name with its city (\"Beyond Wow Plumbing, Austin TX\") or a website (\"reliantplumbing.com\"). Names are matched to their listing to get the website, phone and address. Also accepted as `domains`, `websites`, `urls` or objects {name, location, website}.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Or search for businesses",
            "type": "array",
            "description": "Category or keyword searches (\"dentists\", \"roofing contractors\", \"italian restaurants\") — combined with the location below to discover businesses, each of which is then enriched.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, region or country for the searches and for name lookups without a city (\"Austin, TX\", \"Manchester, UK\")."
          },
          "maxPlacesPerQuery": {
            "title": "Max businesses per search",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many businesses each search query may add.",
            "default": 50
          },
          "onlyWithEmail": {
            "title": "Only output businesses with an e-mail",
            "type": "boolean",
            "description": "Skip businesses where no e-mail could be found (they are free either way).",
            "default": false
          },
          "maxBusinesses": {
            "title": "Max businesses per run",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper bound on businesses processed in one run.",
            "default": 500
          },
          "verifyEmails": {
            "title": "Verify e-mails",
            "type": "boolean",
            "description": "Check syntax and the domain's mail server for every address; undeliverable addresses are dropped.",
            "default": true
          },
          "smtpVerification": {
            "title": "SMTP mailbox check",
            "type": "boolean",
            "description": "Also ask the mail server whether the mailbox exists (and detect catch-all domains). Falls back to the mail-server check when SMTP is not reachable.",
            "default": true
          },
          "searchMining": {
            "title": "Search the web for more e-mails",
            "type": "boolean",
            "description": "Search for the business and read e-mails from result snippets and top result pages (directories, associations, local press) — where owner e-mails usually hide. Only e-mails clearly attributable to the business are kept.",
            "default": true
          },
          "maxSearchQueries": {
            "title": "Web searches per business",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "Up to this many searches per business (domain search, name + city + email, name + owner).",
            "default": 3
          },
          "searchResultPagesToFetch": {
            "title": "Result pages to read per business",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "How many top result pages (one per site) are fetched and mined for e-mails.",
            "default": 3
          },
          "maxPagesPerSite": {
            "title": "Pages per website",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Home page plus contact / about / team / imprint pages crawled per website.",
            "default": 6
          },
          "includeGuessedEmails": {
            "title": "Include pattern-guessed owner e-mails",
            "type": "boolean",
            "description": "When the owner's name is known but no owner address was found, add likely addresses on the business domain (first@, first.last@…). Only kept when the mailbox check confirms them.",
            "default": false
          },
          "countryCode": {
            "title": "Country code",
            "type": "string",
            "description": "Two-letter country code for the business lookups (us, gb, de, …).",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Two-letter language code for the business lookups.",
            "default": "en"
          },
          "maxConcurrency": {
            "title": "Parallel businesses",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many businesses are processed at once.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy for business lookups",
            "type": "object",
            "description": "Proxy used for the business listing lookups and searches. Apify datacenter proxy by default. Website crawls go direct and fall back to the proxy automatically when a site challenges the platform IP.",
            "default": {
              "useApifyProxy": true
            }
          },
          "apifyMcpConnector": {
            "title": "Run business discovery under another Apify account (MCP connector)",
            "type": "string",
            "description": "Optional. Connect an Apify MCP connector (Console → Settings → Integrations → MCP Connectors, server URL https://mcp.apify.com) and the discovery searches run as our published business finder under THAT account. Leave empty to run everything built in, on this run."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}