
Extrator de CNPJ Brasil
Deprecated
Pricing
Pay per usage

Extrator de CNPJ Brasil
Deprecated
Este ator extrai dados de empresas cadastradas na receita federal, o scraping é feito na base mais atualizada existente.
0.0 (0)
Pricing
Pay per usage
1
Total users
173
Monthly users
1
Runs succeeded
>99%
Last modified
a year ago
You can access the Extrator de CNPJ Brasil programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1{
2 "openapi": "3.0.1",
3 "info": {
4 "version": "0.0",
5 "x-build-id": "3iDHijRpPvKsTbhbW"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/wandersonsousa~cnpj-brasil-extrator/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-wandersonsousa-cnpj-brasil-extrator",
16 "x-openai-isConsequential": false,
17 "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18 "tags": [
19 "Run Actor"
20 ],
21 "requestBody": {
22 "required": true,
23 "content": {
24 "application/json": {
25 "schema": {
26 "$ref": "#/components/schemas/inputSchema"
27 }
28 }
29 }
30 },
31 "parameters": [
32 {
33 "name": "token",
34 "in": "query",
35 "required": true,
36 "schema": {
37 "type": "string"
38 },
39 "description": "Enter your Apify token here"
40 }
41 ],
42 "responses": {
43 "200": {
44 "description": "OK"
45 }
46 }
47 }
48 },
49 "/acts/wandersonsousa~cnpj-brasil-extrator/runs": {
50 "post": {
51 "operationId": "runs-sync-wandersonsousa-cnpj-brasil-extrator",
52 "x-openai-isConsequential": false,
53 "summary": "Executes an Actor and returns information about the initiated run in response.",
54 "tags": [
55 "Run Actor"
56 ],
57 "requestBody": {
58 "required": true,
59 "content": {
60 "application/json": {
61 "schema": {
62 "$ref": "#/components/schemas/inputSchema"
63 }
64 }
65 }
66 },
67 "parameters": [
68 {
69 "name": "token",
70 "in": "query",
71 "required": true,
72 "schema": {
73 "type": "string"
74 },
75 "description": "Enter your Apify token here"
76 }
77 ],
78 "responses": {
79 "200": {
80 "description": "OK",
81 "content": {
82 "application/json": {
83 "schema": {
84 "$ref": "#/components/schemas/runsResponseSchema"
85 }
86 }
87 }
88 }
89 }
90 }
91 },
92 "/acts/wandersonsousa~cnpj-brasil-extrator/run-sync": {
93 "post": {
94 "operationId": "run-sync-wandersonsousa-cnpj-brasil-extrator",
95 "x-openai-isConsequential": false,
96 "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97 "tags": [
98 "Run Actor"
99 ],
100 "requestBody": {
101 "required": true,
102 "content": {
103 "application/json": {
104 "schema": {
105 "$ref": "#/components/schemas/inputSchema"
106 }
107 }
108 }
109 },
110 "parameters": [
111 {
112 "name": "token",
113 "in": "query",
114 "required": true,
115 "schema": {
116 "type": "string"
117 },
118 "description": "Enter your Apify token here"
119 }
120 ],
121 "responses": {
122 "200": {
123 "description": "OK"
124 }
125 }
126 }
127 }
128 },
129 "components": {
130 "schemas": {
131 "inputSchema": {
132 "type": "object",
133 "properties": {
134 "search_type": {
135 "title": "Tipo da busca",
136 "enum": [
137 "basic_search_bellow_1000",
138 "spread_cnaes_search",
139 "auto_cnaes_search",
140 "spread_date_search",
141 "spreads_cnaes_date",
142 "auto_cnaes_spread_date_search"
143 ],
144 "type": "string",
145 "description": "Tipo da busca"
146 },
147 "shoudScrapeCompleteData": {
148 "title": "Extrair dados completos",
149 "type": "boolean",
150 "description": "Ativando essa opção a busca será mais lenta",
151 "default": false
152 },
153 "estados": {
154 "title": "Estados",
155 "type": "array",
156 "description": "Estados",
157 "items": {
158 "type": "string"
159 }
160 },
161 "razaoOuNomeFantasia": {
162 "title": "Razão social ou Nome Fantasia",
163 "type": "array",
164 "description": "Razão Social ou Nome Fantasia",
165 "items": {
166 "type": "string"
167 }
168 },
169 "cnaes": {
170 "title": "CNAEs",
171 "type": "array",
172 "description": "CNAEs",
173 "items": {
174 "type": "string"
175 }
176 },
177 "naturezaJuridica": {
178 "title": "Natureza Jurídica",
179 "type": "array",
180 "description": "Natureza Jurídica",
181 "items": {
182 "type": "string"
183 }
184 },
185 "municipios": {
186 "title": "Municípios",
187 "type": "array",
188 "description": "Municípios",
189 "items": {
190 "type": "string"
191 }
192 },
193 "situacaoCadastral": {
194 "title": "Situação Cadastral",
195 "enum": [
196 "ATIVA",
197 "BAIXADA",
198 "INAPTA",
199 "SUSPENSA",
200 "NULA"
201 ],
202 "type": "string",
203 "description": "Situação Cadastral"
204 },
205 "ceps": {
206 "title": "CEPs",
207 "type": "array",
208 "description": "CEPs",
209 "items": {
210 "type": "string"
211 }
212 },
213 "DDDs": {
214 "title": "DDDs",
215 "type": "array",
216 "description": "DDDs",
217 "items": {
218 "type": "string"
219 }
220 },
221 "dataAberturaDe": {
222 "title": "Data de Abertura De",
223 "pattern": "\\d{4}-\\d{2}-\\d{2}",
224 "type": "string",
225 "description": "YYYY-MM-DD"
226 },
227 "dataAberturaAte": {
228 "title": "Data de Abertura Até",
229 "pattern": "\\d{4}-\\d{2}-\\d{2}",
230 "type": "string",
231 "description": "YYYY-MM-DD"
232 },
233 "capitalSocialDe": {
234 "title": "Capital Social De",
235 "type": "string",
236 "description": "Capital Social De"
237 },
238 "capitalSocialAte": {
239 "title": "Capital Social Até",
240 "type": "string",
241 "description": "Capital Social Até"
242 },
243 "somenteMei": {
244 "title": "Somente MEI",
245 "type": "boolean",
246 "description": "Somente MEI",
247 "default": false
248 },
249 "excluirMei": {
250 "title": "Excluir MEI",
251 "type": "boolean",
252 "description": "Excluir MEI",
253 "default": false
254 },
255 "comEmail": {
256 "title": "Com E-mail",
257 "type": "boolean",
258 "description": "Com E-mail",
259 "default": false
260 },
261 "incluirAtividadeSecundaria": {
262 "title": "Incluir Atividade Secundária",
263 "type": "boolean",
264 "description": "Incluir Atividade Secundária",
265 "default": false
266 },
267 "comContatoTelefonico": {
268 "title": "Com contato telefônico",
269 "type": "boolean",
270 "description": "Com contato telefônico",
271 "default": false
272 },
273 "somenteFixo": {
274 "title": "Somente fixo",
275 "type": "boolean",
276 "description": "Somente fixo",
277 "default": false
278 },
279 "somenteCelular": {
280 "title": "Somente celular",
281 "type": "boolean",
282 "description": "Somente celular",
283 "default": false
284 },
285 "somenteMatriz": {
286 "title": "Somente matriz",
287 "type": "boolean",
288 "description": "Somente matriz",
289 "default": false
290 },
291 "somenteFilial": {
292 "title": "Somente filial",
293 "type": "boolean",
294 "description": "Somente filial",
295 "default": false
296 },
297 "apiorigin": {
298 "title": "Requisição da api",
299 "type": "boolean",
300 "description": "Requisição da api",
301 "default": false
302 }
303 }
304 },
305 "runsResponseSchema": {
306 "type": "object",
307 "properties": {
308 "data": {
309 "type": "object",
310 "properties": {
311 "id": {
312 "type": "string"
313 },
314 "actId": {
315 "type": "string"
316 },
317 "userId": {
318 "type": "string"
319 },
320 "startedAt": {
321 "type": "string",
322 "format": "date-time",
323 "example": "2025-01-08T00:00:00.000Z"
324 },
325 "finishedAt": {
326 "type": "string",
327 "format": "date-time",
328 "example": "2025-01-08T00:00:00.000Z"
329 },
330 "status": {
331 "type": "string",
332 "example": "READY"
333 },
334 "meta": {
335 "type": "object",
336 "properties": {
337 "origin": {
338 "type": "string",
339 "example": "API"
340 },
341 "userAgent": {
342 "type": "string"
343 }
344 }
345 },
346 "stats": {
347 "type": "object",
348 "properties": {
349 "inputBodyLen": {
350 "type": "integer",
351 "example": 2000
352 },
353 "rebootCount": {
354 "type": "integer",
355 "example": 0
356 },
357 "restartCount": {
358 "type": "integer",
359 "example": 0
360 },
361 "resurrectCount": {
362 "type": "integer",
363 "example": 0
364 },
365 "computeUnits": {
366 "type": "integer",
367 "example": 0
368 }
369 }
370 },
371 "options": {
372 "type": "object",
373 "properties": {
374 "build": {
375 "type": "string",
376 "example": "latest"
377 },
378 "timeoutSecs": {
379 "type": "integer",
380 "example": 300
381 },
382 "memoryMbytes": {
383 "type": "integer",
384 "example": 1024
385 },
386 "diskMbytes": {
387 "type": "integer",
388 "example": 2048
389 }
390 }
391 },
392 "buildId": {
393 "type": "string"
394 },
395 "defaultKeyValueStoreId": {
396 "type": "string"
397 },
398 "defaultDatasetId": {
399 "type": "string"
400 },
401 "defaultRequestQueueId": {
402 "type": "string"
403 },
404 "buildNumber": {
405 "type": "string",
406 "example": "1.0.0"
407 },
408 "containerUrl": {
409 "type": "string"
410 },
411 "usage": {
412 "type": "object",
413 "properties": {
414 "ACTOR_COMPUTE_UNITS": {
415 "type": "integer",
416 "example": 0
417 },
418 "DATASET_READS": {
419 "type": "integer",
420 "example": 0
421 },
422 "DATASET_WRITES": {
423 "type": "integer",
424 "example": 0
425 },
426 "KEY_VALUE_STORE_READS": {
427 "type": "integer",
428 "example": 0
429 },
430 "KEY_VALUE_STORE_WRITES": {
431 "type": "integer",
432 "example": 1
433 },
434 "KEY_VALUE_STORE_LISTS": {
435 "type": "integer",
436 "example": 0
437 },
438 "REQUEST_QUEUE_READS": {
439 "type": "integer",
440 "example": 0
441 },
442 "REQUEST_QUEUE_WRITES": {
443 "type": "integer",
444 "example": 0
445 },
446 "DATA_TRANSFER_INTERNAL_GBYTES": {
447 "type": "integer",
448 "example": 0
449 },
450 "DATA_TRANSFER_EXTERNAL_GBYTES": {
451 "type": "integer",
452 "example": 0
453 },
454 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
455 "type": "integer",
456 "example": 0
457 },
458 "PROXY_SERPS": {
459 "type": "integer",
460 "example": 0
461 }
462 }
463 },
464 "usageTotalUsd": {
465 "type": "number",
466 "example": 0.00005
467 },
468 "usageUsd": {
469 "type": "object",
470 "properties": {
471 "ACTOR_COMPUTE_UNITS": {
472 "type": "integer",
473 "example": 0
474 },
475 "DATASET_READS": {
476 "type": "integer",
477 "example": 0
478 },
479 "DATASET_WRITES": {
480 "type": "integer",
481 "example": 0
482 },
483 "KEY_VALUE_STORE_READS": {
484 "type": "integer",
485 "example": 0
486 },
487 "KEY_VALUE_STORE_WRITES": {
488 "type": "number",
489 "example": 0.00005
490 },
491 "KEY_VALUE_STORE_LISTS": {
492 "type": "integer",
493 "example": 0
494 },
495 "REQUEST_QUEUE_READS": {
496 "type": "integer",
497 "example": 0
498 },
499 "REQUEST_QUEUE_WRITES": {
500 "type": "integer",
501 "example": 0
502 },
503 "DATA_TRANSFER_INTERNAL_GBYTES": {
504 "type": "integer",
505 "example": 0
506 },
507 "DATA_TRANSFER_EXTERNAL_GBYTES": {
508 "type": "integer",
509 "example": 0
510 },
511 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
512 "type": "integer",
513 "example": 0
514 },
515 "PROXY_SERPS": {
516 "type": "integer",
517 "example": 0
518 }
519 }
520 }
521 }
522 }
523 }
524 }
525 }
526 }
527}
Extrator de CNPJ Brasil OpenAPI definition
OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for Extrator de CNPJ Brasil from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients: