{
  "openapi": "3.0.1",
  "info": {
    "title": "Flippa Scraper - Listings & Valuations",
    "description": "Flippa scraper: find underpriced businesses for sale. Every SaaS, ecommerce, content or app listing is rated below, at or above market against similar listings for sale now, plus the multiple similar ones sold at. Price, revenue, profit, multiples, verified data, market report. $1.50 per 1,000.",
    "version": "0.0",
    "x-build-id": "a0YQ3c12sP9Hwh9BO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadywren~flippa-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadywren-flippa-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/steadywren~flippa-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadywren-flippa-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/steadywren~flippa-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadywren-flippa-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",
        "properties": {
          "status": {
            "title": "Listings",
            "enum": [
              "open",
              "sold"
            ],
            "type": "string",
            "description": "Businesses currently for sale, or sold deals (useful as valuation comparables).",
            "default": "open"
          },
          "propertyTypes": {
            "title": "Business types",
            "type": "array",
            "description": "Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "ecommerce",
                "saas",
                "content",
                "youtube-channels",
                "amazon-fba",
                "amazon-kdp",
                "ios-apps",
                "android-apps",
                "digital-agencies",
                "services",
                "ai-apps-and-tools",
                "marketplaces",
                "social-media-accounts",
                "newsletters",
                "plugins-and-extensions",
                "crypto-and-blockchain",
                "projects-and-concepts",
                "domain",
                "other"
              ],
              "enumTitles": [
                "Ecommerce",
                "SaaS",
                "Content sites",
                "YouTube channels",
                "Amazon FBA",
                "Amazon KDP",
                "iOS apps",
                "Android apps",
                "Digital agencies",
                "Services",
                "AI apps and tools",
                "Marketplaces",
                "Social media accounts",
                "Newsletters",
                "Plugins and extensions",
                "Crypto and blockchain",
                "Projects and concepts",
                "Domains",
                "Other"
              ]
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Leave empty for all industries.",
            "items": {
              "type": "string",
              "enum": [
                "automotive",
                "business",
                "design-and-style",
                "education",
                "electronics",
                "entertainment",
                "food-and-drink",
                "general-knowledge",
                "health-and-beauty",
                "hobbies-and-games",
                "home-and-garden",
                "internet",
                "lifestyle",
                "sports-and-outdoor",
                "travel"
              ],
              "enumTitles": [
                "Automotive",
                "Business",
                "Design and style",
                "Education",
                "Electronics",
                "Entertainment",
                "Food and drink",
                "General knowledge",
                "Health and beauty",
                "Hobbies and games",
                "Home and garden",
                "Internet",
                "Lifestyle",
                "Sports and outdoor",
                "Travel"
              ]
            }
          },
          "minAskingPriceUsd": {
            "title": "Min price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum asking price."
          },
          "maxAskingPriceUsd": {
            "title": "Max price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum asking price."
          },
          "minMonthlyProfitUsd": {
            "title": "Min monthly profit (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum monthly net profit."
          },
          "minMonthlyRevenueUsd": {
            "title": "Min monthly revenue (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum monthly revenue."
          },
          "maxProfitMultiple": {
            "title": "Max profit multiple",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum asking price / annual profit multiple (whole number, e.g. 3)."
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many listings. You are charged per listing, so this also caps the cost.",
            "default": 100
          },
          "includeValuation": {
            "title": "Deal rating",
            "type": "boolean",
            "description": "For businesses for sale: rate each price-to-profit multiple against comparable businesses for sale right now (same type, industry and profit size) and show what similar businesses sold for. Adds dealRating, peerPercentile, peerMedianMultiple, soldMedianMultiple and more. Comparables are not charged.",
            "default": true
          },
          "compsMaxItems": {
            "title": "Comparables to load (per set)",
            "minimum": 50,
            "maximum": 2000,
            "type": "integer",
            "description": "How many comparable listings for sale, and how many sold deals, to load (50 per page each). More comparables give more listings a rating.",
            "default": 500
          },
          "startUrls": {
            "title": "Flippa search URLs (optional)",
            "type": "array",
            "description": "Paste search URLs from flippa.com/search with your own filters. When set, the filters above are ignored.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Search pages fetched in parallel.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy servers used for the requests.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}