{
  "openapi": "3.0.1",
  "info": {
    "title": "Infoempleo Jobs Scraper - Spain Job Offers & Alerts",
    "description": "Scrape Infoempleo.com job offers in Spain by job title, province and sector: company, location, contract, salary range, remote/hybrid, experience, full description and expiry date. New-jobs-only mode and webhook for daily job alerts. No proxy needed.",
    "version": "1.0",
    "x-build-id": "hY8eiV4No8nSzSqUt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/opendata_es~infoempleo-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-opendata_es-infoempleo-jobs-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/opendata_es~infoempleo-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-opendata_es-infoempleo-jobs-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/opendata_es~infoempleo-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-opendata_es-infoempleo-jobs-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": {
          "keyword": {
            "title": "Job title / keyword",
            "type": "string",
            "description": "Job title or keyword in Spanish, e.g. 'camarero', 'programador python', 'enfermera', 'administrativo'. Leave empty to list every offer of the province / sector."
          },
          "province": {
            "title": "Province",
            "type": "string",
            "description": "Spanish province, e.g. 'Madrid', 'Barcelona', 'Valencia', 'Las Palmas', 'A Coruña', 'Islas Baleares'. Empty = all of Spain."
          },
          "area": {
            "title": "Sector (área de empresa)",
            "enum": [
              "",
              "administracion-de-empresas",
              "administrativos-y-secretariado",
              "atencion-al-cliente",
              "banca-finanzas-y-seguros",
              "calidad-id-prl-y-medio-ambiente",
              "comercial-ventas",
              "compras-logistica-y-transporte",
              "construccion-e-inmobiliaria",
              "digital",
              "educacion-formacion",
              "hosteleria-turismo",
              "ingenieria-y-produccion",
              "legal",
              "marketing-publicidad-y-rrpp",
              "medios-editorial-y-artes-graficas",
              "personal-de-tienda-y-retail",
              "profesionales-artes-y-oficios",
              "recursos-humanos",
              "sanidad-salud-y-servicios-sociales",
              "tecnologia-e-informatica",
              "telecomunicaciones"
            ],
            "type": "string",
            "description": "Optional sector.",
            "default": ""
          },
          "daysPublished": {
            "title": "Published in the last",
            "enum": [
              "0",
              "1",
              "7",
              "15"
            ],
            "type": "string",
            "description": "Only offers published in the last N days.",
            "default": "0"
          },
          "contractType": {
            "title": "Contract type",
            "enum": [
              "",
              "indefinido",
              "de-duracion-determinada"
            ],
            "type": "string",
            "description": "Optional contract filter.",
            "default": ""
          },
          "remote": {
            "title": "Remote work",
            "enum": [
              "",
              "presencial",
              "teletrabajo-parcial",
              "teletrabajo-100"
            ],
            "type": "string",
            "description": "Optional remote-work filter.",
            "default": ""
          },
          "workday": {
            "title": "Working hours",
            "enum": [
              "",
              "completa",
              "parcial",
              "intensiva",
              "flexible"
            ],
            "type": "string",
            "description": "Optional working-day filter.",
            "default": ""
          },
          "minSalary": {
            "title": "Minimum yearly salary (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only offers whose salary starts at this amount (0 = no filter).",
            "default": 0
          },
          "excludeWords": {
            "title": "Exclude words",
            "type": "array",
            "description": "Drop offers whose title or company contains any of these words (e.g. 'ETT', 'prácticas').",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max offers",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum offers to return (0 = all).",
            "default": 100
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "",
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "Relevance (default when a keyword is set) or newest first (default without keyword).",
            "default": ""
          },
          "includeDetails": {
            "title": "Include full offer details",
            "type": "boolean",
            "description": "Open every offer: full description and requirements, publication and expiry dates, employment type, sector, occupational category, city and province.",
            "default": true
          },
          "onlyNewJobs": {
            "title": "Only new offers since previous run",
            "type": "boolean",
            "description": "Return only offers not seen in previous runs of the same search. Schedule it daily for job alerts.",
            "default": false
          },
          "alertWebhookUrl": {
            "title": "Webhook URL for new offers",
            "type": "string",
            "description": "Optional URL that receives a JSON POST with the new offers (Slack, Zapier, Make, n8n, Telegram bot...)."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Not required. Apify datacenter proxy is enough if you run many searches in parallel.",
            "default": {
              "useApifyProxy": false
            }
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Parallel offer pages (1-8).",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}