{
  "openapi": "3.0.1",
  "info": {
    "title": "Slovak Company Financials – RÚZ Statements API",
    "description": "Slovak company financials from the official RÚZ register: revenue, profit, assets, equity, debt and cash by IČO or VAT number, with ratios, 5-year history, full labelled statements and a monitor for new filings. $0.01 per company-year.",
    "version": "0.1",
    "x-build-id": "S7HpX9xRpXLf1i9IC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/matikitli~sk-company-financials/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-matikitli-sk-company-financials",
        "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/matikitli~sk-company-financials/runs": {
      "post": {
        "operationId": "runs-sync-matikitli-sk-company-financials",
        "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/matikitli~sk-company-financials/run-sync": {
      "post": {
        "operationId": "run-sync-matikitli-sk-company-financials",
        "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": {
          "identifiers": {
            "title": "Company identifiers (IČO or VAT number)",
            "type": "array",
            "description": "Slovak IČO (8 digits; spaces and dropped leading zeros are fine) or VAT number (SK + 10 digits). One per line, up to 10,000. Example: 35735538, SK2020269317. Leave empty to search by the filters below.",
            "items": {
              "type": "string"
            }
          },
          "historyYears": {
            "title": "Years of history",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "1 = latest annual statement only. Up to 5 = the latest five annual statements, newest first, with year-on-year changes. Example: 5.",
            "default": 1
          },
          "includeTables": {
            "title": "Full statements",
            "type": "boolean",
            "description": "Add the full balance sheet (assets, equity and liabilities) and income statement with official line numbers and Slovak/English labels.",
            "default": false
          },
          "includeConsolidated": {
            "title": "Include consolidated statements",
            "type": "boolean",
            "description": "Also return consolidated (group) statements as separate rows.",
            "default": false
          },
          "naceCodes": {
            "title": "Search: SK NACE activity codes",
            "type": "array",
            "description": "Find companies by activity: SK NACE prefixes (1–5 digits). Example: 62 (IT services), 4711 (supermarkets). Search covers companies that filed in the last 12 months.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Search: regions (kraj)",
            "type": "array",
            "description": "Find companies registered in these regions. Example: SK010 (Bratislava).",
            "items": {
              "type": "string",
              "enum": [
                "SK010",
                "SK021",
                "SK022",
                "SK023",
                "SK031",
                "SK032",
                "SK041",
                "SK042"
              ],
              "enumTitles": [
                "Bratislavský kraj",
                "Trnavský kraj",
                "Trenčiansky kraj",
                "Nitriansky kraj",
                "Žilinský kraj",
                "Banskobystrický kraj",
                "Prešovský kraj",
                "Košický kraj"
              ]
            }
          },
          "legalForms": {
            "title": "Search: legal forms",
            "type": "array",
            "description": "Register legal-form codes. Common: 112 s.r.o. (LLC), 121 a.s. (joint-stock), 111 v.o.s., 113 k.s., 205 družstvo (cooperative), 421 foreign legal person. Natural persons (individual entrepreneurs) are not covered.",
            "items": {
              "type": "string"
            }
          },
          "sizeBands": {
            "title": "Search: employee size bands",
            "type": "array",
            "description": "Register employee bands. Example: 12 (50–99 employees).",
            "items": {
              "type": "string",
              "enum": [
                "00",
                "01",
                "02",
                "03",
                "04",
                "05",
                "06",
                "07",
                "11",
                "12",
                "21",
                "22",
                "23",
                "24",
                "25",
                "31",
                "32",
                "33",
                "34",
                "35",
                "36",
                "37",
                "38"
              ],
              "enumTitles": [
                "unknown",
                "0 employees",
                "1 employees",
                "2 employees",
                "3-4 employees",
                "5-9 employees",
                "10-19 employees",
                "20-24 employees",
                "25-49 employees",
                "50-99 employees",
                "100-149 employees",
                "150-199 employees",
                "200-249 employees",
                "250-499 employees",
                "500-999 employees",
                "1000-1999 employees",
                "2000-2999 employees",
                "3000-3999 employees",
                "4000-4999 employees",
                "5000-9999 employees",
                "10000-19999 employees",
                "20000-29999 employees",
                "30000+ employees"
              ]
            }
          },
          "maxItems": {
            "title": "Search: maximum companies",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Search mode: stop after this many companies (1–10,000). Example: 100.",
            "default": 100
          },
          "monitor": {
            "title": "Monitor mode (only new filings)",
            "type": "boolean",
            "description": "Return only companies with a new or corrected statement since the previous run with the same input. Schedule weekly for a portfolio.",
            "default": false
          },
          "resetMonitor": {
            "title": "Reset monitor history",
            "type": "boolean",
            "description": "Forget what monitor mode delivered for this input and start again.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}