{
  "openapi": "3.0.1",
  "info": {
    "title": "Chiletrabajos Scraper - Chile Job Listings",
    "description": "Scrape Chilean job ads from chiletrabajos.cl: title, company, city, region, category, publish date, benefits and, optionally, full description, expiry, views. Filter by keyword, city, category and date. From US$1.50 per 1,000 jobs.",
    "version": "0.1",
    "x-build-id": "vLR348V34vCz38cPW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fabrikit~chiletrabajos-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fabrikit-chiletrabajos-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/fabrikit~chiletrabajos-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fabrikit-chiletrabajos-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/fabrikit~chiletrabajos-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fabrikit-chiletrabajos-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": {
          "searchQueries": {
            "title": "Keywords",
            "type": "array",
            "description": "Job title / keyword searches, one per line (e.g. python, contador, bodeguero). Each keyword is searched separately (combined with the city and category filters). Leave empty to read the site-wide feed.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Cities",
            "type": "array",
            "description": "Optional city names from the site's search form (58 cities), e.g. Santiago, Concepción, Valparaíso, Antofagasta, Temuco. Each city is searched separately.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Optional site categories. Leave empty for all categories.",
            "items": {
              "type": "string",
              "enum": [
                "administracion",
                "arte-diseno-medios",
                "asistente-administrativo",
                "economia-contabilidad",
                "educacion-y-psicopedagogia",
                "estetica-y-cuidado-personal",
                "hoteleria-turismo-y-gastronomia",
                "informatica-telecomunicaciones",
                "profesionales-y-tecnicos",
                "logistica-distribucion",
                "marketing-y-publicidad",
                "medicina-salud",
                "operarios",
                "otros",
                "practicas-profesionales",
                "recepcion-secretaria",
                "seguridad",
                "ventas-comercial",
                "servicios-domesticos",
                "recursos-humanos",
                "trabajos-universitarios"
              ],
              "enumTitles": [
                "Administration",
                "Art / Design / Media",
                "Administrative assistant",
                "Economics / Accounting",
                "Education",
                "Beauty and personal care",
                "Hospitality, tourism, gastronomy",
                "IT / Telecommunications",
                "Professionals and technicians",
                "Logistics / Distribution",
                "Marketing and advertising",
                "Medicine / Health",
                "Operators / Blue-collar",
                "Other",
                "Internships",
                "Reception / Secretary",
                "Security",
                "Sales / Commercial",
                "Domestic services",
                "Human resources",
                "University jobs"
              ]
            }
          },
          "publishedWithin": {
            "title": "Published within",
            "enum": [
              "any",
              "today",
              "sinceYesterday",
              "last3days",
              "last6days",
              "lastWeek",
              "lastMonth"
            ],
            "type": "string",
            "description": "Only jobs published within this window.",
            "default": "any"
          },
          "jobType": {
            "title": "Job type",
            "enum": [
              "any",
              "full-time",
              "part-time",
              "both"
            ],
            "type": "string",
            "description": "Full-time / part-time filter.",
            "default": "any"
          },
          "company": {
            "title": "Company contains",
            "type": "string",
            "description": "Optional company name filter, e.g. Cencosud, Walmart."
          },
          "inclusionOnly": {
            "title": "Inclusion-law jobs only",
            "type": "boolean",
            "description": "Only jobs flagged as eligible under Chile's Ley de Inclusión.",
            "default": false
          },
          "startUrls": {
            "title": "Search page URLs",
            "type": "array",
            "description": "Optional chiletrabajos.cl listing pages to read, e.g. https://www.chiletrabajos.cl/trabajos/logistica or https://www.chiletrabajos.cl/ciudad/temuco.html",
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Fetch full job details (add-on)",
            "type": "boolean",
            "description": "Opens every job page to add the full title, complete description, job type, category, expiry date, tags, views and applicant counts. Charged as an extra event.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum jobs",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many jobs in total.",
            "default": 50
          },
          "maxPagesPerSource": {
            "title": "Maximum pages per search",
            "minimum": 1,
            "maximum": 1100,
            "type": "integer",
            "description": "Safety limit of result pages (30 jobs each) read per search.",
            "default": 1000
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Starts with Apify datacenter proxy and switches to a Chilean residential proxy automatically if the site blocks it.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}