{
  "openapi": "3.0.1",
  "info": {
    "title": "Flippa Scraper: Listings, Sold Comps & Deal Alerts",
    "description": "crape businesses for sale on Flippa, and see which ones are actually good deals. Every listing comes with valuation multiples and a value score based on what similar businesses really sold for on Flippa. Schedule it to get alerts for new listings, price drops and sales.",
    "version": "0.0",
    "x-build-id": "F7RGfIcniozGcV82C"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dead00~flippa-scraper-listings-sold-comps-deal-alerts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dead00-flippa-scraper-listings-sold-comps-deal-alerts",
        "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/dead00~flippa-scraper-listings-sold-comps-deal-alerts/runs": {
      "post": {
        "operationId": "runs-sync-dead00-flippa-scraper-listings-sold-comps-deal-alerts",
        "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/dead00~flippa-scraper-listings-sold-comps-deal-alerts/run-sync": {
      "post": {
        "operationId": "run-sync-dead00-flippa-scraper-listings-sold-comps-deal-alerts",
        "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": {
          "mode": {
            "title": "What to get",
            "enum": [
              "open_with_comps",
              "open",
              "sold"
            ],
            "type": "string",
            "description": "Scoring compares each listing's profit multiple with what similar businesses actually sold for on Flippa.",
            "default": "open_with_comps"
          },
          "propertyTypes": {
            "title": "Business types",
            "type": "array",
            "description": "Leave empty for all types. Each type gets its own comps.",
            "items": {
              "type": "string",
              "enum": [
                "website",
                "saas",
                "ecommerce_store",
                "fba",
                "ios_app",
                "android_app",
                "plugin_and_extension",
                "ai_apps_and_tools",
                "youtube",
                "game",
                "crypto_app",
                "social_media",
                "newsletter",
                "service_and_agency",
                "service",
                "projects_and_concepts",
                "other"
              ],
              "enumTitles": [
                "Websites & content sites",
                "SaaS",
                "Ecommerce stores",
                "Amazon FBA",
                "iOS apps",
                "Android apps",
                "Plugins & extensions",
                "AI apps & tools",
                "YouTube channels",
                "Games",
                "Crypto apps",
                "Social media accounts",
                "Newsletters",
                "Services & agencies",
                "Services",
                "Projects & concepts",
                "Other"
              ]
            },
            "default": [
              "saas",
              "website",
              "ecommerce_store"
            ]
          },
          "saleMethod": {
            "title": "Sale method",
            "enum": [
              "any",
              "auction",
              "classified"
            ],
            "type": "string",
            "description": "Auctions or fixed-price listings.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "most_recent",
              "lowest_price",
              "highest_price",
              "most_profitable",
              "ending_soonest",
              "most_active"
            ],
            "type": "string",
            "description": "Order in which Flippa returns listings for sale.",
            "default": "most_recent"
          },
          "maxListings": {
            "title": "Max listings",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "How many listings to return (split across the business types).",
            "default": 500
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings asking at least this much. Also applied to the sold comps, so you compare similar-sized businesses."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings asking at most this much."
          },
          "minMonthlyProfit": {
            "title": "Min monthly profit (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings with at least this monthly profit."
          },
          "minMonthlyRevenue": {
            "title": "Min monthly revenue (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings with at least this monthly revenue."
          },
          "maxProfitMultiple": {
            "title": "Max profit multiple",
            "minimum": 0,
            "type": "number",
            "description": "Only listings priced at most this many times their annual profit, e.g. 3 for 3x."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Only listings mentioning any of these words (title, description, type or industry), e.g. AI, newsletter, Shopify. A single keyword is also searched on Flippa directly.",
            "items": {
              "type": "string"
            }
          },
          "compsSampleSize": {
            "title": "Sold comps sample size",
            "minimum": 20,
            "maximum": 5000,
            "type": "integer",
            "description": "How many recent sold listings per business type to use as the comparison baseline (not charged).",
            "default": 300
          },
          "trackChanges": {
            "title": "Track changes between runs",
            "type": "boolean",
            "description": "Marks each listing as new or price changed since the last run, and reports listings that sold (with the sale price) or were removed.",
            "default": false
          },
          "onlyChanges": {
            "title": "Only output changes",
            "type": "boolean",
            "description": "Return only new listings, price changes, and listings that sold or were removed since the last run. Turns on change tracking. Ideal for a daily schedule with email or Slack alerts.",
            "default": false
          },
          "memoryName": {
            "title": "Memory name",
            "type": "string",
            "description": "Where changes are remembered. Use different names for different searches.",
            "default": "flippa-monitor"
          },
          "resetMemory": {
            "title": "Reset memory",
            "type": "boolean",
            "description": "Forget previous runs and start fresh.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy (only if needed)",
            "type": "object",
            "description": "Not needed normally. Turn on only if a run reports that Flippa blocked it (residential proxies work best)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}