{
  "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": "WoD5qOdqU6LskCXRa"
  },
  "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. Only \"Last Updated\" is currently available — other options automatically fall back to it. Existing inputs keep working without changes.",
            "default": "UpdateDate"
          },
          "searchType": {
            "title": "Search Type",
            "enum": [
              "WithSynonyms",
              "Exact",
              "Expanded"
            ],
            "type": "string",
            "description": "Keyword matching strategy.",
            "default": "WithSynonyms"
          },
          "matchScope": {
            "title": "Match Scope (relevance filter)",
            "enum": [
              "all",
              "titleOnly",
              "titleOrExperience"
            ],
            "type": "string",
            "description": "Robota.ua's API matches keywords across speciality, skills, experience descriptions and resume keywords — broad matches often surface unrelated professions. Use this to drop rows where the keyword did NOT hit the desired field. 'titleOnly' = keep only resumes whose speciality (job title) matched. 'titleOrExperience' = keep resumes where speciality or a past experience position matched. 'all' = no filtering (default, returns everything Robota.ua returns).",
            "default": "all"
          },
          "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": "Optional stable identifier for the tracked search universe. Leave empty to auto-derive a stable identifier from your search inputs — different keyword/location/filter combinations get isolated state automatically."
          },
          "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
          },
          "skipReposts": {
            "title": "🚫 Skip Reposts",
            "type": "boolean",
            "description": "Exclude listings detected as reposts of previously seen jobs.",
            "default": false
          },
          "telegramToken": {
            "title": "🔑 Telegram Bot Token",
            "type": "string",
            "description": "Telegram bot token (from @BotFather). Required for Telegram notifications."
          },
          "telegramChatId": {
            "title": "💬 Telegram Chat ID",
            "type": "string",
            "description": "Telegram chat or channel ID (e.g. \"-100123456789\"). Required when telegramToken is set."
          },
          "discordWebhookUrl": {
            "title": "🎮 Discord Webhook URL",
            "type": "string",
            "description": "Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook."
          },
          "slackWebhookUrl": {
            "title": "💼 Slack Webhook URL",
            "type": "string",
            "description": "Slack incoming webhook URL. api.slack.com/messaging/webhooks."
          },
          "notificationLimit": {
            "title": "📊 Max CVs Per Notification",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of CVs included in each notification message (1–20).",
            "default": 5
          },
          "notifyOnlyChanges": {
            "title": "🔄 Notify Only New/Updated",
            "type": "boolean",
            "description": "When Incremental Mode is on, only send notifications for NEW and UPDATED CVs. Has no effect outside incremental mode.",
            "default": false
          },
          "whatsappAccessToken": {
            "title": "📱 WhatsApp Access Token",
            "type": "string",
            "description": "WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024)."
          },
          "whatsappPhoneNumberId": {
            "title": "📞 WhatsApp Phone Number ID",
            "type": "string",
            "description": "Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set."
          },
          "whatsappTo": {
            "title": "📲 WhatsApp Recipient",
            "type": "string",
            "description": "Recipient phone in E.164 format without + (e.g. \"436641234567\"). Recipient must have messaged your business number within last 24h."
          },
          "webhookUrl": {
            "title": "🪝 Generic Webhook URL",
            "type": "string",
            "description": "Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends."
          },
          "webhookHeaders": {
            "title": "📋 Webhook Headers",
            "type": "object",
            "description": "Optional JSON object of custom headers (e.g. {\"Authorization\":\"Bearer ...\"})."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}