{
  "openapi": "3.0.1",
  "info": {
    "title": "Expresso Emprego Scraper · Portugal Jobs",
    "description": "Expresso Emprego scraper and API: job postings from expressoemprego.pt, the Expresso newspaper's job board in Portugal, with company, location, date, salary when published and full description. Filter by keyword, district, country, sector or search URL. No login. JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "2HU5ftYXqbhyjFChJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bibian~expresso-emprego-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bibian-expresso-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~expresso-emprego-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-bibian-expresso-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~expresso-emprego-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-bibian-expresso-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": {
          "searchUrls": {
            "title": "Search URLs (optional)",
            "type": "array",
            "description": "Paste one or more list or search URLs copied from expressoemprego.pt: the whole board (/ofertas-emprego), the offers abroad (/emprego-estrangeiro), a category page, or any search you ran on the site. The site applies the filters written in the URL itself (keyword, district or country, contract, sector); the page, order and size parameters are ignored because the actor reads the pages newest first on its own. The fields below make a search of their own when you fill them in. Leave the list empty to read all of Portugal.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "A job title or skill, for example \"contabilista\" or \"cozinheiro\". The site matches an offer that has any of the words; when you type two words or more, the actor keeps only the offers that have all of them (accents and case ignored) in the title, company or description."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "A Portuguese district (Lisboa, Porto, Faro, Aveiro, Braga, Setúbal, Évora, Madeira...), or several separated by commas. A town that is not a district (Cascais) is matched against the offer's location and title. Leave empty for the whole country chosen below."
          },
          "country": {
            "title": "Country",
            "enum": [
              "PT",
              "IT",
              "ES",
              "CH",
              "GB",
              "AO",
              "abroad",
              "any"
            ],
            "type": "string",
            "description": "Portugal by default. The board also carries hotel and restaurant offers in Italy, Spain and Switzerland: pick one of them, \"All offers abroad\", or \"Everywhere\".",
            "default": "PT"
          },
          "sector": {
            "title": "Sector",
            "enum": [
              "any",
              "agricultura-e-alimentacao",
              "arquitectura-e-design",
              "automovel",
              "banca--seguros-e-area-financeira",
              "comercio--franchising-e-vendas",
              "compras--logistica--transporte-e-distribuicao",
              "construcao-e-industria",
              "consultoria",
              "energia-e-ambiente",
              "engenharia",
              "educacao-e-ensino",
              "gestao-rh",
              "higiene---seguranca",
              "imobiliario",
              "juridico",
              "marketing---publicidade",
              "media--entretenimento-e-comunicacao",
              "retalho",
              "saude",
              "sector-publico",
              "tecnologias-de-informacao",
              "telecomunicacoes",
              "turismo--hotelaria-e-restauracao"
            ],
            "type": "string",
            "description": "Keep only one of the sectors the site files its offers under. The sector then fills the `industry` field of every row.",
            "default": "any"
          },
          "employmentType": {
            "title": "Employment type",
            "enum": [
              "any",
              "full_time",
              "part_time",
              "internship",
              "temporary"
            ],
            "type": "string",
            "description": "Keep only one kind of contract, as the site's own \"Tipo de contrato\" filter sets it. The site does not tag most offers, so a filter here returns far fewer postings than \"Any\".",
            "default": "any"
          },
          "publishedWithin": {
            "title": "Published within",
            "enum": [
              "any",
              "1",
              "7",
              "15",
              "30"
            ],
            "type": "string",
            "description": "Keep only recent offers, whatever the search. \"Last 24 hours\" means today and yesterday. Use it for a daily monitoring run.",
            "default": "any"
          },
          "onlyWithSalary": {
            "title": "Only offers with a salary",
            "type": "boolean",
            "description": "Keep only the offers whose text states a salary in euros (a small share of the board). The actor reads the description of each offer to find out.",
            "default": false
          },
          "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. This opens every posting page, one per second; turn it off to read up to 100 postings per request instead (the work model, contract and salary are then read from the title and the first lines of the text only).",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}