# Gupy Vagas (`vivid_astronaut/gupy-vagas`) Actor

- **URL**: https://apify.com/vivid\_astronaut/gupy-vagas.md
- **Developed by:** [BRAINIALL Team](https://apify.com/vivid_astronaut) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Gupy job listings (Brazil)

Collect public Brazilian job listings from Gupy: role, company, city, UF, remote flag, contract type, publication date and URL. Built for recruiters, job boards and growth teams who need a structured feed without maintaining their own collector.

### What it does

Reads the public Gupy job listing (by role, city, state and remote flag) and optional company career pages (`empresa.gupy.io`), then returns normalized jobs up to `maxItems`.

### Why

Brazilian hiring still concentrates on public career pages. This actor turns that listing into a dataset you can schedule.

### Input

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `cargo` | Array | No\* | `[]` | Role keywords (e.g. desenvolvedor). |
| `cidade` | String | No | `""` | City name. |
| `uf` | String | No | `""` | State abbreviation (SP, PR, …). |
| `remoto` | Boolean | No | — | `true` for remote-only, `false` to exclude remote. |
| `empresa` | String | No\* | `""` | Career-page subdomain (e.g. `cogna`). |
| `maxItems` | Integer | No | `50` | Maximum jobs to return (cap 500). |

\* Provide `cargo` **or** `empresa`.

```json
{
  "cargo": ["desenvolvedor"],
  "cidade": "",
  "uf": "",
  "remoto": true,
  "empresa": "",
  "maxItems": 50
}
```

### Output

One dataset item per job.

```json
{
  "titulo": "PESSOA DESENVOLVEDORA FULLSTACK SR",
  "empresa": "Cogna Educação",
  "cidade": "",
  "uf": "",
  "remoto": true,
  "tipo_contrato": "efetivo",
  "data_publicacao": "2026-08-28",
  "url": "https://cogna.gupy.io/job/eyJqb2JJZCI6MTIzMTUwNTgsInNvdXJjZSI6Imd1cHlfcG9ydGFsIn0=?jobBoardSource=gupy_portal",
  "descricao_resumo": "A Cogna é a maior e mais completa organização de soluções educacionais do Brasil. Com atuação dos 2 aos 100 anos, reúne negócios de Educação Básica, Ensino Superior e Educação Continuada...",
  "id": "12315058"
}
```

### Pricing

Pay-per-event: **US$ 0.001 per result** (`result` event, one per returned job). Optional `run-start` event is priced at **US$ 0**. Failed items are not billed.

### Use cases

- Watch a role across public career pages.
- Fill a job board with remote listings in a given UF.
- Snapshot one company's open roles from its career subdomain.

### FAQ

**Does a live run happen by default?** No. Local default is plan / dry-run. Live collection needs `--confirm` and `APIFY_TOKEN` or `BRAINIALL_API_KEY` in the environment.

**Are secrets stored in the actor?** No. Keys are read at runtime from the environment and never written to files.

**Login or captcha?** No. Only public listings. If a source starts requiring login, the run fails cleanly.

### Limits

- 500 records per run.
- About 1 request/second between pages.
- Public listings only. Empty or blank pages fail with exit code 1. A valid search with zero matches returns zero items.

### Environment

- `BRAINIALL_API_KEY` — optional; read at runtime, never stored in files.
- `APIFY_TOKEN` — optional; required together with `--confirm` for a live Apify charge/push.

Local default is **plan / dry-run**:

```bash
python3 -m src --plan --input input.json
```

Live collection (strategist machine with real keys):

```bash
BRAINIALL_API_KEY=… APIFY_TOKEN=… python3 -m src --confirm --input input.json
```

### Responsible use

Public job-listing data only. Do not use this actor to harass applicants, bypass access controls or overload public endpoints. Respect `robots.txt` and the source rate limits. You are responsible for how you store and share the records.

### License

MIT — see LICENSE.

***

### Português (PT-BR)

**O que faz.** Coleta vagas públicas do Gupy por cargo, cidade, UF, remoto ou página de carreira da empresa.

**Por quê.** Recrutamento no Brasil ainda passa pelas páginas públicas de carreira. O ator entrega essa lista em formato de dataset.

**Entrada.** `cargo` (lista) **ou** `empresa` (subdomínio); `cidade`, `uf`, `remoto` e `maxItems` opcionais.

**Saída.** Um item por vaga, campos normalizados (veja o JSON acima).

**Preço.** US$ 0,001 por resultado. Evento `run-start` a US$ 0. Item com erro não é cobrado.

**Limites.** 500 registros por execução, cerca de 1 consulta por segundo. Página em branco falha com código de saída 1.

**Uso responsável.** Só vagas públicas. Sem assédio, sem furar controle de acesso, sem sobrecarregar as fontes. Quem opera o ator responde pelo armazenamento e pelo envio.

# Actor input Schema

## `cargo` (type: `array`):

Job title keywords (e.g. desenvolvedor, analista). Provide this or empresa.

## `cidade` (type: `string`):

Optional city name (e.g. São Paulo, Curitiba).

## `uf` (type: `string`):

Optional Brazilian state abbreviation (e.g. SP). Mapped to the full state name on the public listing.

## `remoto` (type: `boolean`):

When true, keep remote jobs. When false, keep on-site/hybrid. Omit for any workplace.

## `empresa` (type: `string`):

Optional career-page subdomain (e.g. cogna for cogna.gupy.io).

## `maxItems` (type: `integer`):

Maximum number of jobs to return (cap 500).

## Actor input object example

```json
{
  "cargo": [
    "desenvolvedor"
  ],
  "maxItems": 50
}
```

# Actor output Schema

## `dataset` (type: `string`):

All normalized items delivered by this run.

## `datasetItems` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "cargo": [
        "desenvolvedor"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vivid_astronaut/gupy-vagas").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "cargo": ["desenvolvedor"] }

# Run the Actor and wait for it to finish
run = client.actor("vivid_astronaut/gupy-vagas").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "cargo": [
    "desenvolvedor"
  ]
}' |
apify call vivid_astronaut/gupy-vagas --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vivid_astronaut/gupy-vagas"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/XlmdCDCdRRgVbJwnl/builds/RXBBSrxpM9TagTliD/openapi.json
