{
  "openapi": "3.0.1",
  "info": {
    "title": "Robota.ua CV/Resume Database Scraper",
    "description": "Scrape robota.ua candidate/CV database (CVDB) with 40+ filters including keywords, city, industry, experience, education, and salary. Returns structured career profiles with work history, skills, and languages for 5M+ Ukrainian job seekers. Incremental tracking.",
    "version": "0.1",
    "x-build-id": "VD1fy3c50rQcdWNVh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/blackfalcondata~robota-ua-cv-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-blackfalcondata-robota-ua-cv-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/blackfalcondata~robota-ua-cv-scraper/runs": {
      "post": {
        "operationId": "runs-sync-blackfalcondata-robota-ua-cv-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/blackfalcondata~robota-ua-cv-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-blackfalcondata-robota-ua-cv-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": {
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Free-text search across CV fields (speciality, skills, experience descriptions). Leave empty to browse all CVs."
          },
          "cityId": {
            "title": "City ID",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by candidate's city. 0 = all cities. Common IDs: 1=Kyiv, 2=Lviv, 3=Odesa, 4=Dnipro, 6=Donetsk, 9=Zaporizhzhia, 21=Kharkiv. Full list: GET https://api.robota.ua/dictionary/city",
            "default": 0
          },
          "rubricIds": {
            "title": "Industry Rubric IDs",
            "type": "array",
            "description": "Filter by industry rubrics from /values/rubrics. Example: [1] = IT.",
            "items": {
              "type": "integer"
            },
            "default": []
          },
          "branchIds": {
            "title": "Branch IDs",
            "type": "array",
            "description": "Filter by business branch from /dictionary/branch.",
            "items": {
              "type": "integer"
            },
            "default": []
          },
          "scheduleIds": {
            "title": "Schedule IDs",
            "type": "array",
            "description": "Work schedule filter. 1=full-time, 2=part-time, 3=shift, 4=internship, 5=remote.",
            "items": {
              "type": "integer"
            },
            "default": []
          },
          "experienceIds": {
            "title": "Experience Level IDs",
            "type": "array",
            "description": "0=no experience, 1=up to 1yr, 2=1-2yr, 3=2-5yr, 4=5-10yr, 5=10+yr.",
            "items": {
              "type": "integer"
            },
            "default": []
          },
          "educationIds": {
            "title": "Education Level IDs",
            "type": "array",
            "description": "Education filter from /dictionary/education.",
            "items": {
              "type": "integer"
            },
            "default": []
          },
          "languages": {
            "title": "Language IDs",
            "type": "array",
            "description": "Language requirements from /values/languagelist. 1=English, 4=German, etc.",
            "items": {
              "type": "integer"
            },
            "default": []
          },
          "ageFrom": {
            "title": "Minimum Age",
            "minimum": 14,
            "type": "integer",
            "description": "Filter candidates at or above this age."
          },
          "ageTo": {
            "title": "Maximum Age",
            "maximum": 100,
            "type": "integer",
            "description": "Filter candidates at or below this age."
          },
          "sex": {
            "title": "Sex Filter",
            "enum": [
              "Any",
              "Male",
              "Female"
            ],
            "type": "string",
            "description": "Gender filter.",
            "default": "Any"
          },
          "salaryFrom": {
            "title": "Minimum Expected Salary",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum salary expectation (in selected currency)."
          },
          "salaryTo": {
            "title": "Maximum Expected Salary",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum salary expectation."
          },
          "currencyId": {
            "title": "Salary Currency ID",
            "type": "integer",
            "description": "1=UAH (default), 2=USD, 3=EUR.",
            "default": 1
          },
          "showCvWithoutSalary": {
            "title": "Include CVs Without Salary",
            "type": "boolean",
            "description": "Include candidates who haven't declared a salary expectation.",
            "default": true
          },
          "period": {
            "title": "Activity Period",
            "enum": [
              "Day",
              "Week",
              "Month",
              "ThreeMonths",
              "Year",
              "All"
            ],
            "type": "string",
            "description": "Only include CVs active within this period.",
            "default": "ThreeMonths"
          },
          "sort": {
            "title": "Sort Order",
            "enum": [
              "UpdateDate",
              "Relevance",
              "Age",
              "Salary"
            ],
            "type": "string",
            "description": "How to sort results.",
            "default": "UpdateDate"
          },
          "searchType": {
            "title": "Search Type",
            "enum": [
              "WithSynonyms",
              "Exact",
              "Expanded"
            ],
            "type": "string",
            "description": "Keyword matching strategy.",
            "default": "WithSynonyms"
          },
          "ukrainian": {
            "title": "Ukrainian Language Search",
            "type": "boolean",
            "description": "Search using Ukrainian language variant.",
            "default": true
          },
          "inside": {
            "title": "Include Surrounding Region",
            "type": "boolean",
            "description": "When cityId is set, also include candidates from the surrounding oblast.",
            "default": false
          },
          "moveability": {
            "title": "Include Relocatable",
            "type": "boolean",
            "description": "Include candidates from other cities willing to relocate. When used with cityId, results may include candidates not currently in that city. Set to false for strict city-only results.",
            "default": true
          },
          "onlyMoveability": {
            "title": "Only Relocatable",
            "type": "boolean",
            "description": "Only candidates willing to relocate.",
            "default": false
          },
          "hasPhoto": {
            "title": "Only With Photo",
            "type": "boolean",
            "description": "Only include CVs with a profile photo.",
            "default": false
          },
          "onlyStudents": {
            "title": "Only Students",
            "type": "boolean",
            "description": "Only include student candidates.",
            "default": false
          },
          "onlyDisabled": {
            "title": "Only Disabled",
            "type": "boolean",
            "description": "Only include candidates with disability status.",
            "default": false
          },
          "onlyVeterans": {
            "title": "Only Veterans",
            "type": "boolean",
            "description": "Only include veteran candidates.",
            "default": false
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum total CVs to return. 0 = unlimited. Critical: default queries match 190,000+ CVs.",
            "default": 100
          },
          "maxPages": {
            "title": "Max Pages",
            "minimum": 0,
            "type": "integer",
            "description": "Alternative cap by listing pages (20 CVs per page). 0 = unlimited, capped by maxResults.",
            "default": 0
          },
          "fetchDetail": {
            "title": "Fetch Full CV Detail",
            "type": "boolean",
            "description": "Fetch /resume/{id} for each CV to get experiences, educations, skills, languages. Disable for listing-only mode (faster, less data).",
            "default": true
          },
          "excludeUploadedOnly": {
            "title": "Exclude Uploaded-Only CVs",
            "type": "boolean",
            "description": "Filter out CVs that only have an uploaded PDF (no structured data in JSON). Affects ~0.5% of results.",
            "default": true
          },
          "minFillingPercentage": {
            "title": "Minimum Filling %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only include CVs with at least N% completion (0-100). Higher = richer data quality.",
            "default": 0
          },
          "compact": {
            "title": "Compact Output",
            "type": "boolean",
            "description": "Strip heavy HTML description fields. Returns identity + summary only (for AI-agent/MCP workflows).",
            "default": false
          },
          "incrementalMode": {
            "title": "Incremental Mode",
            "type": "boolean",
            "description": "Only emit new/updated CVs since last run. Requires stateKey.",
            "default": false
          },
          "stateKey": {
            "title": "State Key",
            "type": "string",
            "description": "Stable identifier for incremental state. State is automatically scoped per search filter combination."
          },
          "emitUnchanged": {
            "title": "Emit Unchanged",
            "type": "boolean",
            "description": "In incremental mode, also emit CVs that haven't changed (with changeType='unchanged').",
            "default": false
          },
          "emitExpired": {
            "title": "Emit Expired",
            "type": "boolean",
            "description": "In incremental mode, also emit CVs that disappeared from results (with changeType='expired').",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}