{
  "openapi": "3.0.1",
  "info": {
    "title": "WebsiteClosers Business-for-Sale Listings Scraper",
    "description": "Browse or search WebsiteClosers business-for-sale listings by industry, financials and year established, or look up specific listings, with asking price, cash flow, revenue and broker contact.",
    "version": "1.0",
    "x-build-id": "109NcT2hhX4FROpdT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nimbryxo-studio~websiteclosers-business-for-sale-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nimbryxo-studio-websiteclosers-business-for-sale-listings-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/nimbryxo-studio~websiteclosers-business-for-sale-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nimbryxo-studio-websiteclosers-business-for-sale-listings-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/nimbryxo-studio~websiteclosers-business-for-sale-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nimbryxo-studio-websiteclosers-business-for-sale-listings-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "browse",
              "byCategory",
              "search",
              "closedDeals",
              "byUrls"
            ],
            "type": "string",
            "description": "What to fetch. 'Browse live listings' covers available and pending deals. 'Browse sold deals' is the historical sold archive.",
            "default": "browse"
          },
          "categories": {
            "title": "Industry categories",
            "type": "array",
            "description": "One or more WebsiteClosers industry categories. Leave empty to include every industry.",
            "items": {
              "type": "string",
              "enum": [
                "accounting",
                "advertising-marketing",
                "agricultural",
                "ai-machine-learning",
                "animals-pet-care",
                "antiques",
                "apparel-accessories",
                "appliances",
                "art-collectibles-galleries",
                "automotive",
                "aviation-aerospace",
                "beauty-health-wellness",
                "building-materials",
                "business-consulting-coaching",
                "business-services",
                "cleaning-restoration",
                "clothing-uniforms",
                "communications-telecom",
                "computer-it-managed-services",
                "construction-contracting",
                "consulting-general",
                "consumer-products",
                "content-media-publishing",
                "distribution-logistics",
                "ecommerce-online-retail",
                "education-elearning",
                "electrical-lighting",
                "electronics-computer-hardware",
                "engineering-technical-services",
                "entertainment-events",
                "environmental-sustainability",
                "equipment-sales-service",
                "financial-services",
                "firearms-defense-tactical",
                "fitness-sports-recreation",
                "flooring-home-improvement",
                "flowers-gifts-decor",
                "food-beverage",
                "franchises",
                "furniture-home-goods",
                "gas-stations-c-stores",
                "glass-windows-doors",
                "graphic-design-printing",
                "green-renewable-energy",
                "hardware-retail",
                "home-services-hvac-plumbing-etc",
                "import-export",
                "industrial-manufacturing",
                "insurance-financial-planning",
                "interior-design-staging",
                "internet-web-services",
                "janitorial-commercial-cleaning",
                "jewelry-luxury-goods",
                "landscaping-outdoor-services",
                "legal-professional-services",
                "locksmith-security",
                "machine-shop-fabrication",
                "mail-order-subscription-boxes",
                "marine-boating",
                "marketing-agencies-digital-traditional",
                "medical-dental-healthcare",
                "metal-plastics-components",
                "miscellaneous-other",
                "mobile-apps-platforms",
                "moving-storage-logistics",
                "music-audio-production",
                "new-franchises",
                "office-b2b-supplies",
                "optical-eyewear",
                "packaging-fulfillment",
                "pest-control",
                "pet-care-veterinary",
                "photography-videography",
                "pool-spa-services",
                "printing-signs-promotional-products",
                "professional-practices",
                "property-management-real-estate-services",
                "publishing-media",
                "recreation-outdoor",
                "recycling-waste-management",
                "rental-businesses",
                "restaurants-food-service",
                "retail-brick-mortar",
                "routes-delivery",
                "sales-marketing-services",
                "security-fire-protection",
                "senior-care-home-health",
                "shoes-footwear",
                "software-saas",
                "staffing-hr-services",
                "tailoring-embroidery",
                "technology-electronics",
                "telecommunications",
                "toys-games-hobby",
                "transportation-trucking",
                "travel-tourism-hospitality",
                "upholstery-fabrics",
                "vending-vending-routes",
                "video-streaming-production",
                "warehousing-fulfillment",
                "water-pool-services",
                "websites-marketplaces-digital-assets",
                "wholesale-distribution"
              ],
              "enumTitles": [
                "Accounting",
                "Advertising & Marketing",
                "Agricultural",
                "AI & Machine Learning",
                "Animals & Pet Care",
                "Antiques",
                "Apparel & Accessories",
                "Appliances",
                "Art, Collectibles & Galleries",
                "Automotive",
                "Aviation & Aerospace",
                "Beauty, Health & Wellness",
                "Building Materials",
                "Business Consulting & Coaching",
                "Business Services",
                "Cleaning & Restoration",
                "Clothing & Uniforms",
                "Communications & Telecom",
                "Computer, IT & Managed Services",
                "Construction & Contracting",
                "Consulting (General)",
                "Consumer Products",
                "Content & Media Publishing",
                "Distribution & Logistics",
                "eCommerce & Online Retail",
                "Education & eLearning",
                "Electrical & Lighting",
                "Electronics & Computer Hardware",
                "Engineering & Technical Services",
                "Entertainment & Events",
                "Environmental & Sustainability",
                "Equipment Sales & Service",
                "Financial Services",
                "Firearms, Defense & Tactical",
                "Fitness, Sports & Recreation",
                "Flooring & Home Improvement",
                "Flowers, Gifts & Décor",
                "Food & Beverage",
                "Franchises",
                "Furniture & Home Goods",
                "Gas Stations & C-Stores",
                "Glass, Windows & Doors",
                "Graphic Design & Printing",
                "Green & Renewable Energy",
                "Hardware Retail",
                "Home Services (HVAC, Plumbing, etc.)",
                "Import / Export",
                "Industrial & Manufacturing",
                "Insurance & Financial Planning",
                "Interior Design & Staging",
                "Internet & Web Services",
                "Janitorial & Commercial Cleaning",
                "Jewelry & Luxury Goods",
                "Landscaping & Outdoor Services",
                "Legal & Professional Services",
                "Locksmith & Security",
                "Machine Shop & Fabrication",
                "Mail Order & Subscription Boxes",
                "Marine & Boating",
                "Marketing Agencies (Digital & Traditional)",
                "Medical, Dental & Healthcare",
                "Metal, Plastics & Components",
                "Miscellaneous / Other",
                "Mobile Apps & Platforms",
                "Moving, Storage & Logistics",
                "Music, Audio & Production",
                "New Franchises",
                "Office & B2B Supplies",
                "Optical & Eyewear",
                "Packaging & Fulfillment",
                "Pest Control",
                "Pet Care & Veterinary",
                "Photography & Videography",
                "Pool & Spa Services",
                "Printing, Signs & Promotional Products",
                "Professional Practices",
                "Property Management & Real Estate Services",
                "Publishing & Media",
                "Recreation & Outdoor",
                "Recycling & Waste Management",
                "Rental Businesses",
                "Restaurants & Food Service",
                "Retail (Brick & Mortar)",
                "Routes & Delivery",
                "Sales & Marketing Services",
                "Security & Fire Protection",
                "Senior Care & Home Health",
                "Shoes & Footwear",
                "Software & SaaS",
                "Staffing & HR Services",
                "Tailoring & Embroidery",
                "Technology & Electronics",
                "Telecommunications",
                "Toys, Games & Hobby",
                "Transportation & Trucking",
                "Travel, Tourism & Hospitality",
                "Upholstery & Fabrics",
                "Vending & Vending Routes",
                "Video, Streaming & Production",
                "Warehousing & Fulfillment",
                "Water & Pool Services",
                "Websites, Marketplaces & Digital Assets",
                "Wholesale & Distribution"
              ]
            },
            "default": []
          },
          "searchQueries": {
            "title": "Search phrases",
            "type": "array",
            "description": "Words or phrases to match against listing titles and summaries, for example 'Amazon FBA', 'SaaS' or 'agency'. Multiple phrases are combined with OR.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "listingUrls": {
            "title": "Listing URLs or IDs",
            "type": "array",
            "description": "WebsiteClosers listing URLs or bare numeric listing IDs to fetch directly.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Statuses",
            "type": "array",
            "description": "Keep only these deal statuses. Available and pending apply to live listings; sold applies to the sold archive. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "available",
                "pending",
                "sold"
              ],
              "enumTitles": [
                "Available",
                "Pending / under contract",
                "Sold"
              ]
            },
            "default": []
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "newest",
              "priceDesc",
              "priceAsc",
              "cashFlowDesc",
              "cashFlowAsc",
              "revenueDesc",
              "revenueAsc"
            ],
            "type": "string",
            "description": "Order of the result list.",
            "default": "newest"
          },
          "searchScope": {
            "title": "Search scope (mode=search)",
            "enum": [
              "live",
              "sold",
              "both"
            ],
            "type": "string",
            "description": "Search live listings, sold deals, or both. 'Both' spends about half the result budget on live deals first, then fills the rest from the sold archive.",
            "default": "live"
          },
          "sbaOnly": {
            "title": "SBA pre-qualified only",
            "type": "boolean",
            "description": "Keep only listings whose title or description says SBA pre-qualified or pre-approved.",
            "default": false
          },
          "includeDetails": {
            "title": "Open each listing for full details",
            "type": "boolean",
            "description": "On: read each listing page for revenue, established year, employees, categories, broker team, code name, sale status and the full description. Off: return list-page fields only (faster). Detail-only filters still open listings when needed.",
            "default": true
          },
          "searchInDescription": {
            "title": "Also search full descriptions",
            "type": "boolean",
            "description": "Match search phrases against the full description too. Slower because every candidate listing must be opened.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new listings",
            "type": "boolean",
            "description": "Skip listings returned by an earlier run with the same filters. Useful for scheduled runs. The first run returns everything and remembers what it returned.",
            "default": false
          },
          "minAskingPrice": {
            "title": "Min asking price (USD)",
            "minimum": 0,
            "maximum": 500000000,
            "type": "integer",
            "description": "Drop listings with an asking price below this amount."
          },
          "maxAskingPrice": {
            "title": "Max asking price (USD)",
            "minimum": 0,
            "maximum": 500000000,
            "type": "integer",
            "description": "Drop listings with an asking price above this amount."
          },
          "minCashFlow": {
            "title": "Min cash flow (USD)",
            "minimum": 0,
            "maximum": 500000000,
            "type": "integer",
            "description": "Drop listings with annual cash flow below this amount."
          },
          "maxCashFlow": {
            "title": "Max cash flow (USD)",
            "minimum": 0,
            "maximum": 500000000,
            "type": "integer",
            "description": "Drop listings with annual cash flow above this amount."
          },
          "minRevenue": {
            "title": "Min revenue (USD)",
            "minimum": 0,
            "maximum": 500000000,
            "type": "integer",
            "description": "Drop listings with annual revenue below this amount."
          },
          "maxRevenue": {
            "title": "Max revenue (USD)",
            "minimum": 0,
            "maximum": 500000000,
            "type": "integer",
            "description": "Drop listings with annual revenue above this amount."
          },
          "minYearEstablished": {
            "title": "Min year established",
            "minimum": 1800,
            "maximum": 2100,
            "type": "integer",
            "description": "Drop listings established before this year."
          },
          "maxYearEstablished": {
            "title": "Max year established",
            "minimum": 1800,
            "maximum": 2100,
            "type": "integer",
            "description": "Drop listings established after this year."
          },
          "minEmployees": {
            "title": "Min employees",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop listings with fewer employees than this, where the count is disclosed."
          },
          "maxEmployees": {
            "title": "Max employees",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop listings with more employees than this, where the count is disclosed."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on emitted listings.",
            "default": 50
          },
          "maxConcurrency": {
            "title": "Max concurrent requests",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "How many listing pages may be opened at once. Lower is gentler on the site.",
            "default": 6
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}