{
  "openapi": "3.0.1",
  "info": {
    "title": "Elempleo Scraper Colombia",
    "description": "Extrae ofertas de empleo de ElEmpleo Colombia con filtros por cargo, ciudad, salario, fecha, experiencia y tipo de contrato. Guarda resultados enriquecidos en un dataset para análisis, reclutamiento e integraciones vía API.",
    "version": "0.0",
    "x-build-id": "sZCMguudCnOcAfA5a"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/knowten~elempleo/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-knowten-elempleo",
        "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/knowten~elempleo/runs": {
      "post": {
        "operationId": "runs-sync-knowten-elempleo",
        "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/knowten~elempleo/run-sync": {
      "post": {
        "operationId": "run-sync-knowten-elempleo",
        "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": {
          "startUrls": {
            "title": "URLs iniciales",
            "type": "array",
            "description": "URLs completas de búsquedas o de ofertas. Si se envían, se respetan con sus filtros.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "cargos": {
            "title": "Cargos a buscar",
            "type": "array",
            "description": "Ejemplo: ingeniero de sistemas, analista financiero.",
            "items": {
              "type": "string"
            },
            "default": [
              "ingeniero de sistemas"
            ]
          },
          "ciudades": {
            "title": "Ciudades",
            "maxItems": 3,
            "type": "array",
            "description": "Selecciona hasta 3 ciudades. Déjalo vacío para buscar en todas.",
            "items": {
              "type": "string",
              "enum": [
                "Bogota",
                "Medellin",
                "Cali",
                "Barranquilla",
                "Bogota alrededores",
                "Bucaramanga",
                "Cartagena",
                "Villavicencio",
                "Ibagué",
                "Pereira",
                "Manizales",
                "Cúcuta",
                "Neiva",
                "Santa Marta",
                "Armenia",
                "Pasto",
                "Montería",
                "Valledupar",
                "Popayán",
                "Tunja",
                "Sincelejo",
                "Riohacha",
                "Remoto"
              ]
            },
            "default": []
          },
          "maxItems": {
            "title": "Máximo de ofertas",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Cantidad máxima de ofertas a guardar.",
            "default": 1000
          },
          "salarios": {
            "title": "Rangos salariales",
            "enum": [
              "Todos",
              "Hasta $2",
              "Entre $2 - $4",
              "Entre $4 - $8",
              "Entre $8 - $12,5",
              "Entre $12,5 - $21",
              "Desde $21"
            ],
            "type": "string",
            "description": "Selecciona una opción de salario.",
            "default": "Todos"
          },
          "fechaPublicacion": {
            "title": "Fecha de publicación predefinida",
            "enum": [
              "Todas",
              "Hoy y ayer",
              "Hace 1 semana",
              "Hace 2 semanas",
              "Hace 1 mes",
              "Hace más de 1 mes"
            ],
            "type": "string",
            "description": "Antigüedad de la oferta (filtro directo de elempleo).",
            "default": "Todas"
          },
          "fechaMinima": {
            "title": "Rango Personalizado: Fecha Mínima",
            "type": "string",
            "description": "Formato YYYY-MM-DD. Sólo guarda ofertas publicadas en o después de esta fecha (Nativo en el Scraper).",
            "default": ""
          },
          "fechaMaxima": {
            "title": "Rango Personalizado: Fecha Máxima",
            "type": "string",
            "description": "Formato YYYY-MM-DD. Sólo guarda ofertas publicadas en o antes de esta fecha (Nativo en el Scraper).",
            "default": ""
          },
          "tipoContrato": {
            "title": "Tipo de contrato",
            "enum": [
              "Todos los contratos",
              "Indefinido",
              "Término fijo",
              "Por obra o labor",
              "Prestación de servicios",
              "Contrato de aprendizaje",
              "Pasantía"
            ],
            "type": "string",
            "description": "Selecciona el tipo de contrato.",
            "default": "Todos los contratos"
          },
          "modalidadLaboral": {
            "title": "Modalidad laboral",
            "enum": [
              "Todos",
              "Presencial",
              "Híbrido",
              "Remoto"
            ],
            "type": "string",
            "description": "Presencial, remoto o híbrido.",
            "default": "Todos"
          },
          "experiencias": {
            "title": "Experiencia en años",
            "enum": [
              "Todas",
              "0",
              "1",
              "3",
              "5",
              "10",
              "15+"
            ],
            "type": "string",
            "description": "Rango de experiencia.",
            "default": "Todas"
          },
          "nivelesCargo": {
            "title": "Niveles de cargo",
            "enum": [
              "Todos",
              "Operativo",
              "Asistencial",
              "Profesional",
              "Gerencia Media",
              "Alta Gerencia"
            ],
            "type": "string",
            "description": "Selecciona el nivel laboral.",
            "default": "Todos"
          },
          "sectorIndustria": {
            "title": "Sector / Industria",
            "enum": [
              "Todos",
              "tecnologia",
              "salud",
              "servicios",
              "financiero",
              "educativo",
              "construccion",
              "manufactura",
              "logistica",
              "telecomunicaciones",
              "alimentos",
              "consumo-masivo",
              "estatal-y-relacionados",
              "quimicos",
              "consultorias-asesorias",
              "publicidad-y-mercadeo",
              "otros"
            ],
            "type": "string",
            "description": "Selecciona el sector o industria.",
            "default": "Todos"
          },
          "campoLaboral": {
            "title": "Campo laboral",
            "enum": [
              "Todos",
              "47",
              "2",
              "5",
              "19",
              "30",
              "17",
              "21",
              "4",
              "45",
              "6",
              "53",
              "7",
              "10",
              "12",
              "59",
              "27",
              "46",
              "56",
              "41",
              "42",
              "13",
              "18",
              "20",
              "43",
              "22",
              "58",
              "23",
              "24",
              "57",
              "25",
              "51"
            ],
            "type": "string",
            "description": "Selecciona el área de trabajo.",
            "default": "Todos"
          },
          "filtros": {
            "title": "Filtros adicionales (JSON)",
            "type": "object",
            "description": "Filtros avanzados opcionales.",
            "default": {}
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}