{
  "openapi": "3.0.1",
  "info": {
    "title": "Slovakia RPO Companies Scraper",
    "description": "Scrapes the public Slovak RPO company register. Returns each entity as a flat row with ICO, legal form, address, SK NACE activity, statutory bodies, stakeholders, and historical data.",
    "version": "0.1",
    "x-build-id": "MhhqdOhkTGlY7wb8v"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~slovakia-rpo-companies-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-slovakia-rpo-companies-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/parseforge~slovakia-rpo-companies-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-slovakia-rpo-companies-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/parseforge~slovakia-rpo-companies-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-slovakia-rpo-companies-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": {
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000. The register itself returns at most 500 entities per search, so narrow your filters to reach more."
          },
          "fullName": {
            "title": "Company Name",
            "type": "string",
            "description": "Full-text search across every current and historical company name. Accent and case insensitive, minimum 3 characters. Example: Eset"
          },
          "identifier": {
            "title": "ICO (Company ID)",
            "type": "string",
            "description": "Slovak company identification number (ICO), 8 digits, matched exactly. Example: 31333532"
          },
          "legalForm": {
            "title": "Legal Form",
            "type": "string",
            "description": "Full-text filter on the legal form. Examples: Spoločnosť s ručením obmedzeným (Ltd), Akciová spoločnosť (Plc), Družstvo (cooperative), Štátny podnik (state enterprise)"
          },
          "legalStatus": {
            "title": "Legal Status",
            "type": "string",
            "description": "Full-text filter on the legal status. Examples: V likvidácii (in liquidation), V konkurze (in bankruptcy), Zaniknutá spoločnosť (dissolved)"
          },
          "sourceRegister": {
            "title": "Source Register",
            "type": "string",
            "description": "Full-text filter on the register the entity comes from. Examples: Obchodný register (Business Register), Živnostenský register (Trade Register)"
          },
          "onlyActive": {
            "title": "Only Active Entities",
            "type": "boolean",
            "description": "Return only entities that have not been terminated.",
            "default": true
          },
          "establishmentAfter": {
            "title": "Established On or After",
            "type": "string",
            "description": "Only entities established on or after this date. Format: YYYY-MM-DD"
          },
          "establishmentBefore": {
            "title": "Established On or Before",
            "type": "string",
            "description": "Only entities established on or before this date. Format: YYYY-MM-DD"
          },
          "terminationAfter": {
            "title": "Terminated On or After",
            "type": "string",
            "description": "Only entities terminated on or after this date. Format: YYYY-MM-DD"
          },
          "terminationBefore": {
            "title": "Terminated On or Before",
            "type": "string",
            "description": "Only entities terminated on or before this date. Format: YYYY-MM-DD"
          },
          "dbModificationDateAfter": {
            "title": "Last Changed On or After",
            "type": "string",
            "description": "Only entities whose register record changed on or after this date. Useful for daily incremental runs. Format: YYYY-MM-DD"
          },
          "dbModificationDateBefore": {
            "title": "Last Changed On or Before",
            "type": "string",
            "description": "Only entities whose register record changed on or before this date. Format: YYYY-MM-DD"
          },
          "addressMunicipality": {
            "title": "Municipality",
            "type": "string",
            "description": "Full-text filter on the registered seat municipality. Examples: Bratislava, Košice, Žilina"
          },
          "addressStreet": {
            "title": "Street",
            "type": "string",
            "description": "Full-text filter on the registered seat street. Example: Einsteinova"
          },
          "mainActivity": {
            "title": "Main Economic Activity",
            "type": "string",
            "description": "Full-text filter on the main economic activity (SK NACE). Example: Ostatné služby týkajúce sa informačných technológií"
          },
          "esa2010": {
            "title": "ESA 2010 Sector",
            "type": "string",
            "description": "Full-text filter on the ESA 2010 institutional sector. Example: Národné súkromné nefinančné korporácie"
          },
          "statutoryBodyGivenName": {
            "title": "Statutory Body - Given Name",
            "type": "string",
            "description": "Full-text filter on the given name of a director or other statutory body member. Example: Richard"
          },
          "statutoryBodyFamilyName": {
            "title": "Statutory Body - Family Name",
            "type": "string",
            "description": "Full-text filter on the family name of a director or other statutory body member. Example: Marko"
          },
          "statutoryBodyCompanyName": {
            "title": "Statutory Body - Company Name",
            "type": "string",
            "description": "Full-text filter on the name of a company acting as a statutory body."
          },
          "statutoryBodyType": {
            "title": "Statutory Body Type",
            "type": "string",
            "description": "Full-text filter on the statutory body type. Examples: Konateľ (managing director), Predstavenstvo (board), Likvidátor (liquidator), Riaditeľ (director)"
          },
          "stakeholderPersonGivenName": {
            "title": "Stakeholder - Given Name",
            "type": "string",
            "description": "Full-text filter on the given name of a shareholder or other stakeholder. Example: Miroslav"
          },
          "stakeholderPersonFamilyName": {
            "title": "Stakeholder - Family Name",
            "type": "string",
            "description": "Full-text filter on the family name of a shareholder or other stakeholder. Example: Trnka"
          },
          "stakeholderCompanyName": {
            "title": "Stakeholder - Company Name",
            "type": "string",
            "description": "Full-text filter on the name of a company acting as a shareholder or other stakeholder."
          },
          "stakeholderType": {
            "title": "Stakeholder Type",
            "type": "string",
            "description": "Full-text filter on the stakeholder type. Examples: Spoločník v.o.s. / s.r.o. (Ltd partner), Prokurista (proxy holder), Člen dozorného orgánu (supervisory board member), Jediný akcionár a.s. (sole shareholder)"
          },
          "orgUnitsIdentifier": {
            "title": "Organization Unit - ICO",
            "type": "string",
            "description": "ICO of a branch or other organization unit, matched exactly."
          },
          "orgUnitsFullName": {
            "title": "Organization Unit - Name",
            "type": "string",
            "description": "Full-text filter on the name of a branch or other organization unit."
          },
          "orgUnitsStakeholderPersonGivenName": {
            "title": "Organization Unit - Stakeholder Given Name",
            "type": "string",
            "description": "Full-text filter on the given name of a stakeholder of a branch or other organization unit."
          },
          "orgUnitsStakeholderPersonFamilyName": {
            "title": "Organization Unit - Stakeholder Family Name",
            "type": "string",
            "description": "Full-text filter on the family name of a stakeholder of a branch or other organization unit."
          },
          "orgUnitsStakeholderCompanyName": {
            "title": "Organization Unit - Stakeholder Company Name",
            "type": "string",
            "description": "Full-text filter on the name of a company acting as a stakeholder of a branch or other organization unit."
          },
          "includeHistoricalData": {
            "title": "Include Historical Data",
            "type": "boolean",
            "description": "Include former names, addresses, directors and shareholders alongside the current ones. Turn off for a lighter, current-state-only dataset.",
            "default": true
          },
          "includeOrganizationUnits": {
            "title": "Include Organization Units",
            "type": "boolean",
            "description": "Include branches and other organization units belonging to each entity.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}