{
  "openapi": "3.0.1",
  "info": {
    "title": "Bizquest [Only $1💰] Scraper · Emails",
    "description": "💰$1 per 1K BizQuest businesses, asset sales & franchises from search or detail URLs: title, URL, asking price, location, industry, cash flow, EBITDA, gross income, inventory, employees, years operating, address, summary, broker contact, facilities, financing, flags nested details + raw API fields",
    "version": "0.0",
    "x-build-id": "oybEiwNNooNTRvZXO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~bizquest-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-bizquest-scraper",
        "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/memo23~bizquest-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-bizquest-scraper",
        "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/memo23~bizquest-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-bizquest-scraper",
        "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": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "One URL per row. Use + Add or bulk edit.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "filterKeyword": {
            "title": "Keyword to search",
            "type": "string",
            "description": "e.g. Restaurant, laundromat, car wash. Maps to BizQuest search keyword."
          },
          "filterLocation": {
            "title": "Location",
            "type": "string",
            "description": "e.g. California, CA, Austin TX, Miami FL. Resolved via the Regions API; leave empty for nationwide search."
          },
          "filterCategory": {
            "title": "Industry category",
            "enum": [
              "restaurants",
              "food-and-beverage",
              "retail-stores",
              "auto-and-automotive",
              "building-and-construction",
              "business-services",
              "chemicals",
              "clothing-and-fashion",
              "communication-and-media",
              "educational",
              "entertainment-and-leisure",
              "financial",
              "general-merchandise",
              "hair-and-beauty",
              "health-and-medical",
              "home-and-garden",
              "home-and-office-furniture",
              "internet-related",
              "manufacturing",
              "moving-storage-and-delivery",
              "personal-services",
              "professional-services",
              "real-estate",
              "technology",
              "transportation",
              "wholesale-and-distribution",
              "non-classifiable"
            ],
            "type": "string",
            "description": "Optional BizQuest industry category (maps to upstream bizQuestCategories). Leave unset for all industries."
          },
          "filterListingType": {
            "title": "Listing type",
            "enum": [
              "all",
              "established",
              "asset",
              "startup",
              "real-estate-for-sale",
              "real-estate-for-lease",
              "real-estate"
            ],
            "type": "string",
            "description": "Filter by BizQuest listing type (established businesses, asset sales, startups, or commercial real estate)."
          },
          "sortBy": {
            "title": "Sort results by",
            "enum": [
              "default",
              "newest",
              "oldest",
              "price-asc",
              "price-desc",
              "cashflow-desc",
              "cashflow-asc"
            ],
            "type": "string",
            "description": "Sort order applied upstream via BizQuest BFF sortList."
          },
          "filterPriceMax": {
            "title": "Maximum asking price (USD)",
            "type": "integer",
            "description": "Optional ceiling, e.g. 1000000."
          },
          "filterListingAgeDays": {
            "title": "Listed within (days)",
            "type": "integer",
            "description": "Optional. Only listings from the last N days, e.g. 30."
          },
          "filterPriceMin": {
            "title": "Minimum asking price (USD)",
            "type": "integer",
            "description": "Optional floor, e.g. 100000."
          },
          "filterCashFlowMin": {
            "title": "Minimum cash flow (USD)",
            "type": "integer",
            "description": "Optional, e.g. 50000."
          },
          "filterCashFlowMax": {
            "title": "Maximum cash flow (USD)",
            "type": "integer",
            "description": "Optional, e.g. 500000."
          },
          "filterRevenueMin": {
            "title": "Minimum annual gross revenue (USD)",
            "type": "integer",
            "description": "Optional floor for annual gross income/revenue (grossIncomeMin)."
          },
          "filterRevenueMax": {
            "title": "Maximum annual gross revenue (USD)",
            "type": "integer",
            "description": "Optional ceiling for annual gross income/revenue (grossIncomeMax)."
          },
          "filterRealEstateMin": {
            "title": "Minimum real estate value (USD)",
            "type": "integer",
            "description": "Optional floor for included real estate value (realEstateMin)."
          },
          "filterRealEstateMax": {
            "title": "Maximum real estate value (USD)",
            "type": "integer",
            "description": "Optional ceiling for included real estate value (realEstateMax)."
          },
          "filterEstablishedAfterYear": {
            "title": "Established in or after year",
            "type": "integer",
            "description": "Optional minimum establishment year, e.g. 2015 (establishedAfterYear)."
          },
          "filterRealEstateIncluded": {
            "title": "Real estate included only",
            "type": "boolean",
            "description": "Only return businesses where real estate is included.",
            "default": false
          },
          "filterSellerFinancing": {
            "title": "Seller financing offered only",
            "type": "boolean",
            "description": "Only return listings offering seller financing.",
            "default": false
          },
          "filterHomeBased": {
            "title": "Home-based businesses only",
            "type": "boolean",
            "description": "Only return home-based business listings.",
            "default": false
          },
          "filterAbsenteeOwner": {
            "title": "Absentee-owner businesses only",
            "type": "boolean",
            "description": "Only return absentee or semi-absentee owner listings.",
            "default": false
          },
          "filterFranchiseResalesOnly": {
            "title": "Franchise resales only",
            "type": "boolean",
            "description": "Only return existing franchise resale listings.",
            "default": false
          },
          "filterPriceReducedOnly": {
            "title": "Price reduced only",
            "type": "boolean",
            "description": "Only return listings with a recent price reduction.",
            "default": false
          },
          "filterRecentlyUpdatedOnly": {
            "title": "Recently updated only",
            "type": "boolean",
            "description": "Only return recently updated listings.",
            "default": false
          },
          "filterRequireAskingPrice": {
            "title": "Require asking price",
            "type": "boolean",
            "description": "Hide listings that do not disclose an asking price.",
            "default": false
          },
          "filterIncludeRelocatable": {
            "title": "Include relocatable listings",
            "type": "boolean",
            "description": "Include relocatable businesses matching the query.",
            "default": false
          },
          "filterSbaApprovedOnly": {
            "title": "SBA pre-approved / eligible only",
            "type": "boolean",
            "description": "Only return listings flagged SBA approved upstream.",
            "default": false
          },
          "maxItems": {
            "title": "Limit items per URL or filter search",
            "type": "integer",
            "description": "Maximum listings collected for each URL and for the BizQuest filter search.",
            "default": 100
          },
          "startPage": {
            "title": "Start page",
            "minimum": 1,
            "type": "integer",
            "description": "Optional starting search page number (1-indexed). Applies when the URL does not specify a page."
          },
          "maxPages": {
            "title": "Max pages per search",
            "minimum": 1,
            "type": "integer",
            "description": "Optional maximum search result pages to paginate per URL or filter search."
          },
          "includeListingDetails": {
            "title": "Include listing details",
            "type": "boolean",
            "description": "If enabled, each BizQuest search hit is expanded via the detail API (slower, richer rows). Detail URLs are always full detail.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "type": "integer",
            "description": "Parallel requests.",
            "default": 10
          },
          "minConcurrency": {
            "title": "Min concurrency",
            "type": "integer",
            "description": "Minimum parallel requests.",
            "default": 1
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum retries per failed request.",
            "default": 5
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Omit verbose raw BizQuest metadata blocks (diamondMetaData, locationCrumbs, detailRequests, breadcrumbs, raw img arrays, and duplicate nested details) while keeping all core business, financial, location, broker, and enrichment fields.",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "Exclude empty fields",
            "type": "boolean",
            "description": "Recursively remove null, undefined, empty string, empty array, and empty object fields. Numeric 0 (including 0.0) and boolean false are strictly preserved.",
            "default": false
          },
          "descriptionMaxLength": {
            "title": "Max description length",
            "minimum": 0,
            "type": "integer",
            "description": "Optional character cap for description and summary text (surrogate-safe truncation with '...'). Leave empty or 0 for full text."
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxies recommended. The default works out of the box.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "enrichEmails": {
            "title": "Enrich with contact emails (experimental, billed per email)",
            "type": "boolean",
            "description": "If enabled, finds a contact email for each result from its own website (or by discovering it from the name). Adds contactEmail + contactWebsite columns plus a detailed emailEnrichment object. Billed per contact email found; only charged when an email is returned, never for misses.",
            "default": false
          },
          "qualifyByPayment": {
            "title": "💳 Qualify by payment (flag businesses that take money online)",
            "type": "boolean",
            "description": "Requires \"Enrich with contact emails\". Scans each business's website — reusing the pages already fetched for email discovery, so no extra cost or time — for payment processors and e-commerce platforms (Stripe, Shopify, PayPal, Paddle, Lemon Squeezy, WooCommerce, Square, Chargebee and more). Adds takesPayments (is this a real paying business?), paymentProcessors (which stack), stripeLiveKey (the public key if exposed) and paymentConfidence. Turn raw contacts into monetization-qualified leads. No extra charge — included with each enriched company.",
            "default": false
          },
          "urls": {
            "title": "URLs (alias for startUrls)",
            "type": "array",
            "description": "Alias for startUrls. Accepts an array of URL strings or {url} objects."
          },
          "startUrl": {
            "title": "Start URL (alias for startUrls)",
            "type": "string",
            "description": "Single start URL alias for startUrls."
          },
          "searchUrls": {
            "title": "Search URLs (alias for startUrls)",
            "type": "array",
            "description": "Alias for startUrls."
          },
          "searchUrl": {
            "title": "Search URL (alias for startUrls)",
            "type": "string",
            "description": "Single search URL alias for startUrls."
          },
          "keyword": {
            "title": "Keyword (alias for filterKeyword)",
            "type": "string",
            "description": "Alias for filterKeyword."
          },
          "query": {
            "title": "Query (alias for filterKeyword)",
            "type": "string",
            "description": "Alias for filterKeyword."
          },
          "searchQuery": {
            "title": "Search query (alias for filterKeyword)",
            "type": "string",
            "description": "Alias for filterKeyword."
          },
          "keywords": {
            "title": "Keywords list (alias for filterKeyword)",
            "type": "array",
            "description": "Array of keywords to search sequentially when filterKeyword is empty.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location (alias for filterLocation)",
            "type": "string",
            "description": "Alias for filterLocation."
          },
          "state": {
            "title": "State (alias for filterLocation)",
            "type": "string",
            "description": "US state name or 2-letter code (alias for filterLocation)."
          },
          "city": {
            "title": "City (alias for filterLocation)",
            "type": "string",
            "description": "City name (combined with state when both are provided)."
          },
          "locations": {
            "title": "Locations list (alias for filterLocation)",
            "type": "array",
            "description": "Array of US states or cities to include in filter search.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category (alias for filterCategory)",
            "type": "string",
            "description": "Alias for filterCategory (slug, display name, or numeric BizQuest category ID)."
          },
          "industry": {
            "title": "Industry (alias for filterCategory)",
            "type": "string",
            "description": "Alias for filterCategory."
          },
          "listingType": {
            "title": "Listing type (alias for filterListingType)",
            "type": "string",
            "description": "Alias for filterListingType."
          },
          "minPrice": {
            "title": "Min price (alias for filterPriceMin)",
            "type": "integer",
            "description": "Alias for filterPriceMin."
          },
          "maxPrice": {
            "title": "Max price (alias for filterPriceMax)",
            "type": "integer",
            "description": "Alias for filterPriceMax."
          },
          "minCashFlow": {
            "title": "Min cash flow (alias for filterCashFlowMin)",
            "type": "integer",
            "description": "Alias for filterCashFlowMin."
          },
          "maxCashFlow": {
            "title": "Max cash flow (alias for filterCashFlowMax)",
            "type": "integer",
            "description": "Alias for filterCashFlowMax."
          },
          "minRevenue": {
            "title": "Min revenue (alias for filterRevenueMin)",
            "type": "integer",
            "description": "Alias for filterRevenueMin."
          },
          "maxRevenue": {
            "title": "Max revenue (alias for filterRevenueMax)",
            "type": "integer",
            "description": "Alias for filterRevenueMax."
          },
          "listingAgeDays": {
            "title": "Listing age days (alias for filterListingAgeDays)",
            "type": "integer",
            "description": "Alias for filterListingAgeDays."
          },
          "postedWithinDays": {
            "title": "Posted within days (alias for filterListingAgeDays)",
            "type": "integer",
            "description": "Alias for filterListingAgeDays."
          },
          "establishedAfterYear": {
            "title": "Established after year (alias for filterEstablishedAfterYear)",
            "type": "integer",
            "description": "Alias for filterEstablishedAfterYear."
          },
          "includeDetails": {
            "title": "Include details (alias for includeListingDetails)",
            "type": "boolean",
            "description": "Alias for includeListingDetails."
          },
          "maxResults": {
            "title": "Max results (alias for maxItems)",
            "type": "integer",
            "description": "Alias for maxItems."
          },
          "limit": {
            "title": "Limit (alias for maxItems)",
            "type": "integer",
            "description": "Alias for maxItems."
          },
          "maxListings": {
            "title": "Max listings (alias for maxItems)",
            "type": "integer",
            "description": "Alias for maxItems."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration (alias for proxy)",
            "type": "object",
            "description": "Alias for proxy."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}