Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url https://api.aisa.one/apis/v1/cnpja/office/06990590000123 \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/cnpja/office/{taxId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/cnpja/office/{taxId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/cnpja/office/{taxId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/cnpja/office/{taxId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/cnpja/office/{taxId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/cnpja/office/{taxId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cnpja/office/{taxId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"address": {
"city": "São Paulo",
"country": {
"id": 76,
"name": "Brasil"
},
"details": "Andar 17A20 Tsul 2 17A20",
"district": "Itaim Bibi",
"municipality": 3550308,
"number": "3477",
"state": "SP",
"street": "Avenida Brig Faria Lima",
"zip": "04538133"
},
"alias": null,
"company": {
"equity": 200000000,
"id": "06990590",
"members": [
{
"agent": {
"person": {
"age": "51-60",
"country": {
"id": 76,
"name": "Brasil"
},
"id": "1cf6c284-8400-5c85-89e3-b20e0093be5a",
"name": "Yun Ki Lee",
"taxId": "***746608**",
"type": "NATURAL"
},
"role": {
"id": 17,
"text": "Procurador"
}
},
"person": {
"country": {
"id": 840,
"name": "Estados Unidos"
},
"id": "f172f1f6-46f5-5a10-9fb9-8d7c2dbdc2f9",
"name": "GOOGLE LLC",
"taxId": "06947284000104",
"type": "LEGAL"
},
"role": {
"id": 37,
"text": "Sócio Pessoa Jurídica Domiciliado no Exterior"
},
"since": "2004-09-01"
},
{
"person": {
"age": "61-70",
"country": {
"id": 76,
"name": "Brasil"
},
"id": "dc20e638-a27c-547c-bb7d-5ee7cbd917b7",
"name": "Fabio Jose Silva Coelho",
"taxId": "***133807**",
"type": "NATURAL"
},
"role": {
"id": 5,
"text": "Administrador"
},
"since": "2014-08-26"
}
],
"name": "GOOGLE BRASIL INTERNET LTDA.",
"nature": {
"id": 2062,
"text": "Sociedade Empresária Limitada"
},
"size": {
"acronym": "DEMAIS",
"id": 5,
"text": "Demais"
}
},
"emails": [
{
"address": "googlebrasil@google.com",
"domain": "google.com",
"ownership": "CORPORATE"
}
],
"founded": "2004-09-01",
"head": true,
"mainActivity": {
"id": 6319400,
"text": "Portais, provedores de conteúdo e outros serviços de informação na Internet"
},
"phones": [
{
"area": "11",
"number": "23958400",
"type": "LANDLINE"
}
],
"sideActivities": [
{
"id": 4751201,
"text": "Comércio varejista especializado de equipamentos e suprimentos de informática"
},
{
"id": 6201501,
"text": "Desenvolvimento de programas de computador sob encomenda"
},
{
"id": 6202300,
"text": "Desenvolvimento e licenciamento de programas de computador customizáveis"
},
{
"id": 6311900,
"text": "Tratamento de dados, provedores de serviços de aplicação e serviços de hospedagem na Internet"
},
{
"id": 6462000,
"text": "Holdings de instituições não financeiras"
},
{
"id": 7319004,
"text": "Consultoria em publicidade"
},
{
"id": 8299799,
"text": "Outras atividades de serviços prestados principalmente às empresas não especificadas anteriormente"
}
],
"status": {
"id": 2,
"text": "Ativa"
},
"statusDate": "2004-09-01",
"taxId": "06990590000123",
"updated": "2026-09-08T20:11:15.000Z"
}CNPJá
CNPJ Office Lookup
Look up the registered profile of a Brazilian company office (establishment) by its 14-digit CNPJ tax ID. Returns the office’s legal/company name, trade name (alias), registration status, founding date, full address, shareholder/member structure, and primary/secondary economic activities (CNAE).
A “company not found” result returns HTTP 404 with a valid JSON body and is still billed; only 429, 5xx, and network errors are not billed.
GET
https://api.aisa.one
/
apis
/
v1
/
cnpja
/
office
/
{taxId}
Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url https://api.aisa.one/apis/v1/cnpja/office/06990590000123 \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/cnpja/office/{taxId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/cnpja/office/{taxId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/cnpja/office/{taxId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/cnpja/office/{taxId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/cnpja/office/{taxId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/cnpja/office/{taxId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cnpja/office/{taxId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"address": {
"city": "São Paulo",
"country": {
"id": 76,
"name": "Brasil"
},
"details": "Andar 17A20 Tsul 2 17A20",
"district": "Itaim Bibi",
"municipality": 3550308,
"number": "3477",
"state": "SP",
"street": "Avenida Brig Faria Lima",
"zip": "04538133"
},
"alias": null,
"company": {
"equity": 200000000,
"id": "06990590",
"members": [
{
"agent": {
"person": {
"age": "51-60",
"country": {
"id": 76,
"name": "Brasil"
},
"id": "1cf6c284-8400-5c85-89e3-b20e0093be5a",
"name": "Yun Ki Lee",
"taxId": "***746608**",
"type": "NATURAL"
},
"role": {
"id": 17,
"text": "Procurador"
}
},
"person": {
"country": {
"id": 840,
"name": "Estados Unidos"
},
"id": "f172f1f6-46f5-5a10-9fb9-8d7c2dbdc2f9",
"name": "GOOGLE LLC",
"taxId": "06947284000104",
"type": "LEGAL"
},
"role": {
"id": 37,
"text": "Sócio Pessoa Jurídica Domiciliado no Exterior"
},
"since": "2004-09-01"
},
{
"person": {
"age": "61-70",
"country": {
"id": 76,
"name": "Brasil"
},
"id": "dc20e638-a27c-547c-bb7d-5ee7cbd917b7",
"name": "Fabio Jose Silva Coelho",
"taxId": "***133807**",
"type": "NATURAL"
},
"role": {
"id": 5,
"text": "Administrador"
},
"since": "2014-08-26"
}
],
"name": "GOOGLE BRASIL INTERNET LTDA.",
"nature": {
"id": 2062,
"text": "Sociedade Empresária Limitada"
},
"size": {
"acronym": "DEMAIS",
"id": 5,
"text": "Demais"
}
},
"emails": [
{
"address": "googlebrasil@google.com",
"domain": "google.com",
"ownership": "CORPORATE"
}
],
"founded": "2004-09-01",
"head": true,
"mainActivity": {
"id": 6319400,
"text": "Portais, provedores de conteúdo e outros serviços de informação na Internet"
},
"phones": [
{
"area": "11",
"number": "23958400",
"type": "LANDLINE"
}
],
"sideActivities": [
{
"id": 4751201,
"text": "Comércio varejista especializado de equipamentos e suprimentos de informática"
},
{
"id": 6201501,
"text": "Desenvolvimento de programas de computador sob encomenda"
},
{
"id": 6202300,
"text": "Desenvolvimento e licenciamento de programas de computador customizáveis"
},
{
"id": 6311900,
"text": "Tratamento de dados, provedores de serviços de aplicação e serviços de hospedagem na Internet"
},
{
"id": 6462000,
"text": "Holdings de instituições não financeiras"
},
{
"id": 7319004,
"text": "Consultoria em publicidade"
},
{
"id": 8299799,
"text": "Outras atividades de serviços prestados principalmente às empresas não especificadas anteriormente"
}
],
"status": {
"id": 2,
"text": "Ativa"
},
"statusDate": "2004-09-01",
"taxId": "06990590000123",
"updated": "2026-09-08T20:11:15.000Z"
}请求规范
- 方法与路径: GET /apis/v1/cnpja/office/{taxId}
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/cnpja/office/{taxId} - taxId: path; 必填
- geocoding: query; 可选
- links: query; 可选
- maxAge: query; 可选
- maxStale: query; 可选
- registrations: query; 可选
- simples: query; 可选
- simplesHistory: query; 可选
- strategy: query; 可选
- suframa: query; 可选
{
"operationId": "get_cnpja_office_lookup",
"method": "GET",
"path": "/apis/v1/cnpja/office/{taxId}",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "The 14-digit Brazilian CNPJ number of the office to look up (digits only, no punctuation). Punctuated input fails routing. Example: `06990590000123`.",
"in": "path",
"name": "taxId",
"required": true,
"schema": {
"example": "06990590000123",
"type": "string"
}
},
{
"in": "query",
"name": "geocoding",
"required": false,
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "links",
"required": false,
"schema": {
"maxLength": 256,
"type": "string"
}
},
{
"in": "query",
"name": "maxAge",
"required": false,
"schema": {
"maximum": 9223372036854775807,
"minimum": 0,
"type": "integer"
}
},
{
"in": "query",
"name": "maxStale",
"required": false,
"schema": {
"maximum": 9223372036854775807,
"minimum": 0,
"type": "integer"
}
},
{
"in": "query",
"name": "registrations",
"required": false,
"schema": {
"maxLength": 256,
"type": "string"
}
},
{
"in": "query",
"name": "simples",
"required": false,
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "simplesHistory",
"required": false,
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "strategy",
"required": false,
"schema": {
"maxLength": 32,
"type": "string"
}
},
{
"in": "query",
"name": "suframa",
"required": false,
"schema": {
"type": "boolean"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0288 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
路径参数
查询参数
响应
The registered office profile for the given CNPJ.