{
  "openapi": "3.0.1",
  "info": {
    "title": "Empire Flippers Scraper: Online Businesses for Sale & Sold",
    "description": "Scrape Empire Flippers (empireflippers.com) listings of online businesses for sale and sold: asking price, SDE multiple, revenue, profit, monthly P&L, traffic, niche, monetization, risks and reason for sale. Sold comps for valuations. Export data to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "mnZ2phEHbzmLEphsp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~empire-flippers-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-empire-flippers-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/steadyscrape~empire-flippers-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-empire-flippers-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/steadyscrape~empire-flippers-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-empire-flippers-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": {
          "listingStatuses": {
            "title": "Listings",
            "type": "array",
            "description": "Which listings to get: <code>For sale</code> now, <code>Pending sold</code> (a buyer has put down a deposit) or <code>Sold</code> (the archive of closed deals, for valuation comps). Pick several to mix them; leave empty for all three.",
            "items": {
              "type": "string",
              "enum": [
                "for_sale",
                "pending_sold",
                "sold"
              ],
              "enumTitles": [
                "For sale",
                "Pending sold (under offer)",
                "Sold"
              ]
            },
            "default": [
              "for_sale"
            ]
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Words to search listings for with Empire Flippers' own full-text search (<code>newsletter</code>, <code>pet supplies</code>, <code>shopify</code>). Each keyword is a separate search with the same filters. Leave empty to list everything the filters match. Up to 50.",
            "items": {
              "type": "string"
            }
          },
          "monetizations": {
            "title": "Monetizations",
            "type": "array",
            "description": "How the business makes money, as the marketplace tags it (<code>Amazon FBA</code>, <code>SaaS</code>, <code>Display Advertising</code>, <code>eCommerce</code>…). A listing with any of the chosen ones matches. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Affiliate",
                "Agency",
                "Amazon Associates",
                "Amazon FBA",
                "Amazon FBM",
                "Amazon KDP",
                "Amazon Merch",
                "Application",
                "Digital Product",
                "Display Advertising",
                "DropShipping",
                "eCommerce",
                "Info Product",
                "Lead Gen",
                "Newsletter",
                "Other",
                "SaaS",
                "Service",
                "Subscription",
                "Subscription-Box",
                "YouTube"
              ]
            }
          },
          "niches": {
            "title": "Niches",
            "type": "array",
            "description": "The market the business serves (<code>Pet Care</code>, <code>Health & Fitness</code>, <code>Home</code>…). A listing with any of the chosen ones matches. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Advertising",
                "Agriculture",
                "Apparel & Accessories",
                "Art",
                "Automotive",
                "Baby Care",
                "Baking",
                "Beauty",
                "Bed & Bath",
                "Books",
                "Business",
                "Children",
                "Cleaning Products",
                "Coupons",
                "Cryptocurrency",
                "Culinary",
                "Dating",
                "Design",
                "Digital Media",
                "Electronic Cigarettes",
                "Electronics",
                "Employment",
                "Entertainment",
                "Equipment",
                "Finance",
                "Food & Beverages",
                "Gaming",
                "Health & Fitness",
                "Hobbies",
                "Home",
                "Hospitality",
                "Information",
                "Jewelry",
                "Kitchenware",
                "Legal",
                "Lifestyle",
                "Medical",
                "Music",
                "News & Education",
                "Occasions & Gifts",
                "Office Supply",
                "Outdoors",
                "Parenting",
                "Personal Care",
                "Pet Care",
                "Quizzes",
                "Real Estate",
                "Religion & Spirituality",
                "Retail & Wholesale",
                "Romance",
                "Science",
                "SEO",
                "Social Media",
                "Sports",
                "Supplements",
                "Survival & Security",
                "Technology",
                "Tobacco Accessories",
                "Travel"
              ]
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter codes of the markets the business sells to or gets its traffic from (<code>US</code>, <code>GB</code>, <code>DE</code>). A listing serving any of them matches. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min asking price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Listings asking at least this much."
          },
          "maxPrice": {
            "title": "Max asking price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Listings asking at most this much."
          },
          "minAnnualNetProfit": {
            "title": "Min annual net profit (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "The listing's average monthly net profit over its pricing period, times 12."
          },
          "maxAnnualNetProfit": {
            "title": "Max annual net profit (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Average annual net profit at most this much."
          },
          "minAnnualMultiple": {
            "title": "Min annual multiple",
            "minimum": 0,
            "type": "number",
            "description": "Asking price divided by annual net profit (SDE), e.g. <code>2.5</code>."
          },
          "maxAnnualMultiple": {
            "title": "Max annual multiple",
            "minimum": 0,
            "type": "number",
            "description": "Annual multiple at most this, e.g. <code>3.5</code>."
          },
          "soldFrom": {
            "title": "Sold from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "<code>YYYY-MM-DD</code>. Sold listings closed on or after this day."
          },
          "soldTo": {
            "title": "Sold to",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "<code>YYYY-MM-DD</code>. Sold listings closed on or before this day."
          },
          "soldInLastDays": {
            "title": "Sold in the last N days",
            "minimum": 1,
            "type": "integer",
            "description": "Sold listings closed in the last N days, counted back from the day of the run (good for a scheduled run). Instead of <code>Sold from</code>."
          },
          "listedInLastDays": {
            "title": "Listed in the last N days",
            "minimum": 1,
            "type": "integer",
            "description": "Listings first listed in the last N days, counted back from the day of the run: run it daily with <code>1</code> or <code>2</code> to get new deals."
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "marketplace",
              "newest",
              "recently_sold",
              "price_high",
              "price_low",
              "profit_high",
              "revenue_high",
              "multiple_low",
              "multiple_high",
              "oldest_business"
            ],
            "type": "string",
            "description": "The order listings come in, which decides which ones a maximum keeps.",
            "default": "marketplace"
          },
          "startUrls": {
            "title": "Empire Flippers links",
            "type": "array",
            "description": "Listing links (<code>https://empireflippers.com/listing/97290/</code>) or bare listing numbers (<code>97290</code>), marketplace category pages (<code>https://empireflippers.com/marketplace/saas-businesses-for-sale/</code>), or a link to the public listings API with your own query. Up to 5000. Links alone run no form search; links plus a filter run both.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Max listings per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many listings each keyword, filter search or pasted search delivers at most. The whole marketplace, sold archive included, is under 3,000 listings.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}