{
  "openapi": "3.0.1",
  "info": {
    "title": "SAPO Emprego Scraper · Jobs in Portugal",
    "description": "SAPO Emprego scraper and API: job postings from one of Portugal's main job boards, by keyword, district, category or pasted search URL, with employer, location, contract, work model, salary bracket and full description. JSON, CSV or Excel, no login.",
    "version": "0.1",
    "x-build-id": "ISZfjamU6cGtLlutl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bibian~sapo-emprego-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bibian-sapo-emprego-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/bibian~sapo-emprego-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-bibian-sapo-emprego-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/bibian~sapo-emprego-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-bibian-sapo-emprego-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": {
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Job title or skill, as typed in the SAPO Emprego search box, for example \"motorista\" or \"enfermeiro\". The site matches any of the words you type, so one distinctive word works best. Leave empty to get every posting."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "District or island (\"Lisboa\", \"Porto\", \"Faro\", \"Madeira\", \"Açores\"), or a town or municipality (\"Cascais\", \"Matosinhos\"); several separated by commas. Districts are filtered by the site, towns by the actor on each posting's own place name. Leave empty for all of Portugal."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Only postings in these SAPO Emprego job categories. Leave empty for all categories.",
            "items": {
              "type": "string",
              "enum": [
                "administrativo-secretariado",
                "agricultura-pescas",
                "ambiente",
                "arquitetura",
                "automovel",
                "banca-seguros",
                "beleza-estetica-bem-estar",
                "call-center-helpdesk-telemarketing",
                "comercial-vendas",
                "comunicacao-media-redes-sociais",
                "construcao-civil",
                "consultadoria-auditoria-assessoria",
                "contabilidade-fiscalidade-financas",
                "design-multimedia-artes-graficas",
                "desporto-fitness",
                "engenharia",
                "formacao-ensino-educacao",
                "gestao-economia",
                "grande-consumo-retail",
                "hotelaria-restauracao-turismo",
                "imobiliario",
                "industria-manutencao",
                "informatica-tecnologias",
                "juridico",
                "apoio-domiciliario-e-limpezas",
                "linguas-traducao",
                "logistica-compras-distribuicao",
                "marketing-publicidade-rp",
                "moda-confeccao-textil",
                "proprio-emprego",
                "qualidade",
                "recursos-humanos",
                "saude",
                "seguranca"
              ],
              "enumTitles": [
                "Administrativo e Secretariado",
                "Agricultura, Florestas e Pescas",
                "Ambiente",
                "Arquitetura",
                "Automóvel",
                "Banca e Seguros",
                "Beleza, Estética e Bem-Estar",
                "Call-Center, Helpdesk e Telemarketing",
                "Comercial e Vendas",
                "Comunicação, Media e Redes Sociais",
                "Construção Civil",
                "Consultadoria, Auditoria e Assessoria",
                "Contabilidade, Fiscalidade e Finanças",
                "Design, Multimedia e Artes Gráficas",
                "Desporto e Fitness",
                "Engenharia",
                "Formação, Ensino e Educação",
                "Gestão e Economia",
                "Grande Consumo e Retail",
                "Hotelaria, Restauração e Turismo",
                "Imobiliário",
                "Indústria e Manutenção",
                "Informática e Tecnologias",
                "Jurídico",
                "Limpezas e Apoio Domiciliário",
                "Línguas e Tradução",
                "Logística, Compras e Distribuição",
                "Marketing, Publicidade e R.P.",
                "Moda e Confecção Têxtil",
                "Próprio Emprego",
                "Qualidade",
                "Recursos Humanos",
                "Saúde",
                "Segurança"
              ]
            }
          },
          "workMode": {
            "title": "Work model",
            "enum": [
              "any",
              "remote",
              "hybrid",
              "onsite"
            ],
            "type": "string",
            "description": "On-site, hybrid or remote work, as the employer set it on the posting.",
            "default": "any"
          },
          "publishedWithin": {
            "title": "Published within",
            "enum": [
              "any",
              "1",
              "7",
              "15"
            ],
            "type": "string",
            "description": "Keep only recent postings. Use \"Last 24 hours\" for a daily monitoring run.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "auto",
              "newest",
              "relevance"
            ],
            "type": "string",
            "description": "Automatic: best match when you type a keyword, newest first otherwise (and always newest first with \"Only new results\"). The site stops listing after 9,999 postings per search.",
            "default": "auto"
          },
          "searchUrls": {
            "title": "Search URLs (optional)",
            "type": "array",
            "description": "Paste one or more search result URLs copied from emprego.sapo.pt (e.g. https://emprego.sapo.pt/offers?pesquisa=motorista&local=porto). Their filters (keywords, district, category, work model, published-within window) are applied as if you had typed them below, each URL as its own search, in addition to the fields above.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum number of postings",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "The run stops once this many postings are saved.",
            "default": 50
          },
          "onlyNew": {
            "title": "Only new results",
            "type": "boolean",
            "description": "For scheduled runs. Skip the results that an earlier run of this same search already delivered, so each run returns, and charges, only what is new. The memory is kept in a key-value store of your account named \"only-new-memory-bibian-\" followed by the ID of this Actor.",
            "default": false
          },
          "includeDescriptions": {
            "title": "Include full descriptions",
            "type": "boolean",
            "description": "Add the full job description as plain text (phone numbers and personal e-mail addresses removed).",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}