{
  "openapi": "3.0.1",
  "info": {
    "title": "Reco.se Scraper - Swedish Trades Leads with Phone & Website",
    "description": "Scrape Reco.se, Sweden's company-review site, for trades leads: plumbers, electricians, builders, painters, roofers and 47 more trades. Phone, website, address, rating and review count per company, nationwide or by place. $0.0045 per company with a phone or website; the rest are never charged.",
    "version": "0.1",
    "x-build-id": "ZR9Yuzw2udGeEZPYO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapersdelight~reco-se-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapersdelight-reco-se-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~reco-se-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapersdelight-reco-se-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~reco-se-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapersdelight-reco-se-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": {
          "categories": {
            "title": "Categories (Reco.se category names)",
            "type": "array",
            "description": "Reco.se categories to collect, spelled as the site spells them in its URLs (reco.se/kategori/<name>/1), e.g. \"rörmokare\", \"elektriker\", \"byggföretag\", \"målare\", \"takläggare\". A full category URL also works. The default is 52 building and installation trades (plumbers, electricians, builders, painters, roofers, tilers, sheet-metal, floors, heat pumps, solar, ventilation, drainage, locksmiths and more). Any category on the site can be used — see reco.se/kategori.",
            "default": [
              "rörmokare",
              "elektriker",
              "byggföretag",
              "snickare",
              "målare",
              "takläggare",
              "plattsättare",
              "plåtslagare",
              "vvs",
              "bygg",
              "hantverkare",
              "tak",
              "renovera-badrum",
              "renovera-kök",
              "badrum",
              "kakel",
              "lägga-golv",
              "slipa-golv",
              "tapetsera",
              "snickeri",
              "fasad",
              "fönster",
              "dörrar",
              "isolering",
              "dränering",
              "markarbete",
              "lägga-marksten",
              "asfalt",
              "rivning",
              "bergsprängning",
              "betonghåltagning",
              "brunnsborrning",
              "bergvärme",
              "luftvärmepump",
              "ventilation",
              "luftkonditionering",
              "kylanläggning",
              "solceller",
              "laddbox",
              "relining",
              "sotare",
              "skorsten",
              "glasmästare",
              "smide",
              "lås",
              "balkonginglasning",
              "byggställning",
              "kontrollansvarig",
              "bygga-hus",
              "sanering",
              "taktvätt",
              "markiser"
            ],
            "items": {
              "type": "string"
            }
          },
          "allCategories": {
            "title": "Every category on Reco.se (ignore the list above)",
            "type": "boolean",
            "description": "On: collect every category Reco.se lists in its category sitemap (~440, including restaurants, hairdressers, car repair, real-estate agents...). Leave off for trades only.",
            "default": false
          },
          "locations": {
            "title": "Places (optional)",
            "type": "array",
            "description": "Limit to places: a municipality, city, district or county as Reco.se names it, e.g. \"uppsala\", \"Stockholm\", \"Södermalm\", \"Stockholms län\", \"Skåne\". Empty = all of Sweden. Every category is collected in every place, including all of the place's sub-areas (Stockholm includes Södermalm, Kungsholmen, Bromma...).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "profileUrls": {
            "title": "Company page URLs (optional — overrides categories)",
            "type": "array",
            "description": "Your own list of Reco.se company pages (https://www.reco.se/<company> or just the <company> part). When given, only these companies are collected.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max companies",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many companies are delivered. 0 = no limit (every company in the chosen categories and places).",
            "default": 50
          },
          "onlyWithContact": {
            "title": "Only companies with a phone or website",
            "type": "boolean",
            "description": "On (default): companies that publish neither a phone number nor a website are skipped and never charged. Off: they are delivered too, free of charge.",
            "default": true
          },
          "requirePhone": {
            "title": "Only companies with a phone number",
            "type": "boolean",
            "description": "Skip companies without a phone number (skipped companies are never charged).",
            "default": false
          },
          "requireWebsite": {
            "title": "Only companies with a website",
            "type": "boolean",
            "description": "Skip companies without their own website (skipped companies are never charged).",
            "default": false
          },
          "includeReviews": {
            "title": "Recent reviews per company (0-5)",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Add up to the 5 most recent reviews (date, stars, headline, text, reviewer's display name) to each company row. 0 = none.",
            "default": 0
          },
          "completeSweep": {
            "title": "Complete sweep (every company page on Reco.se)",
            "type": "boolean",
            "description": "Reco.se shows at most 25 companies per category page. The Actor walks down into sub-areas (län > kommun > stadsdel) to get past that, which reaches every company where sub-area pages exist (measured: 93 of 93 plumbers in Stockholm, 693 plumbers nationwide). Some big cities have NO sub-area pages (Göteborg: 25 of 57 builders reachable). On: after the walk, also read Reco's company sitemap (~43,000 pages) and keep every company whose own categories and areas match your input. Slower (roughly 45-60 min for the full sitemap — raise the run timeout), and you are still only charged for delivered companies.",
            "default": false
          },
          "updatedSince": {
            "title": "Only companies changed since (sitemap feed)",
            "type": "string",
            "description": "A date (YYYY-MM-DD). Reads only company pages Reco's sitemap marks as modified on or after this date and keeps those in your categories/places - a cheap weekly 'new and changed' feed. Uses the sitemap only (category pages carry no dates)."
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "How many pages to fetch at once.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Reco.se answers Apify's own network directly, so no proxy is needed (default). If you want one, pick the RESIDENTIAL group; if a configured proxy cannot be created the run continues directly.",
            "default": {
              "useApifyProxy": false
            }
          },
          "debugSaveRawSamples": {
            "title": "Save raw page samples (debug)",
            "type": "boolean",
            "description": "Save up to 12 raw HTML pages to the key-value store for troubleshooting.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}