{
  "openapi": "3.0.1",
  "info": {
    "title": "Xome Auction Scraper — Foreclosure, REO & Short Sale Homes",
    "description": "Scrape Xome real estate auctions: foreclosure, bank-owned (REO), 2nd Chance (CWCOT) and short sale properties by state or city, with starting and current bid, reserve, Own-It-Now price, auction dates, beds, baths, size, year and map location. Optional full details. No login.",
    "version": "0.1",
    "x-build-id": "ugPlip4ubJs1PzYDg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~xome-auctions-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-xome-auctions-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/yugenox~xome-auctions-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-xome-auctions-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/yugenox~xome-auctions-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-xome-auctions-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": {
          "states": {
            "title": "🗺️ States",
            "type": "array",
            "description": "US states to search, as codes or names, e.g. \"TX\", \"Florida\". Each state is one search of all its Xome auctions. Leave states, cities and URLs empty to search every auction in the US.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "🏙️ Cities",
            "type": "array",
            "description": "Cities with their state, e.g. \"Houston, TX\", \"Fort Worth, Texas\". A city Xome doesn't list is skipped and named in the run's status message (the one page read for it counts as a \"Page checked\").",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max properties",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum number of auction properties for the whole run, shared fairly between your searches. 0 = everything that matches (up to 20,000).",
            "default": 100
          },
          "saleTypes": {
            "title": "Sale types",
            "type": "array",
            "description": "Xome's own sale-type filter. Empty = all sale types. Foreclosure = trustee / sheriff sales before the bank takes the property; Bank owned = REO properties sold by the lender; 2nd Chance Foreclosure = HUD CWCOT properties offered after a foreclosure sale; Non-bank owned = other sellers; Short sale = the owner sells below the loan balance with the lender's approval.",
            "items": {
              "type": "string",
              "enum": [
                "FORECLOSURE",
                "BANK_OWNED",
                "SECOND_CHANCE",
                "NON_BANK_OWNED",
                "SHORT_SALE"
              ],
              "enumTitles": [
                "Foreclosure (trustee sale)",
                "Bank owned (REO)",
                "2nd Chance Foreclosure (CWCOT)",
                "Non-bank owned",
                "Short sale"
              ]
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Keep only these property types. Empty = all. Commercial on its own uses Xome's own commercial filter; the other types are checked on each listing.",
            "items": {
              "type": "string",
              "enum": [
                "SINGLE_FAMILY",
                "CONDO",
                "TOWNHOUSE",
                "MULTI_FAMILY",
                "MOBILE_MANUFACTURED",
                "LAND",
                "COMMERCIAL",
                "OTHER"
              ],
              "enumTitles": [
                "Single family",
                "Condo",
                "Townhouse",
                "Multi-family",
                "Mobile / manufactured home",
                "Land",
                "Commercial",
                "Other"
              ]
            }
          },
          "endingWithinDays": {
            "title": "Auction ends within (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Keep only auctions that end within this many days from now. Xome lists the soonest-ending auctions first, so the run stops reading pages as soon as the window is passed. Empty = any end date."
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price to keep. The price is the current bid when bidding has started, otherwise the starting bid (or Xome's estimated opening bid for trustee sales). Properties without any price are left out when a price filter is set."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price to keep (same price as for Min price)."
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Keep only properties with at least this many bedrooms (properties where Xome gives no bedroom count are left out)."
          },
          "includeDetails": {
            "title": "Include full details",
            "type": "boolean",
            "description": "Also open each property's page for the description, county, lot size, stories, garage, title type, MLS number, bid / view / save counts, deposit and buyer's-premium terms, cash-only flag, all photos and the documents Xome links. Charged per property as \"Full details\" on top of the property (see Pricing). Slower: one more page per property.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new auctions",
            "type": "boolean",
            "description": "Skip properties that an earlier run with the same input already saved (they are not charged). Ideal for a daily schedule that alerts you to new auctions. Results pages that hold no new property count as a \"Page checked\".",
            "default": false
          },
          "startUrls": {
            "title": "🔗 Xome URLs",
            "type": "array",
            "description": "Optional: Xome auction search pages (xome.com/auctions, /auctions/tx, /auctions/tx/houston, with Xome's filters in the URL such as ?bank-owned), auction event pages (/auctions/event-details/…) or property pages (xome.com/auctions/<address>-<number>). Property pages always come with full details.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is used and comes with every Apify plan, including the free one. You can also paste your own proxy URLs.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}