{
  "openapi": "3.0.1",
  "info": {
    "title": "Zillow Property Lookup API — Address · URL · ZPID",
    "description": "Zillow property detail API alternative. Look up any home by street address, listing URL, or ZPID and get clean JSON: price, Zestimate, beds, baths, sqft, year built, days on market, plus a premium tier with tax history, price history, schools, agent contacts and 180+ property facts.",
    "version": "1.0",
    "x-build-id": "k3ygvRsmICtf7KpaR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~zillow-property-lookup/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-zillow-property-lookup",
        "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/sian.agency~zillow-property-lookup/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-zillow-property-lookup",
        "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/sian.agency~zillow-property-lookup/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-zillow-property-lookup",
        "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": {
          "propertyIdentifiers": {
            "title": "🏠 Property Identifiers (Address · URL · ZPID)",
            "uniqueItems": true,
            "type": "array",
            "description": "🏠 **BULK LOOKUP:** Add one or more property identifiers. Each row is auto-detected as a **Zillow listing URL**, a **numeric ZPID**, or a **street address** — you can mix all three types freely.\n\n📋 **Examples (one per line, use \"Bulk edit\"):**\n- `1875 Avondale Circle, Jacksonville, FL 32205`\n- `44471319`\n- `https://www.zillow.com/homedetails/2762-Downing-St-Jacksonville-FL-32205/44471319_zpid/`\n\n💡 **TIER-BASED LIMITS:**\n- **FREE plan:** up to 5 identifiers per run\n- **PAID plan:** unlimited identifiers\n\n💡 **TIP:** for a single property you can instead use the convenience fields below.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "detailTier": {
            "title": "✨ Detail Tier",
            "enum": [
              "standard",
              "premium"
            ],
            "type": "string",
            "description": "✨ **Choose how much data you get per property:**\n\n- **standard** — lightweight core fields: price, Zestimate, beds, baths, area (sqft), year built, days on market, address, Zillow URL. Best for high-volume, low-cost lookups.\n- **premium** — everything in standard PLUS tax history, price history, schools, rent Zestimate, listing agent & broker contacts, latitude/longitude, lot size, home type, and 180+ property facts. Available on paying Apify plans.\n\n💡 FREE-plan runs always use the standard tier.",
            "default": "standard"
          },
          "propertyUrl": {
            "title": "🔗 Single Property URL",
            "type": "string",
            "description": "🔗 **SINGLE LOOKUP (URL):** Paste one Zillow property URL.\n\n📋 **How to get it:**\n1. Open the property page on Zillow\n2. Copy the address-bar URL\n3. Paste it here\n\n✅ **SUPPORTED:** `https://www.zillow.com/homedetails/...` links that contain a ZPID.\n\n💡 **TIP:** use the array field above to look up many properties at once."
          },
          "zpid": {
            "title": "🔢 Single ZPID",
            "type": "string",
            "description": "🔢 **SINGLE LOOKUP (ZPID):** A property's numeric Zillow ID (ZPID). You can find it in the property URL (the digits before `_zpid`).\n\n📋 **Example:** `44471319`"
          },
          "propertyAddress": {
            "title": "📍 Single Street Address",
            "type": "string",
            "description": "📍 **SINGLE LOOKUP (Address):** A full street address including city and state.\n\n📋 **Example:** `1875 Avondale Circle, Jacksonville, FL 32205`\n\n💡 **TIP:** the more complete the address (street, city, state, ZIP), the more reliable the match."
          },
          "requestsFromUrl": {
            "title": "📄 Identifiers from a Text File (URL)",
            "type": "string",
            "description": "📄 **BULK FROM FILE:** URL of a plain-text file with one identifier per line (address, URL, or ZPID). Handy for very large lists hosted in cloud storage.\n\n💡 Lines are merged with any identifiers provided above and de-duplicated."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}