{
  "openapi": "3.0.1",
  "info": {
    "title": "InfoJobs Spain Scraper — Jobs, Salaries & Company Data",
    "description": "Search InfoJobs Spain by keyword, province, remote work, contract, or category, or paste a listing or offer URL. Each row is the full vacancy: salary band, skills, languages, benefits, and company rating. JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "neNwnhI2M8BAvcenJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~infojobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-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/memo23~infojobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-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/memo23~infojobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-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": {
          "query": {
            "title": "Query",
            "type": "string",
            "description": "Job title, skill, company, or keyword. Leave empty to browse by the filters below, or to use only the URLs you paste.",
            "default": ""
          },
          "keyword": {
            "title": "Keyword (alias for query)",
            "type": "string",
            "description": "Optional alias for query. Applied when query is absent or empty."
          },
          "province": {
            "title": "Province",
            "enum": [
              "",
              "a-coruna",
              "alava-araba",
              "albacete",
              "alicante-alacant",
              "almeria",
              "asturias",
              "avila",
              "badajoz",
              "barcelona",
              "burgos",
              "caceres",
              "cadiz",
              "cantabria",
              "castellon-castello",
              "ceuta",
              "ciudad-real",
              "cordoba",
              "cuenca",
              "girona",
              "granada",
              "guadalajara",
              "guipuzcoa-gipuzkoa",
              "huelva",
              "huesca",
              "illes-balears",
              "jaen",
              "la-rioja",
              "las-palmas",
              "leon",
              "lleida",
              "lugo",
              "madrid",
              "malaga",
              "melilla",
              "murcia",
              "navarra",
              "ourense",
              "palencia",
              "pontevedra",
              "salamanca",
              "santa-cruz-de-tenerife",
              "segovia",
              "sevilla",
              "soria",
              "tarragona",
              "teruel",
              "toledo",
              "valencia-valencia",
              "valladolid",
              "vizcaya-bizkaia",
              "zamora",
              "zaragoza"
            ],
            "type": "string",
            "description": "Spanish province. Any searches the whole country.",
            "default": ""
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "City or municipality in Spain (e.g. Madrid, Barcelona, Las Rozas de Madrid). Leave empty for any city.",
            "default": ""
          },
          "radius": {
            "title": "Radius (km)",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Optional search radius in kilometers around the specified city (e.g. 10, 20, 50). Ignored when city is empty."
          },
          "teleworking": {
            "title": "Remote work",
            "type": "array",
            "description": "On-site, remote only, hybrid, or not specified.",
            "items": {
              "type": "string",
              "enum": [
                "on-site",
                "remote-only",
                "hybrid",
                "unspecified"
              ],
              "enumTitles": [
                "On-site",
                "Remote only",
                "Hybrid",
                "Not specified"
              ]
            },
            "default": []
          },
          "contractTypes": {
            "title": "Contract type",
            "type": "array",
            "description": "Permanent, fixed-term, part-time, freelance, and the other contract types on InfoJobs.",
            "items": {
              "type": "string",
              "enum": [
                "permanent",
                "training",
                "part-time",
                "other",
                "relief",
                "fixed-term",
                "discontinuous",
                "freelance"
              ],
              "enumTitles": [
                "Permanent",
                "Training",
                "Part-time",
                "Other contracts",
                "Relief",
                "Fixed-term",
                "Discontinuous permanent",
                "Freelance"
              ]
            },
            "default": []
          },
          "workDays": {
            "title": "Work schedule",
            "type": "array",
            "description": "Full-time, part-time shift, or intensive day.",
            "items": {
              "type": "string",
              "enum": [
                "full-time",
                "part-morning",
                "part-afternoon",
                "part-night",
                "part-any",
                "intensive-morning",
                "intensive-afternoon",
                "intensive-night",
                "intensive-any",
                "indifferent"
              ],
              "enumTitles": [
                "Full-time",
                "Part-time, morning",
                "Part-time, afternoon",
                "Part-time, night",
                "Part-time, any shift",
                "Intensive, morning",
                "Intensive, afternoon",
                "Intensive, night",
                "Intensive, any shift",
                "Indifferent"
              ]
            },
            "default": []
          },
          "categories": {
            "title": "Category",
            "type": "array",
            "description": "InfoJobs job category, such as IT, sales, or healthcare.",
            "items": {
              "type": "string",
              "enum": [
                "business-administration",
                "public-administration",
                "production-quality-rd",
                "purchasing-logistics",
                "design",
                "education-training",
                "finance-banking",
                "engineering-technical",
                "real-estate-construction",
                "legal",
                "marketing-communication",
                "trades-arts-crafts",
                "human-resources",
                "healthcare",
                "it-telecom",
                "tourism-hospitality",
                "customer-service",
                "other",
                "sales",
                "retail",
                "pharmaceutical"
              ],
              "enumTitles": [
                "Business administration",
                "Public administration",
                "Quality, production and R&D",
                "Purchasing, logistics and warehouse",
                "Design and graphic arts",
                "Education and training",
                "Finance and banking",
                "Engineering and technical",
                "Real estate and construction",
                "Legal",
                "Marketing and communication",
                "Trades, arts and crafts",
                "Human resources",
                "Healthcare",
                "IT and telecommunications",
                "Tourism and hospitality",
                "Customer service",
                "Other",
                "Sales",
                "Retail",
                "Pharmaceutical"
              ]
            },
            "default": []
          },
          "studies": {
            "title": "Minimum studies",
            "type": "array",
            "description": "Minimum education the offer asks for.",
            "items": {
              "type": "string",
              "enum": [
                "no-studies",
                "secondary",
                "vocational-medium",
                "fp-medium",
                "bachillerato",
                "fp-higher",
                "vocational-higher",
                "degree",
                "diploma",
                "technical-engineering",
                "higher-engineering",
                "licenciatura",
                "postgraduate",
                "master",
                "doctorate"
              ],
              "enumTitles": [
                "No studies",
                "Secondary education",
                "Vocational training, medium cycle",
                "FP, medium grade",
                "Bachillerato",
                "FP, higher grade",
                "Vocational training, higher cycle",
                "Degree",
                "Diploma",
                "Technical engineering",
                "Higher engineering",
                "Licenciatura",
                "Postgraduate",
                "Master",
                "Doctorate"
              ]
            },
            "default": []
          },
          "experienceMin": {
            "title": "Minimum experience",
            "type": "array",
            "description": "Filter by minimum required professional experience.",
            "items": {
              "type": "string",
              "enum": [
                "none",
                "1-year",
                "2-years",
                "3-years",
                "4-years",
                "5-years",
                "10-years"
              ],
              "enumTitles": [
                "No experience required",
                "At least 1 year",
                "At least 2 years",
                "At least 3 years",
                "At least 4 years",
                "More than 5 years",
                "More than 10 years"
              ]
            },
            "default": []
          },
          "salaryMin": {
            "title": "Minimum salary (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum gross salary in EUR (e.g. 24000 for annual, 2000 for monthly, 18 for hourly). Paired with salaryPeriod (defaults to year when omitted)."
          },
          "salaryPeriod": {
            "title": "Salary period",
            "enum": [
              "",
              "year",
              "month",
              "hour"
            ],
            "type": "string",
            "description": "Salary period for salaryMin (gross annual, monthly, or hourly in EUR).",
            "default": ""
          },
          "sinceDate": {
            "title": "Publication date",
            "enum": [
              "",
              "last-24-hours",
              "last-7-days",
              "last-15-days"
            ],
            "type": "string",
            "description": "Only jobs published in this window.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "recent"
            ],
            "type": "string",
            "description": "Relevance, or most recently published.",
            "default": "relevance"
          },
          "startUrls": {
            "title": "InfoJobs URLs",
            "type": "array",
            "description": "Full infojobs.net URLs to crawl. Mix listing and offer URLs in the same array if useful.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "Search URLs (alias for startUrls)",
            "type": "array",
            "description": "Optional alias for startUrls. Applied when startUrls is empty or left at the default all-jobs prefill.",
            "items": {
              "type": "string"
            }
          },
          "includeDescription": {
            "title": "Include job description",
            "type": "boolean",
            "description": "Include the full job description text on each output record. Disable for lighter datasets with structured metadata only.",
            "default": true
          },
          "descriptionMaxLength": {
            "title": "Max description length",
            "minimum": 1,
            "type": "integer",
            "description": "Optional maximum character length for job descriptions (surrogate-safe truncation for LLM context limits)."
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Return a streamlined subset of core structured fields (omitting long descriptions and secondary metadata) for smaller exports and LLM workflows.",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "Exclude empty fields",
            "type": "boolean",
            "description": "Omit null, undefined, empty string, empty array, and empty object fields from output records while preserving 0 and false.",
            "default": false
          },
          "enrichOrganisation": {
            "title": "Fetch company profile (sector, size, description, location)",
            "type": "boolean",
            "description": "When enabled, each unique employer is looked up once via InfoJobs' company API to add `companyIndustry` (sector), `companyWorkers` (size), `companyDescription`, `companyProvince`, `companyCountry` and `companyLogoUrl`. The offer already carries the company name + rating, so disable this if you don't need the extra company fields and want to skip the extra calls.",
            "default": false
          },
          "enrichEmails": {
            "title": "Enrich with employer contact emails (experimental, billed per email)",
            "type": "boolean",
            "description": "If enabled, tries to find a contact email for each hiring company by discovering its website (Clearbit) and reading its contact/about pages. Adds contactEmail + contactWebsite columns plus a detailed emailEnrichment object. Best-effort, billed per contact email found; only charged when an email is returned, never for misses.",
            "default": false
          },
          "monitoringMode": {
            "title": "Monitoring mode (only return jobs not seen on previous runs)",
            "type": "boolean",
            "description": "When enabled, offers whose ID has already been delivered to you are silently skipped (no detail page is fetched and no charge applies for them). The first run after enabling monitoring returns every match — that builds your baseline. Every subsequent run returns only new postings. Combine with Apify's scheduler for a 'jobs posted since last run' feed.",
            "default": false
          },
          "resetMonitoringState": {
            "title": "Reset monitoring state (one-shot)",
            "type": "boolean",
            "description": "One-shot toggle: clear the saved 'jobs already seen' record at the start of this run. Use this when you change search URL, want to rebuild the baseline, or recover from a missed delivery. Has no effect when monitoring mode is off.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum items to scrape",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on the number of jobs collected across all start URLs. Use this to limit billing.",
            "default": 1000
          },
          "maxListings": {
            "title": "Max listings (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Optional alias for maxItems. Applied when maxItems is absent or left at its 1000 default."
          },
          "maxPages": {
            "title": "Maximum listing pages",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap on how many listing pages are fetched per search or listing URL (still bounded by maxItems)."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of offer pages processed in parallel. Keep low (3–5) when enrichEmails/enrichOrganisation are on — each adds an extra external fetch per job. Raise it only with more memory.",
            "default": 5
          },
          "minConcurrency": {
            "title": "Min concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum number of offer pages processed in parallel.",
            "default": 1
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "type": "integer",
            "description": "Number of retries before a failed request is given up.",
            "default": 5
          },
          "proxy": {
            "title": "Proxy configuration (optional override)",
            "type": "object",
            "description": "Leave empty — the actor already routes all traffic through its own built-in residential proxy at no extra cost to you. Only set this if you want to use your own proxies."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration (alias for proxy)",
            "type": "object",
            "description": "Optional alias for proxy. Applied when proxy is not set."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}