{
  "openapi": "3.0.1",
  "info": {
    "title": "InfoJobs Scraper - Spain Jobs, Salaries & Companies",
    "description": "Scrape infojobs.net job offers in Spain by keyword, province, category, contract, workday, remote and date: title, company, city, contract type, workday, remote or hybrid, salary range with period and gross or net, publish date and full description. onlyNew for daily alerts. Error rows are free.",
    "version": "0.1",
    "x-build-id": "7fKH9jMfuljNBmdOk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapewise~infojobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapewise-infojobs-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/scrapewise~infojobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapewise-infojobs-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/scrapewise~infojobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapewise-infojobs-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": "Search keywords",
            "type": "array",
            "description": "Job titles or keywords, one per line, in Spanish as people search on InfoJobs, for example administrativo, camarero or desarrollador python. Each keyword is one search. Empty keyword with a province = every offer in that province.",
            "items": {
              "type": "string"
            }
          },
          "provinces": {
            "title": "Provinces",
            "type": "array",
            "description": "Spanish provinces, one per line, for example Madrid, Barcelona, Valencia, Sevilla or Vizcaya (city names like Bilbao, Palma or Vigo map to their province). All provinces go into the same search. Empty = all of Spain.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Category",
            "type": "array",
            "description": "Keep only offers in these InfoJobs categories. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "Administración de empresas",
                "Administración Pública",
                "Atención a clientes",
                "Calidad, producción e I+D",
                "Comercial y ventas",
                "Compras, logística y almacén",
                "Diseño y artes gráficas",
                "Educación y formación",
                "Finanzas y banca",
                "Informática y telecomunicaciones",
                "Ingenieros y técnicos",
                "Inmobiliario y construcción",
                "Legal",
                "Marketing y comunicación",
                "Profesiones, artes y oficios",
                "Recursos humanos",
                "Sanidad y salud",
                "Sector Farmacéutico",
                "Turismo y restauración",
                "Ventas al detalle",
                "Otros"
              ]
            }
          },
          "contractTypes": {
            "title": "Contract type",
            "type": "array",
            "description": "Keep only these contract types. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "Indefinido",
                "Formativo",
                "A tiempo parcial",
                "Otros contratos",
                "De relevo",
                "De duración determinada",
                "Fijo discontinuo",
                "Autónomo"
              ]
            }
          },
          "workdays": {
            "title": "Workday",
            "type": "array",
            "description": "Keep only these workdays (full time, part time morning, intensive...). Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "Completa",
                "Parcial - Mañana",
                "Parcial - Tarde",
                "Parcial - Noche",
                "Parcial - Indiferente",
                "Intensiva - Mañana",
                "Intensiva - Tarde",
                "Intensiva - Noche",
                "Intensiva - Indiferente",
                "Indiferente"
              ]
            }
          },
          "teleworking": {
            "title": "Remote work",
            "type": "array",
            "description": "Presencial (on site), Solo teletrabajo (fully remote), Híbrido (hybrid) or Sin especificar (not stated). Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "Presencial",
                "Solo teletrabajo",
                "Híbrido",
                "Sin especificar"
              ]
            }
          },
          "postedWithin": {
            "title": "Posted within",
            "enum": [
              "any",
              "24h",
              "7d",
              "15d"
            ],
            "type": "string",
            "description": "Only offers published in this window, same filter as the site.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "Order of the results, same options as the site. onlyNew always uses Most recent.",
            "default": "relevance"
          },
          "startUrls": {
            "title": "Search links",
            "type": "array",
            "description": "Optional: infojobs.net search links copied from the browser, like https://www.infojobs.net/ofertas-trabajo/barcelona/camarero or a search results link with filters (the filters in the link are used as is).",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max offers",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap for the whole run, across all searches. 0 = no cap.",
            "default": 50
          },
          "onlyNew": {
            "title": "Only new offers (for schedules)",
            "type": "boolean",
            "description": "On: remembers the offers delivered in earlier runs of the same search (in your account) and delivers only offers not seen before. Skipped offers are free.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy by default. Change it only if you know you need to.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}