# Empresas abertas nos últimos 90 dias em São Paulo

**Use case:** 

Lista de até 100 empresas ativas abertas nos últimos 90 dias na capital paulista, com CNPJ, CNAE, endereço, telefone e e-mail quando houver. Dados da base pública de CNPJ da Receita Federal. Em um teste na Apify em 11/11/2026, a busca entregou 100 empresas em 4 segundos: 63% com celular e todas com e-mail (30% de contador ou plataforma, marcados). Exporte em CSV, JSON ou Excel.

## Input

```json
{
  "cnaes": [],
  "incluirCnaesSecundarios": false,
  "palavrasNoNome": [],
  "ufs": [],
  "municipios": [
    "São Paulo, SP"
  ],
  "abertasDesde": "90 days",
  "portes": [],
  "simples": "qualquer",
  "apenasMatriz": false,
  "exigirTelefone": true,
  "exigirCelular": false,
  "exigirEmail": false,
  "ignorarContatosCompartilhados": false,
  "incluirSocios": false,
  "maxResultados": 100
}
```

## Output

```json
{
  "cnpjFormatado": {
    "label": "CNPJ",
    "format": "string"
  },
  "razaoSocial": {
    "label": "Razão social",
    "format": "string"
  },
  "nomeFantasia": {
    "label": "Nome fantasia",
    "format": "string"
  },
  "cnaePrincipalDescricao": {
    "label": "Atividade",
    "format": "string"
  },
  "porte": {
    "label": "Porte",
    "format": "string"
  },
  "dataAbertura": {
    "label": "Abertura",
    "format": "string"
  },
  "municipio": {
    "label": "Município",
    "format": "string"
  },
  "uf": {
    "label": "UF",
    "format": "string"
  },
  "telefonePrincipal": {
    "label": "Telefone",
    "format": "string"
  },
  "whatsapp": {
    "label": "WhatsApp",
    "format": "string"
  },
  "email": {
    "label": "E-mail",
    "format": "string"
  },
  "emailCompartilhado": {
    "label": "E-mail de contador?",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The CNPJ Scraper & Leads Brazil: Empresas por CNAE e Cidade Actor is ready to run with the inputs already set for "Empresas abertas nos últimos 90 dias em São Paulo". [Sign up or log in](https://console.apify.com/create-task-from-example/kOMoSdEKBpnbbh6eM) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Empresas abertas nos últimos 90 dias em São Paulo" task

The CNPJ Scraper & Leads Brazil: Empresas por CNAE e Cidade Actor will start running based on the input automatically. You can also change all the input fields, like CNAEs, buscar também nos cnaes secundários, and more, to match your specific use case.

### 3. Receive the "Empresas abertas nos últimos 90 dias em São Paulo" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as CNPJ, razão social, nome fantasia, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Empresas abertas nos últimos 90 dias em São Paulo" task via API](https://apify.com/roomy_tweet/cnpj-leads.md).

## FAQ

### Por que 90 dias e não 30?

A Receita publica a base de CNPJ uma vez por mês, com algumas semanas de atraso. A base usada no teste era de 10/10/2026, então uma janela de 30 dias pode vir quase vazia. Com 90 dias, os meses mais recentes da base sempre entram.

### Em que ordem vêm as empresas?

Por atividade (CNAE). Com o limite de 100, você recebe as primeiras nessa ordem, não uma amostra aleatória. Pra um ramo específico, preencha CNAE; pra receber todas, coloque 0 em Máximo de resultados.

### Quanto custa executar a busca?

No preço atual do Actor, US$0,0015 por empresa no plano Free da Apify, mais a taxa de início (US$0,0002 com 4 GB). 100 empresas custam cerca de US$0,15. Confira o preço exibido na Apify antes de executar.

## About this Actor

This example demonstrates how to use [CNPJ Scraper & Leads Brazil: Empresas por CNAE e Cidade](https://apify.com/roomy_tweet/cnpj-leads.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/roomy_tweet/cnpj-leads.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/roomy_tweet/cnpj-leads.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
