{
  "openapi": "3.0.1",
  "info": {
    "title": "Houzz Scraper: Pros, Reviews and Projects",
    "description": "Find Houzz contractors, architects and interior designers by trade and place in 15 countries. Get business phone, website, address, rating and cost estimate, up to 1,000 client reviews per run with the reply of the business, plus portfolio photos and projects, for lead lists and reputation research.",
    "version": "1.0",
    "x-build-id": "Y4X3dwcEpyjqgKeI2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/happyendpoint~houzz-professionals-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-happyendpoint-houzz-professionals-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/happyendpoint~houzz-professionals-scraper/runs": {
      "post": {
        "operationId": "runs-sync-happyendpoint-houzz-professionals-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/happyendpoint~houzz-professionals-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-happyendpoint-houzz-professionals-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",
        "required": [
          "operation"
        ],
        "properties": {
          "operation": {
            "title": "Operation",
            "enum": [
              "searchLocations",
              "listProfessionalCategories",
              "searchProfessionals",
              "searchProfessionalsByUrl",
              "getProfessionalFilters",
              "getProfessionalDetails",
              "getProfessionalDetailsByUrl",
              "getProfessionalReviews",
              "getProfessionalPhotos",
              "getProfessionalProjects",
              "getProjectPhotos",
              "getProjectPhotosByUrl"
            ],
            "type": "string",
            "description": "Which data to fetch. Each option is one kind of request."
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The most results to return. The run stops once it has this many.",
            "default": 100
          },
          "category": {
            "title": "Category ID",
            "minimum": 1,
            "type": "integer",
            "description": "The trade to search, as Professional categories returns it in category_id. The numbers differ between country sites, so take them from the same Country site. Used by: Search professionals, Professional filters."
          },
          "url": {
            "title": "Houzz page link",
            "type": "string",
            "description": "A link copied from your browser on the US Houzz site: a directory page for Search by directory link, a profile for Profile by link, or a project page for Project photos by link. Used by: Search by directory link, Profile by link, Project photos by link."
          },
          "userId": {
            "title": "User ID",
            "minimum": 1,
            "maximum": 2147483647,
            "type": "integer",
            "description": "The number of a professional's Houzz account, as rows return it in user_id. Used by: Profile, Projects."
          },
          "professionalId": {
            "title": "Professional ID",
            "minimum": 1,
            "maximum": 2147483647,
            "type": "integer",
            "description": "The number of a professional's business listing, as rows return it in professional_id: not the same number as the user ID. Used by: Reviews, Portfolio photos."
          },
          "projectId": {
            "title": "Project ID",
            "minimum": 1,
            "maximum": 2147483647,
            "type": "integer",
            "description": "The number of one project, as Projects returns it in project_id. Used by: Project photos."
          },
          "location": {
            "title": "Location",
            "maxLength": 100,
            "type": "string",
            "description": "A place as text. For Location suggestions, the first letters of a place name. For Search professionals, one of the place names Location suggestions returns, or a US ZIP code. Used by: Location suggestions, Search professionals."
          },
          "locationId": {
            "title": "Location ID",
            "minimum": 1,
            "maximum": 2147483647,
            "type": "integer",
            "description": "A place number to use instead of Location, as Professional filters lists it under popular_locations. Used by: Search professionals."
          },
          "radiusMiles": {
            "title": "Radius (miles)",
            "minimum": 1,
            "maximum": 100,
            "type": "number",
            "description": "How far around the place to look. Works only with Location or Location ID. Used by: Search professionals."
          },
          "market": {
            "title": "Country site",
            "enum": [
              "us",
              "gb",
              "au",
              "de",
              "fr",
              "ru",
              "jp",
              "it",
              "es",
              "dk",
              "se",
              "ie",
              "nz",
              "sg",
              "in"
            ],
            "type": "string",
            "description": "The Houzz country site to search. Leave it empty for the United States site. Used by: Location suggestions, Professional categories, Search professionals, Professional filters, Profile, Reviews, Portfolio photos, Projects, Project photos."
          },
          "query": {
            "title": "Keyword",
            "maxLength": 100,
            "type": "string",
            "description": "Only professionals that mention this word. Used by: Search professionals."
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "5",
              "4",
              "3",
              "2",
              "1"
            ],
            "type": "string",
            "description": "Lowest average star rating. Once set, it leaves out professionals that nobody has reviewed. Used by: Search professionals."
          },
          "budgetLevels": {
            "title": "Budget levels",
            "pattern": "^[1-4](,[1-4]){0,3}$",
            "type": "string",
            "description": "Price levels to include, 1 (budget) to 4 (luxury), separated by commas. Any of them may match. Used by: Search professionals."
          },
          "styleIds": {
            "title": "Style IDs",
            "pattern": "^[0-9]{1,10}(,[0-9]{1,10}){0,49}$",
            "type": "string",
            "description": "Design style IDs from Professional filters, separated by commas. Any of them may match. Used by: Search professionals."
          },
          "badgeIds": {
            "title": "Badge IDs",
            "pattern": "^[0-9]{1,10}(,[0-9]{1,10}){0,49}$",
            "type": "string",
            "description": "Badge IDs from Professional filters, separated by commas, such as awards or verified licenses. Used by: Search professionals."
          },
          "languageIds": {
            "title": "Language IDs",
            "pattern": "^[0-9]{1,10}(,[0-9]{1,10}){0,49}$",
            "type": "string",
            "description": "Language IDs from Professional filters, separated by commas. Any of them may match. Used by: Search professionals."
          },
          "serviceIds": {
            "title": "Service IDs",
            "pattern": "^[0-9]{1,10}(,[0-9]{1,10}){0,49}$",
            "type": "string",
            "description": "Service IDs from Professional filters for the same trade, with a comma between them. A match on any one is enough. Used by: Search professionals."
          },
          "sort": {
            "title": "Sort professionals",
            "enum": [
              "best_match",
              "most_reviewed",
              "recently_reviewed"
            ],
            "type": "string",
            "description": "Order of the search results. Leave it empty for the best match. Used by: Search professionals."
          },
          "reviewSort": {
            "title": "Sort reviews",
            "enum": [
              "newest",
              "oldest",
              "highest_rating",
              "lowest_rating"
            ],
            "type": "string",
            "description": "Order of the reviews. Used by: Reviews."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}