{
  "openapi": "3.0.1",
  "info": {
    "title": "Cyprus Company Registry Scraper - DRCOR Directors & Filings",
    "description": "Search the Cyprus register of companies (DRCOR): registration number, type, status, incorporation date, registered office, directors and secretaries, former names, annual return and accounts filing history, pending filings. Greek names transliterated to Latin. JSON, CSV, Excel.",
    "version": "0.1",
    "x-build-id": "xKf0aJKgwj1qGSBMQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapers_lat~cyprus-drcor-companies-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapers_lat-cyprus-drcor-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/scrapers_lat~cyprus-drcor-companies-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapers_lat-cyprus-drcor-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/scrapers_lat~cyprus-drcor-companies-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapers_lat-cyprus-drcor-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": {
          "searchMode": {
            "title": "Search mode",
            "enum": [
              "name",
              "registrationNumbers",
              "registrationNumberRange"
            ],
            "type": "string",
            "description": "How to pick the organisations. Name search is best for a known company; a registration-number range sweeps whole slices of the register (the only route to complete coverage, because name search is refused when it matches too many organisations).",
            "default": "name"
          },
          "searchName": {
            "title": "Organisation name",
            "type": "string",
            "description": "Words to look for in the organisation name. The registry matches WHOLE WORDS, not prefixes: \"ZORBAS\" finds ZORBAS but \"ZORB\" does not. Add a second word to narrow a common term."
          },
          "nameMatchType": {
            "title": "Name match",
            "enum": [
              "allWords",
              "anyWord"
            ],
            "type": "string",
            "description": "All words: every word must appear in the name. Any word: at least one word must appear (much broader).",
            "default": "allWords"
          },
          "soundLike": {
            "title": "Phonetic search",
            "type": "boolean",
            "description": "Also match names that sound like the search term.",
            "default": false
          },
          "registrationNumbers": {
            "title": "Registration numbers",
            "type": "array",
            "description": "Registration numbers to look up, e.g. \"HE 336562\", \"HE233333\" or just \"200000\". Used when search mode is \"By registration number(s)\".",
            "items": {
              "type": "string"
            }
          },
          "registrationNumberFrom": {
            "title": "Registration number from",
            "minimum": 1,
            "type": "integer",
            "description": "First registration number of the sweep. Used when search mode is \"Registration number range\".",
            "default": 1
          },
          "registrationNumberTo": {
            "title": "Registration number to",
            "minimum": 1,
            "type": "integer",
            "description": "Last registration number of the sweep. The Cyprus register currently runs to roughly 490,000.",
            "default": 500
          },
          "registerPrefixes": {
            "title": "Registers",
            "type": "array",
            "description": "Keep only these registers. HE = company, AE = overseas company, S = partnership, BN = business name, EE = European company (SE). Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "organisationTypes": {
            "title": "Organisation types",
            "type": "array",
            "description": "Keep only organisations whose type contains one of these, e.g. \"Limited Company\", \"Partnership\", \"Overseas Company\", \"Business Name\".",
            "items": {
              "type": "string"
            }
          },
          "organisationStatuses": {
            "title": "Organisation statuses",
            "type": "array",
            "description": "Keep only these statuses, e.g. \"Active\", \"Dissolved\", \"Winding Up by the Court\", \"Dissolution following Voluntary Liquidation\", \"Strike Off\".",
            "items": {
              "type": "string"
            }
          },
          "activeOnly": {
            "title": "Active organisations only",
            "type": "boolean",
            "description": "Drop dissolved, struck-off and liquidated organisations.",
            "default": false
          },
          "registeredFrom": {
            "title": "Registered from",
            "type": "string",
            "description": "Keep only organisations incorporated on or after this date (YYYY-MM-DD). Great for finding newly formed Cyprus entities."
          },
          "registeredTo": {
            "title": "Registered to",
            "type": "string",
            "description": "Keep only organisations incorporated on or before this date (YYYY-MM-DD)."
          },
          "officialNameContains": {
            "title": "Director / secretary contains",
            "type": "string",
            "description": "Keep only organisations that have an officer whose name contains this text (matched against both the Greek and the transliterated Latin form). Use it to map the portfolio of a director or a corporate nominee."
          },
          "cityContains": {
            "title": "City contains",
            "type": "string",
            "description": "Keep only organisations whose registered office is in this city, e.g. \"Limassol\", \"Nicosia\", \"Larnaca\"."
          },
          "minOfficials": {
            "title": "Minimum officers",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only organisations with at least this many directors and secretaries on file."
          },
          "currentNamesOnly": {
            "title": "Current names only",
            "type": "boolean",
            "description": "Return one record per organisation under its current name, with former names listed in previousNames. Turn off to also emit hits that only matched a former name.",
            "default": true
          },
          "includeNameApplications": {
            "title": "Include name applications",
            "type": "boolean",
            "description": "Also return reserved-but-not-yet-registered names (early signal of companies about to be formed). They have no registration number.",
            "default": false
          },
          "fetchDetails": {
            "title": "Fetch full organisation details",
            "type": "boolean",
            "description": "Open each organisation's file for directors and secretaries, registered office, incorporation date, filing history and pending filings. Turn off for a fast name/number/status listing only.",
            "default": true
          },
          "maxRecords": {
            "title": "Maximum organisations",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many organisations.",
            "default": 10
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel registry sessions. Higher is faster but leans harder on the registry.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional proxy. The registry is reachable without one; enable a proxy only if you hit rate limits."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}