{
  "openapi": "3.0.1",
  "info": {
    "title": "Empire Flippers Marketplace Scraper",
    "description": "Extract public Empire Flippers business listings with asking prices, monthly financials, valuation multiples, niches, workload, opportunities, risks, traffic, and status.",
    "version": "0.1",
    "x-build-id": "wLhhWRQScEtszjIqu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation-lab~empire-flippers-marketplace-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation-lab-empire-flippers-marketplace-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/automation-lab~empire-flippers-marketplace-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation-lab-empire-flippers-marketplace-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/automation-lab~empire-flippers-marketplace-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation-lab-empire-flippers-marketplace-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": {
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after this many unique marketplace listings.",
            "default": 20
          },
          "query": {
            "title": "Keyword search",
            "type": "string",
            "description": "Search public listing text, for example SaaS, pet, newsletter, or Shopify."
          },
          "listingNumbers": {
            "title": "Listing numbers",
            "uniqueItems": true,
            "type": "array",
            "description": "Look up specific Empire Flippers listing numbers. Other filters below still apply.",
            "items": {
              "type": "integer",
              "minimum": 1
            }
          },
          "listingStatus": {
            "title": "Listing status",
            "enum": [
              "For Sale",
              "Pending Sold",
              "Sold"
            ],
            "type": "string",
            "description": "Extract businesses currently for sale, pending sale, or already sold.",
            "default": "For Sale"
          },
          "minPrice": {
            "title": "Minimum asking price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep listings priced at or above this USD amount."
          },
          "maxPrice": {
            "title": "Maximum asking price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep listings priced at or below this USD amount."
          },
          "minMonthlyNetProfit": {
            "title": "Minimum monthly net profit (USD)",
            "type": "number",
            "description": "Keep listings with at least this average monthly net profit."
          },
          "maxMonthlyNetProfit": {
            "title": "Maximum monthly net profit (USD)",
            "type": "number",
            "description": "Keep listings with no more than this average monthly net profit."
          },
          "niches": {
            "title": "Niches",
            "uniqueItems": true,
            "type": "array",
            "description": "Exact Empire Flippers niche names, such as Health & Fitness, Technology, or Pet Care.",
            "items": {
              "type": "string"
            }
          },
          "monetizations": {
            "title": "Monetization models",
            "uniqueItems": true,
            "type": "array",
            "description": "Exact models such as SaaS, eCommerce, Amazon FBA, Affiliate, or Newsletter.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "uniqueItems": true,
            "type": "array",
            "description": "Two-letter country codes separated as list entries, for example US, GB, or AU.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            }
          },
          "usesPbn": {
            "title": "Uses a private blog network",
            "type": "boolean",
            "description": "Filter listings by whether they use a PBN."
          },
          "hasTrademark": {
            "title": "Has a trademark",
            "type": "boolean",
            "description": "Filter listings by published trademark status."
          },
          "hasSellerInterview": {
            "title": "Has a seller interview",
            "type": "boolean",
            "description": "Filter listings by seller-interview availability."
          },
          "sbaFinancingApproved": {
            "title": "SBA financing approved",
            "type": "boolean",
            "description": "Filter listings by published SBA financing approval."
          },
          "firstListedFrom": {
            "title": "First listed from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Keep listings first published on or after this UTC date."
          },
          "firstListedTo": {
            "title": "First listed to",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Keep listings first published on or before this UTC date."
          },
          "updatedFrom": {
            "title": "Updated from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Keep listings updated on or after this UTC date."
          },
          "updatedTo": {
            "title": "Updated to",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Keep listings updated on or before this UTC date."
          },
          "sortBy": {
            "title": "Sort listings by",
            "enum": [
              "first_listed_at",
              "last_updated",
              "listing_price",
              "average_monthly_net_profit",
              "average_monthly_gross_revenue",
              "listing_multiple",
              "days_on_marketplace",
              "listing_number"
            ],
            "type": "string",
            "description": "Choose the Empire Flippers field used to order results.",
            "default": "first_listed_at"
          },
          "sortOrder": {
            "title": "Sort direction",
            "enum": [
              "DESC",
              "ASC"
            ],
            "type": "string",
            "description": "Return highest/newest first or lowest/oldest first.",
            "default": "DESC"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}