{
  "openapi": "3.0.1",
  "info": {
    "title": "Gupy Jobs Scraper — Brazil Job Listings (Vagas Gupy)",
    "description": "Scrape Brazilian job listings from Gupy (portal.gupy.io and every company career page): full description, requirements, benefits, salary when posted, hiring steps, contract type (CLT, PJ, internship), remote/hybrid and company data. Only-new-jobs mode for daily monitoring.",
    "version": "0.1",
    "x-build-id": "7MBJlEUgw9NfBgM3i"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gangary~gupy-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gangary-gupy-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/gangary~gupy-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-gangary-gupy-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/gangary~gupy-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-gangary-gupy-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 (cargo / palavra-chave)",
            "type": "array",
            "description": "Job titles or keywords, one per line, exactly like the Gupy search box (e.g. \"vendedor\", \"analista de dados\", \"estágio\"). Each keyword is a separate search. Leave empty to list every job that matches the filters below.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "States (estados)",
            "type": "array",
            "description": "Brazilian states to search, one per line. Use the 2-letter code (SP, RJ, MG) or the name, with or without accents. Each state is a separate search. Empty = all of Brazil.",
            "items": {
              "type": "string"
            }
          },
          "city": {
            "title": "City (cidade)",
            "type": "string",
            "description": "Only jobs in this city. Gupy matches the exact name with accents: \"São Paulo\", \"Florianópolis\", \"Belo Horizonte\"."
          },
          "workplaceTypes": {
            "title": "Work model (modelo de trabalho)",
            "type": "array",
            "description": "Remote, hybrid and/or on-site. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "remote",
                "hybrid",
                "on-site"
              ],
              "enumTitles": [
                "Remote (remoto)",
                "Hybrid (híbrido)",
                "On-site (presencial)"
              ]
            }
          },
          "jobTypes": {
            "title": "Contract type (tipo de vaga)",
            "type": "array",
            "description": "CLT, PJ, internship, apprentice, trainee and the other Gupy job types. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "vacancy_type_effective",
                "vacancy_legal_entity",
                "vacancy_type_internship",
                "vacancy_type_apprentice",
                "vacancy_type_trainee",
                "vacancy_type_temporary",
                "vacancy_type_talent_pool",
                "vacancy_type_freelancer",
                "vacancy_type_autonomous",
                "vacancy_type_associate",
                "vacancy_type_outsource",
                "vacancy_type_intermittent",
                "vacancy_type_lecturer",
                "vacancy_type_volunteer",
                "vacancy_type_summer"
              ],
              "enumTitles": [
                "Full-time employee (CLT / Efetivo)",
                "Contractor (PJ)",
                "Internship (Estágio)",
                "Apprentice (Jovem Aprendiz)",
                "Trainee",
                "Temporary (Temporário)",
                "Talent pool (Banco de talentos)",
                "Freelancer",
                "Self-employed (Autônomo)",
                "Associate (Associado)",
                "Outsourced (Terceirizado)",
                "Intermittent (Intermitente)",
                "Lecturer (Docente)",
                "Volunteer (Voluntário)",
                "Summer job"
              ]
            }
          },
          "companies": {
            "title": "Companies (empresas)",
            "type": "array",
            "description": "Only jobs from these companies, one per line, written exactly like the company name shown on Gupy (e.g. \"Ambev\", \"Alvoar Lácteos\"). To get every open job of a company, you can also paste its career page (company.gupy.io) in Start URLs.",
            "items": {
              "type": "string"
            }
          },
          "pwdOnly": {
            "title": "Only jobs for people with disabilities (PcD)",
            "type": "boolean",
            "description": "Only jobs flagged as open to people with disabilities (vagas PcD).",
            "default": false
          },
          "postedWithinDays": {
            "title": "Posted in the last N days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Only jobs published in the last N days (1 = last 24 hours). Empty = any date."
          },
          "maxResults": {
            "title": "Max jobs per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum jobs per search (each keyword x state x company, each Start URL search and each career page). 10,000 is the most Gupy's own search returns; add states to go further.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include full details",
            "type": "boolean",
            "description": "Open each job page for the full formatted description, responsibilities, requirements, benefits (additional info), salary when posted, hiring steps, address and company profile. Turn off for a faster run with the search card only (title, company, location, type, dates and plain-text description). Same price either way.",
            "default": true
          },
          "descriptionFormat": {
            "title": "Text format",
            "enum": [
              "text",
              "markdown",
              "html"
            ],
            "type": "string",
            "description": "Format of description, responsibilities, requirements and additional info.",
            "default": "text"
          },
          "onlyNew": {
            "title": "Only new jobs (skip jobs delivered in earlier runs)",
            "type": "boolean",
            "description": "For scheduled runs: each search remembers the jobs it already delivered and returns (and charges) only new ones. History is kept per saved task.",
            "default": false
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Paste Gupy links: a portal search (portal.gupy.io/job-search/term=...), a job (company.gupy.io/jobs/123 or the /job/... link from the portal) or a company career page (company.gupy.io) to get all its open jobs. The filters above apply to keyword searches, not to career pages or job links.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}