{
  "openapi": "3.0.1",
  "info": {
    "title": "Zlaté stránky Slovak Business & Review Finder",
    "description": "Search Slovakia's Zlaté stránky directory by keyword or trade category, or fetch exact business pages, and get address, contact details, opening hours, rating, and customer reviews for each one.",
    "version": "1.0",
    "x-build-id": "tQqzYGBRGNlWRkjRj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~zlat-str-nky-slovak-business-and-review-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-zlat-str-nky-slovak-business-and-review-finder",
        "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/dataspryva~zlat-str-nky-slovak-business-and-review-finder/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-zlat-str-nky-slovak-business-and-review-finder",
        "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/dataspryva~zlat-str-nky-slovak-business-and-review-finder/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-zlat-str-nky-slovak-business-and-review-finder",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byCategory",
              "byUrl"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Free-text keyword, e.g. business name, trade, or service (\"reštaurácia\", \"kaderníctvo\", \"advokáti\").",
            "default": "reštaurácia"
          },
          "searchQueries": {
            "title": "Search queries (multi-query, mode=search)",
            "type": "array",
            "description": "Run several keyword searches in one run (e.g. [\"reštaurácia\", \"kaderníctvo\"]). Results are de-duplicated and share the `maxItems` cap. Leave empty to use `searchQuery`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category (mode=byCategory)",
            "type": "string",
            "description": "A Zlaté stránky category/trade search term. Type any term you find while browsing the site's category index at zlatestranky.sk/rubriky-az/, or copy one of the 51 curated examples below into the field.\n\nCurated examples:\n`reštaurácie` (Restaurants), `advokáti` (Lawyers), `lekári` (Doctors), `lekárne` (Pharmacies), `realitné kancelárie` (Real estate agencies), `kaderníctvo` (Hairdressers), `elektroinštalácie` (Electrical installations), `automobily - servisy` (Car repair shops), `nábytok` (Furniture), `cestovné kancelárie a agentúry` (Travel agencies), `upratovacie služby` (Cleaning services), `gastronomické služby` (Catering services), `ubytovne` (Hostels/lodging), `automobily - náhradné dielce` (Car parts), `maliari interiérov` (Interior painters), `geodézia` (Surveying), `architekti` (Architects), `e-shopy` (Online shops), `inštalatéri` (Plumbers), `taxislužba` (Taxi service), `ekonomické poradenstvo` (Economic consulting), `inžinierska činnosť` (Engineering services), `veterinári` (Veterinarians), `autobazáre` (Used car dealers), `zabezpečovacie zariadenia a systémy` (Security systems), `automobily - príslušenstvo a doplnky` (Car accessories), `automobily - požičovne` (Car rentals), `autobusová doprava` (Bus transport), `kamenárstvo` (Stonemasonry), `banky` (Banks), `elektrikári` (Electricians), `ubytovanie v súkromí` (Private accommodation), `interiéry` (Interior design), `jazykové školy` (Language schools), `darčekové predmety` (Gift shops), `informačné systémy` (IT/information systems), `papiernictvá` (Stationery stores), `internet - pripojenie` (Internet providers), `deratizácia` (Pest control), `manikúra` (Manicure), `pedikúra` (Pedicure), `kanalizácia` (Sewerage services), `zariadenia pre seniorov` (Senior care facilities), `audítori` (Auditors), `elektrické spotrebiče` (Electrical appliances), `kancelárie - prenájom` (Office rental), `herne a kasína` (Gaming halls & casinos), `daňové poradenstvo` (Tax consulting), `gastronómia` (Gastronomy), `jedálne` (Canteens), `hasiči` (Fire safety services), `bicykle` (Bicycles), `kúpaliská, plavárne` (Swimming pools)",
            "default": "reštaurácie"
          },
          "city": {
            "title": "City / town",
            "type": "string",
            "description": "Restrict results to a Slovak city or town, matching zlatestranky.sk's own city-scoped URLs. Works with any mode. Leave empty for nationwide results. Any valid Slovak town name is accepted; common examples: `Bratislava`, `Košice`, `Prešov`, `Žilina`, `Banská Bystrica`, `Nitra`, `Trnava`, `Trenčín`, `Martin`, `Poprad`, `Prievidza`, `Zvolen`, `Považská Bystrica`, `Michalovce`, `Spišská Nová Ves`, `Komárno`, `Levice`, `Humenné`, `Bardejov`, `Liptovský Mikuláš`, `Ružomberok`, `Piešťany`, `Topoľčany`, `Lučenec`, `Čadca`, `Dunajská Streda`, `Rimavská Sobota`, `Vranov nad Topľou`, `Šaľa`, `Pezinok`, `Nové Zámky`, `Trebišov`."
          },
          "cities": {
            "title": "Cities / towns (multi-city)",
            "type": "array",
            "description": "Restrict results to several Slovak cities/towns in one run (e.g. [\"Bratislava\", \"Košice\"]). Leave empty to use `city`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "Business detail URLs (mode=byUrl)",
            "type": "array",
            "description": "Full zlatestranky.sk detail-page URLs, e.g. `https://www.zlatestranky.sk/firmy/Bratislava/H681768/Luigi+No.+1,+s.r.o./`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Keyword filter",
            "type": "string",
            "description": "Only keep results whose name, description, categories, or services contain this text (case- and diacritics-insensitive)."
          },
          "minRating": {
            "title": "Minimum rating (0-5)",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Drop businesses with a review rating below this value."
          },
          "openNowOnly": {
            "title": "Open now only",
            "type": "boolean",
            "description": "Only emit businesses currently marked as open on zlatestranky.sk.",
            "default": false
          },
          "fetchDetails": {
            "title": "Fetch full detail page per business",
            "type": "boolean",
            "description": "For search/byCategory modes: visit each business's detail page to also collect review count, full per-day opening hours, services offered, accepted payment methods, related keywords, and gallery photos. Slower (1 extra request per business).",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional proxy settings. Leave empty to use no proxy — zlatestranky.sk is publicly accessible without one. The actor automatically escalates to the free AUTO datacenter proxy group if it hits a 403/429."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}