{
  "openapi": "3.0.1",
  "info": {
    "title": "RenovationFind Canada Contractors Scraper — Phones & Websites",
    "description": "Canadian renovation contractors from renovationfind.com: the company's own phone and website, street address, RenovationFind certification, letter rating and the 7 verified checks (insurance, WCB, licence, BBB), categories and areas served. Filter by market or trade. $4.50 per 1,000 companies.",
    "version": "0.1",
    "x-build-id": "sSbv1rCPsDj5QNA5l"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapersdelight~renovationfind-canada-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapersdelight-renovationfind-canada-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/scrapersdelight~renovationfind-canada-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapersdelight-renovationfind-canada-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/scrapersdelight~renovationfind-canada-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapersdelight-renovationfind-canada-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": {
          "markets": {
            "title": "Markets or provinces",
            "type": "array",
            "description": "Which RenovationFind markets to export. A market (edmonton, calgary, vancouver, victoria, kelowna, winnipeg, saskatoon, regina, toronto, ottawa, hamilton, kitchener, london, barrie, waterloo, montreal, quebec-city, halifax, fredericton, moncton, saint-john, st-johns), a city inside one (\"burnaby\" = vancouver, \"sherwood park\" = edmonton), a province code (AB, BC, MB, SK, ON, QC, NS, NB, NL) or \"all\" for the whole directory (~6,100 companies). Ignored when you give category pages or company URLs.",
            "default": [
              "calgary"
            ],
            "items": {
              "type": "string"
            }
          },
          "categoryPageUrls": {
            "title": "City + category pages (optional)",
            "type": "array",
            "description": "RenovationFind city/category pages, e.g. https://www.renovationfind.com/ab/edmonton/bathroom-renovations or on/toronto/flooring. Every company the page lists is exported (these pages list certified companies). Replaces `markets` for the run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyUrls": {
            "title": "Company profile URLs (optional)",
            "type": "array",
            "description": "Specific profiles to refresh, e.g. https://www.renovationfind.com/companies/integrity-construction-solutions-6195. Replaces `markets` for the run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "certifiedOnly": {
            "title": "Only RenovationFind Certified companies",
            "type": "boolean",
            "description": "Keep only companies that passed RenovationFind's screening (letter rating + verified checks + street address). About half the directory; the rest are unclaimed listings that still publish a phone and website. Skipped companies are never charged.",
            "default": false
          },
          "minVerifiedChecks": {
            "title": "Minimum verified checks (0-7)",
            "minimum": 0,
            "maximum": 7,
            "type": "integer",
            "description": "Keep only certified companies with at least this many of RenovationFind's 7 checks verified (credit, legal, complaint review, business insurance, workers' compensation, municipal licence, BBB). 0 = no filter. Skipped companies are never charged.",
            "default": 0
          },
          "categoryKeywords": {
            "title": "Category keywords (optional)",
            "type": "array",
            "description": "Keep only companies whose categories (or name) contain one of these words, e.g. \"roof\", \"plumb\", \"basement\", \"hvac\", \"window\". Case-insensitive. Skipped companies are never charged.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "requirePhone": {
            "title": "Only companies with a phone number",
            "type": "boolean",
            "description": "Skip companies that publish no phone on their profile. Skipped companies are never charged.",
            "default": false
          },
          "requireWebsite": {
            "title": "Only companies with their own website",
            "type": "boolean",
            "description": "Skip companies whose only web presence is a RenovationFind mini-site or a social page. Skipped companies are never charged.",
            "default": false
          },
          "excludeClosed": {
            "title": "Skip companies marked as closed",
            "type": "boolean",
            "description": "Skip profiles whose description carries a closure notice (\"OUT OF BUSINESS\", \"permanently closed\", \"ceasing operations\", \"no longer in operation\"). Turn off to receive them with businessClosedNotice = true. Skipped companies are never charged.",
            "default": true
          },
          "collapseDuplicateListings": {
            "title": "One row per company (collapse re-listings)",
            "type": "boolean",
            "description": "RenovationFind creates a separate profile per market for chains and multi-city firms (one design firm has 21). With this on, a profile with the same name and the same phone or website as one already delivered is skipped and not charged. Turn off to receive every profile id.",
            "default": true
          },
          "maxResults": {
            "title": "Max companies",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after delivering this many companies (cost guard). Set 0 for no limit — every company in the chosen markets.",
            "default": 75
          },
          "concurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "The most profile pages fetched at once. RenovationFind's server slows down for everyone under load, so the actor adapts: it halves its parallelism when pages start taking over 15 seconds (median of the last 8) and adds one back after a run of normal ones, never above this number.",
            "default": 4
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 10,
            "maximum": 180,
            "type": "integer",
            "description": "Hard deadline for a single page request; a slow request is retried.",
            "default": 60
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: renovationfind.com answers Apify's servers directly (the default, and the cheapest). If you do pick an Apify proxy, choose the RESIDENTIAL group. If a proxy cannot be set up the run continues without one.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}