Text comes as Receita Federal publishes it: uppercase, without accents. The lists include companies with any registration status, not only active ones.
30 partners of the companies in empresas_maior_capital, ordered by the company’s share capital. A person who is a partner in several of those companies appears once per company.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"API de Consulta CNPJ","colors":{"primary":"#1A4FFF","light":"#4D73FF","dark":"#1A4FFF"},"logo":{"light":"https://mintcdn.com/cnpj-api/SuVyblYsrDDcR_Yz/logo/light.svg?fit=max\u0026auto=format\u0026n=SuVyblYsrDDcR_Yz\u0026q=85\u0026s=e52726879bfa54474b08baa745686ce8","dark":"https://mintcdn.com/cnpj-api/SuVyblYsrDDcR_Yz/logo/dark.svg?fit=max\u0026auto=format\u0026n=SuVyblYsrDDcR_Yz\u0026q=85\u0026s=1399738c36daab72980fa3b6388cbaaf"},"favicon":"https://mintcdn.com/cnpj-api/SuVyblYsrDDcR_Yz/favicon.svg?fit=max\u0026auto=format\u0026n=SuVyblYsrDDcR_Yz\u0026q=85\u0026s=67050dd19dba445f0b7b5d2656077a92","api":{"mdx":{"server":"https://api.cnpj-api.com"}},"navbar":{"links":[{"href":"https://cnpj-api.com/suporte","label":"Suporte"}],"primary":{"type":"button","label":"Minha Conta","href":"https://cnpj-api.com/my-account"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"pt-BR","default":true,"href":"pt/introducao"},{"language":"en","href":"en/introducao"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cnpj-api","hasAudioNarration":false,"actualSubdomain":"cnpj-api","customDomains":["docs.cnpj-api.com"],"gitSource":{"type":"github","owner":"poupey-app","repo":"backend-poupey","deployBranch":"main","contentDirectory":"apps/docs-cnpj-api","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6abae071fba5230503e58ffb","collectionId":"3e966b0c-6b33-4f12-84f1-49d94673e781","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6abae071fba5230503e58ffb"},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{},"buildId":"6abae071fba5230503e58ffb","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"en","tag":"Endpoints","count":6},{"language":"pt-BR","tag":"Endpoints","count":6},{"language":"en","tag":"Authentication","count":3},{"language":"pt-BR","tag":"Autenticação","count":3},{"language":"en","tag":"Introduction","count":2},{"language":"en","tag":"Migration","count":2},{"language":"en","tag":"Skill CNPJ","count":2},{"language":"pt-BR","tag":"Introdução","count":2},{"language":"pt-BR","tag":"Migração","count":2},{"language":"pt-BR","tag":"Skill CNPJ","count":2},{"language":"en","tag":"Support","count":1},{"language":"pt-BR","tag":"Suporte","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/endpoint-cidades","slug":"/en/endpoint-cidades","pageMetadata":{"title":"Cities","api":"GET /v1/cidades/{id}","description":"Aggregated data for a municipality","href":"/en/endpoint-cidades"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Aggregated data for a municipality\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(ParamField,{path:`id`,type:`number`,required:true,id:`param-id`,children:_jsxs(_components.p,{children:[`SIAFI/TOM municipality code (used by Receita Federal). Example: `,_jsx(_components.code,{children:`7107`})]})}),`\n`,_jsx(ParamField,{query:`token`,type:`string`,id:`param-token`,children:_jsx(_components.p,{children:`Authentication token. Preferred authentication method.`})}),`\n`,_jsx(Heading,{level:`2`,id:`what’s-included`,children:`What’s included`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`100 largest companies`}),` by share capital`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`30 most recent companies`}),` by opening date`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`30 top partners`}),` linked to the highest-capital companies`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`data-sources`,children:`Data sources`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://solucoes.receita.fazenda.gov.br/Servicos/cnpjreva/cnpjreva_solicitacao.asp`,children:`Receita Federal`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Limited to 5 queries per minute for free tokens. See `,_jsx(_components.a,{href:`/en/limites-de-uso`,children:`Rate Limits`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Text comes as Receita Federal publishes it: uppercase, without accents. The lists include companies with any registration status, not only active ones.`}),`\n`,_jsx(ResponseField,{name:`municipio_codigo`,type:`number`,id:`param-municipio-codigo`,children:_jsx(_components.p,{children:`Municipality code from the Receita Federal table (TOM).`})}),`\n`,_jsx(ResponseField,{name:`nome`,type:`string`,id:`param-nome`,children:_jsx(_components.p,{children:`Municipality name.`})}),`\n`,_jsx(ResponseField,{name:`capital_social_total`,type:`number`,id:`param-capital-social-total`,children:_jsxs(_components.p,{children:[`Sum of the share capital of the companies in `,_jsx(_components.code,{children:`empresas_maior_capital`}),`, in Brazilian reais. This is not the municipality’s total.`]})}),`\n`,_jsxs(ResponseField,{name:`empresas_maior_capital`,type:`object[]`,id:`param-empresas-maior-capital`,children:[_jsx(_components.p,{children:`The 100 companies with the largest share capital, largest first.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`cnpj`,type:`string`,id:`param-cnpj`,children:_jsx(_components.p,{children:`CNPJ number without punctuation (14 characters).`})}),_jsx(ResponseField,{name:`razao_social`,type:`string`,id:`param-razao-social`,children:_jsx(_components.p,{children:`Legal name.`})}),_jsx(ResponseField,{name:`nome_fantasia`,type:`string | null`,id:`param-nome-fantasia`,children:_jsxs(_components.p,{children:[`Trade name. `,_jsx(_components.code,{children:`null`}),` when there is none.`]})}),_jsx(ResponseField,{name:`capital_social`,type:`number`,id:`param-capital-social`,children:_jsx(_components.p,{children:`Share capital, in Brazilian reais.`})}),_jsx(ResponseField,{name:`data_abertura`,type:`string`,id:`param-data-abertura`,children:_jsxs(_components.p,{children:[`Opening date (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`situacao`,type:`object`,id:`param-situacao`,children:_jsxs(_components.p,{children:[`Registration status, with `,_jsx(_components.code,{children:`codigo`}),` and `,_jsx(_components.code,{children:`descricao`}),`. Same codes as `,_jsx(_components.a,{href:`/en/endpoint-cnpj#response`,children:`CNPJ Lookup`}),`.`]})}),_jsx(ResponseField,{name:`municipio`,type:`string`,id:`param-municipio`,children:_jsx(_components.p,{children:`Municipality name.`})}),_jsx(ResponseField,{name:`uf`,type:`string`,id:`param-uf`,children:_jsx(_components.p,{children:`State abbreviation.`})})]})]}),`\n`,_jsx(ResponseField,{name:`empresas_recentes`,type:`object[]`,id:`param-empresas-recentes`,children:_jsxs(_components.p,{children:[`The 30 most recently opened companies, newest first, in the same format as `,_jsx(_components.code,{children:`empresas_maior_capital`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`socios_maior_capital`,type:`object[]`,id:`param-socios-maior-capital`,children:[_jsxs(_components.p,{children:[`30 partners of the companies in `,_jsx(_components.code,{children:`empresas_maior_capital`}),`, ordered by the company’s share capital. A person who is a partner in several of those companies appears once per company.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`pessoa_id`,type:`string`,id:`param-pessoa-id`,children:_jsxs(_components.p,{children:[`CPF as masked by Receita Federal (for example `,_jsx(_components.code,{children:`***123456**`}),`) for individuals, or the CNPJ for companies.`]})}),_jsx(ResponseField,{name:`nome`,type:`string`,id:`param-nome-1`,children:_jsx(_components.p,{children:`Partner’s name or legal name.`})}),_jsx(ResponseField,{name:`tipo`,type:`string`,id:`param-tipo`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PESSOA_FISICA`}),` (individual), `,_jsx(_components.code,{children:`PESSOA_JURIDICA`}),` (company), `,_jsx(_components.code,{children:`ESTRANGEIRO`}),` (foreign resident) or `,_jsx(_components.code,{children:`DESCONHECIDO`}),` (unknown).`]})}),_jsx(ResponseField,{name:`qualificacao`,type:`object`,id:`param-qualificacao`,children:_jsxs(_components.p,{children:[`The partner’s role, with `,_jsx(_components.code,{children:`codigo`}),` and `,_jsx(_components.code,{children:`descricao`}),` (for example `,_jsx(_components.code,{children:`Sócio-Administrador`}),`, managing partner).`]})}),_jsx(ResponseField,{name:`cnpj`,type:`string`,id:`param-cnpj-1`,children:_jsx(_components.p,{children:`CNPJ of the company the person is a partner in.`})}),_jsx(ResponseField,{name:`razao_social`,type:`string`,id:`param-razao-social-1`,children:_jsx(_components.p,{children:`That company’s legal name.`})}),_jsx(ResponseField,{name:`capital_social`,type:`number`,id:`param-capital-social-1`,children:_jsx(_components.p,{children:`That company’s share capital, in Brazilian reais.`})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Cities","api":"GET /v1/cidades/{id}","description":"Aggregated data for a municipality","href":"/en/endpoint-cidades"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(ParamField,{path:`id`,type:`number`,required:true,id:`param-id`,children:_jsxs(_components.p,{children:[`SIAFI/TOM municipality code (used by Receita Federal). Example: `,_jsx(_components.code,{children:`7107`})]})}),`\n`,_jsx(ParamField,{query:`token`,type:`string`,id:`param-token`,children:_jsx(_components.p,{children:`Authentication token. Preferred authentication method.`})}),`\n`,_jsx(Heading,{level:`2`,id:`what’s-included`,children:`What’s included`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`100 largest companies`}),` by share capital`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`30 most recent companies`}),` by opening date`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`30 top partners`}),` linked to the highest-capital companies`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`data-sources`,children:`Data sources`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://solucoes.receita.fazenda.gov.br/Servicos/cnpjreva/cnpjreva_solicitacao.asp`,children:`Receita Federal`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Limited to 5 queries per minute for free tokens. See `,_jsx(_components.a,{href:`/en/limites-de-uso`,children:`Rate Limits`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Text comes as Receita Federal publishes it: uppercase, without accents. The lists include companies with any registration status, not only active ones.`}),`\n`,_jsx(ResponseField,{name:`municipio_codigo`,type:`number`,id:`param-municipio-codigo`,children:_jsx(_components.p,{children:`Municipality code from the Receita Federal table (TOM).`})}),`\n`,_jsx(ResponseField,{name:`nome`,type:`string`,id:`param-nome`,children:_jsx(_components.p,{children:`Municipality name.`})}),`\n`,_jsx(ResponseField,{name:`capital_social_total`,type:`number`,id:`param-capital-social-total`,children:_jsxs(_components.p,{children:[`Sum of the share capital of the companies in `,_jsx(_components.code,{children:`empresas_maior_capital`}),`, in Brazilian reais. This is not the municipality’s total.`]})}),`\n`,_jsxs(ResponseField,{name:`empresas_maior_capital`,type:`object[]`,id:`param-empresas-maior-capital`,children:[_jsx(_components.p,{children:`The 100 companies with the largest share capital, largest first.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`cnpj`,type:`string`,id:`param-cnpj`,children:_jsx(_components.p,{children:`CNPJ number without punctuation (14 characters).`})}),_jsx(ResponseField,{name:`razao_social`,type:`string`,id:`param-razao-social`,children:_jsx(_components.p,{children:`Legal name.`})}),_jsx(ResponseField,{name:`nome_fantasia`,type:`string | null`,id:`param-nome-fantasia`,children:_jsxs(_components.p,{children:[`Trade name. `,_jsx(_components.code,{children:`null`}),` when there is none.`]})}),_jsx(ResponseField,{name:`capital_social`,type:`number`,id:`param-capital-social`,children:_jsx(_components.p,{children:`Share capital, in Brazilian reais.`})}),_jsx(ResponseField,{name:`data_abertura`,type:`string`,id:`param-data-abertura`,children:_jsxs(_components.p,{children:[`Opening date (`,_jsx(_components.code,{children:`YYYY-MM-DD`}),`).`]})}),_jsx(ResponseField,{name:`situacao`,type:`object`,id:`param-situacao`,children:_jsxs(_components.p,{children:[`Registration status, with `,_jsx(_components.code,{children:`codigo`}),` and `,_jsx(_components.code,{children:`descricao`}),`. Same codes as `,_jsx(_components.a,{href:`/en/endpoint-cnpj#response`,children:`CNPJ Lookup`}),`.`]})}),_jsx(ResponseField,{name:`municipio`,type:`string`,id:`param-municipio`,children:_jsx(_components.p,{children:`Municipality name.`})}),_jsx(ResponseField,{name:`uf`,type:`string`,id:`param-uf`,children:_jsx(_components.p,{children:`State abbreviation.`})})]})]}),`\n`,_jsx(ResponseField,{name:`empresas_recentes`,type:`object[]`,id:`param-empresas-recentes`,children:_jsxs(_components.p,{children:[`The 30 most recently opened companies, newest first, in the same format as `,_jsx(_components.code,{children:`empresas_maior_capital`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`socios_maior_capital`,type:`object[]`,id:`param-socios-maior-capital`,children:[_jsxs(_components.p,{children:[`30 partners of the companies in `,_jsx(_components.code,{children:`empresas_maior_capital`}),`, ordered by the company’s share capital. A person who is a partner in several of those companies appears once per company.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`pessoa_id`,type:`string`,id:`param-pessoa-id`,children:_jsxs(_components.p,{children:[`CPF as masked by Receita Federal (for example `,_jsx(_components.code,{children:`***123456**`}),`) for individuals, or the CNPJ for companies.`]})}),_jsx(ResponseField,{name:`nome`,type:`string`,id:`param-nome-1`,children:_jsx(_components.p,{children:`Partner’s name or legal name.`})}),_jsx(ResponseField,{name:`tipo`,type:`string`,id:`param-tipo`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PESSOA_FISICA`}),` (individual), `,_jsx(_components.code,{children:`PESSOA_JURIDICA`}),` (company), `,_jsx(_components.code,{children:`ESTRANGEIRO`}),` (foreign resident) or `,_jsx(_components.code,{children:`DESCONHECIDO`}),` (unknown).`]})}),_jsx(ResponseField,{name:`qualificacao`,type:`object`,id:`param-qualificacao`,children:_jsxs(_components.p,{children:[`The partner’s role, with `,_jsx(_components.code,{children:`codigo`}),` and `,_jsx(_components.code,{children:`descricao`}),` (for example `,_jsx(_components.code,{children:`Sócio-Administrador`}),`, managing partner).`]})}),_jsx(ResponseField,{name:`cnpj`,type:`string`,id:`param-cnpj-1`,children:_jsx(_components.p,{children:`CNPJ of the company the person is a partner in.`})}),_jsx(ResponseField,{name:`razao_social`,type:`string`,id:`param-razao-social-1`,children:_jsx(_components.p,{children:`That company’s legal name.`})}),_jsx(ResponseField,{name:`capital_social`,type:`number`,id:`param-capital-social-1`,children:_jsx(_components.p,{children:`That company’s share capital, in Brazilian reais.`})})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.cnpj-api.com/v1/cidades/7107?token=YOUR_TOKEN\"`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`49`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`49`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"municipio_codigo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7107`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SAO PAULO\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"capital_social_total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`185432000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"empresas_maior_capital\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cnpj\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"11222333000181\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"razao_social\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BETA PARTICIPACOES S.A.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nome_fantasia\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BETA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"capital_social\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12000000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data_abertura\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1998-03-17\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"situacao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"codigo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"descricao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ativa\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"municipio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SAO PAULO\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SP\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"empresas_recentes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cnpj\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"44555666000177\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"razao_social\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GAMA SERVICOS DIGITAIS LTDA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nome_fantasia\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"capital_social\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data_abertura\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-28\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"situacao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"codigo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"descricao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ativa\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"municipio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SAO PAULO\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SP\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"socios_maior_capital\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pessoa_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"***654321**\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"JOAO PEREIRA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tipo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PESSOA_FISICA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"qualificacao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"codigo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`16`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"descricao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Presidente\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cnpj\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"11222333000181\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"razao_social\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BETA PARTICIPACOES S.A.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"capital_social\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12000000000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Cities","api":"GET /v1/cidades/{id}","description":"Aggregated data for a municipality","href":"/en/endpoint-cidades"}}}},"mdxExtracts":{"tableOfContents":[{"title":"What’s included","slug":"what’s-included","depth":2,"children":[]},{"title":"Data sources","slug":"data-sources","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"1\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.cnpj-api.com/v1/cidades/7107?token=YOUR_TOKEN\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"49\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"municipio_codigo\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">7107\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nome\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SAO PAULO\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"capital_social_total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">185432000000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"empresas_maior_capital\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cnpj\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"11222333000181\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"razao_social\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BETA PARTICIPACOES S.A.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nome_fantasia\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BETA\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"capital_social\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12000000000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data_abertura\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1998-03-17\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"situacao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"codigo\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"descricao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Ativa\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"municipio\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SAO PAULO\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"uf\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SP\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"empresas_recentes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cnpj\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"44555666000177\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"razao_social\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"GAMA SERVICOS DIGITAIS LTDA\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nome_fantasia\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"capital_social\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">10000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data_abertura\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-08-28\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"situacao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"codigo\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"descricao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Ativa\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"municipio\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SAO PAULO\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"uf\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SP\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"socios_maior_capital\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pessoa_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"***654321**\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nome\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"JOAO PEREIRA\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tipo\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PESSOA_FISICA\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"qualificacao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"codigo\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">16\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"descricao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Presidente\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cnpj\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"11222333000181\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"razao_social\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BETA PARTICIPACOES S.A.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"capital_social\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12000000000\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Cities","path":"/v1/cidades/{id}","method":"get","request":{"security":[],"parameters":{"query":{"token":{"schema":[{"type":"string","description":"Authentication token. Preferred authentication method."}]}},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"number","description":"SIAFI/TOM municipality code (used by Receita Federal). Example: `7107`","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"municipio_codigo":[{"type":"number","description":"Municipality code from the Receita Federal table (TOM)."}],"nome":[{"type":"string","description":"Municipality name."}],"capital_social_total":[{"type":"number","description":"Sum of the share capital of the companies in `empresas_maior_capital` , in Brazilian reais. This is not the municipality’s total."}],"empresas_maior_capital":[{"type":"array","items":[{"type":"object","properties":{"cnpj":[{"type":"string","description":"CNPJ number without punctuation (14 characters)."}],"razao_social":[{"type":"string","description":"Legal name."}],"nome_fantasia":[{"type":"object","properties":{},"description":"Trade name. `null` when there is none."}],"capital_social":[{"type":"number","description":"Share capital, in Brazilian reais."}],"data_abertura":[{"type":"string","description":"Opening date ( `YYYY-MM-DD` )."}],"situacao":[{"type":"object","properties":{},"description":"Registration status, with `codigo` and `descricao` . Same codes as CNPJ Lookup ."}],"municipio":[{"type":"string","description":"Municipality name."}],"uf":[{"type":"string","description":"State abbreviation."}]}}],"description":"The 100 companies with the largest share capital, largest first."}],"empresas_recentes":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"The 30 most recently opened companies, newest first, in the same format as `empresas_maior_capital` ."}],"socios_maior_capital":[{"type":"array","items":[{"type":"object","properties":{"pessoa_id":[{"type":"string","description":"CPF as masked by Receita Federal (for example `***123456**` ) for individuals, or the CNPJ for companies."}],"nome":[{"type":"string","description":"Partner’s name or legal name."}],"tipo":[{"type":"string","description":"`PESSOA_FISICA` (individual), `PESSOA_JURIDICA` (company), `ESTRANGEIRO` (foreign resident) or `DESCONHECIDO` (unknown)."}],"qualificacao":[{"type":"object","properties":{},"description":"The partner’s role, with `codigo` and `descricao` (for example `Sócio-Administrador` , managing partner)."}],"cnpj":[{"type":"string","description":"CNPJ of the company the person is a partner in."}],"razao_social":[{"type":"string","description":"That company’s legal name."}],"capital_social":[{"type":"number","description":"That company’s share capital, in Brazilian reais."}]}}],"description":"30 partners of the companies in `empresas_maior_capital` , ordered by the company’s share capital. A person who is a partner in several of those companies appears once per company."}]}}],"examples":{"example":{"value":{"municipio_codigo":123,"nome":"\u003cstring>","capital_social_total":123,"empresas_maior_capital":[{"cnpj":"\u003cstring>","razao_social":"\u003cstring>","nome_fantasia":{},"capital_social":123,"data_abertura":"\u003cstring>","situacao":{},"municipio":"\u003cstring>","uf":"\u003cstring>"}],"empresas_recentes":[{}],"socios_maior_capital":[{"pessoa_id":"\u003cstring>","nome":"\u003cstring>","tipo":"\u003cstring>","qualificacao":{},"cnpj":"\u003cstring>","razao_social":"\u003cstring>","capital_social":123}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"cnpj-api","siteName":"API de Consulta CNPJ","title":"Cities - API de Consulta CNPJ","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/pt/endpoint-cidades","matchLevel":1},"en":{"href":"/en/endpoint-cidades","matchLevel":0}}},"lastModified":"2026-09-19T04:44:18.513Z","originalFileLocation":"en/endpoint-cidades.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Aggregated data for a municipality\">\u003cmeta data-mint-head name=\"application-name\" content=\"API de Consulta CNPJ\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cnpj-api/PQ0MwLfTTQm0U72F/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cnpj-api/PQ0MwLfTTQm0U72F/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cnpj-api/PQ0MwLfTTQm0U72F/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cnpj-api/PQ0MwLfTTQm0U72F/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cnpj-api/PQ0MwLfTTQm0U72F/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cnpj-api/PQ0MwLfTTQm0U72F/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cnpj-api/PQ0MwLfTTQm0U72F/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cnpj-api/PQ0MwLfTTQm0U72F/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cnpj-api/PQ0MwLfTTQm0U72F/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cities - API de Consulta CNPJ\">\u003cmeta data-mint-head property=\"og:description\" content=\"Aggregated data for a municipality\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"API de Consulta CNPJ\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cnpj-api.com/en/endpoint-cidades\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cnpj-api.mintlify.app/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Cities\u0026amp;description=Aggregated+data+for+a+municipality\u0026amp;theme=accaadc76b836dba5050a988\u0026amp;signature=0a79aa2366b43cc1e8ad76c80ec62d5d11a0178884de0e4132b3e39394de04ad\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Cities - API de Consulta CNPJ\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Aggregated data for a municipality\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cnpj-api.mintlify.app/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Cities\u0026amp;description=Aggregated+data+for+a+municipality\u0026amp;theme=accaadc76b836dba5050a988\u0026amp;signature=0a79aa2366b43cc1e8ad76c80ec62d5d11a0178884de0e4132b3e39394de04ad\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cnpj-api/PQ0MwLfTTQm0U72F/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"API de Consulta CNPJ\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1A4FFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cnpj-api.com/en/endpoint-cidades\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/endpoint-cidades.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.cnpj-api.com/en/endpoint-cidades\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.cnpj-api.com/pt/endpoint-cidades\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.cnpj-api.com/pt/endpoint-cidades\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cnpj-api.com/#organization\",\"name\":\"API de Consulta CNPJ\",\"url\":\"https://docs.cnpj-api.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cnpj-api/SuVyblYsrDDcR_Yz/logo/light.svg?fit=max\u0026auto=format\u0026n=SuVyblYsrDDcR_Yz\u0026q=85\u0026s=e52726879bfa54474b08baa745686ce8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cnpj-api.com#website\",\"name\":\"API de Consulta CNPJ\",\"url\":\"https://docs.cnpj-api.com\",\"publisher\":{\"@id\":\"https://docs.cnpj-api.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cnpj-api.com/en/endpoint-cidades#webpage\",\"url\":\"https://docs.cnpj-api.com/en/endpoint-cidades\",\"name\":\"Cities\",\"description\":\"Aggregated data for a municipality\",\"dateModified\":\"2026-09-19T04:44:18.513Z\",\"isPartOf\":{\"@id\":\"https://docs.cnpj-api.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cnpj-api.com/en/endpoint-cidades#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cnpj-api.com/en/endpoint-cidades#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.cnpj-api.com/en/endpoint-cnpj\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cities\",\"item\":\"https://docs.cnpj-api.com/en/endpoint-cidades\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.cnpj-api.com/en/endpoint-cidades#apireference\",\"headline\":\"Cities\",\"name\":\"Cities\",\"description\":\"Aggregated data for a municipality\",\"url\":\"https://docs.cnpj-api.com/en/endpoint-cidades\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cnpj-api.com/en/endpoint-cidades#webpage\"},\"dateModified\":\"2026-09-19T04:44:18.513Z\",\"publisher\":{\"@id\":\"https://docs.cnpj-api.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cnpj-api.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"API de Consulta CNPJ\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"API de Consulta CNPJ","nav":{"global":null,"languages":[{"language":"pt-BR","default":true,"pages":[{"title":"pt-BR","href":"/pt/endpoint-cidades"}]},{"language":"en","groups":[{"group":"Introduction","pages":[{"title":"Introduction","href":"/en/introducao"},{"title":"Quick Start","href":"/en/inicio-rapido"}]},{"group":"Authentication","pages":[{"title":"Authentication","href":"/en/autenticacao"},{"title":"Create Account","href":"/en/criar-conta"},{"title":"Rate Limits","href":"/en/limites-de-uso"}]},{"group":"Endpoints","pages":[{"title":"CNPJ Lookup","api":"GET /v1/cnpj/{cnpj}","href":"/en/endpoint-cnpj"},{"title":"Bulk CNPJ Lookup","api":"POST /v1/bulk-cnpj","href":"/en/endpoint-bulk-cnpj"},{"title":"Logos \u0026 Websites","api":"GET /v1/logos/{cnpj}","href":"/en/endpoint-logos"},{"title":"Simples Nacional","api":"GET /v1/simples/{cnpj}","description":"Simples Nacional tax regime and MEI enrollment status","href":"/en/endpoint-simples"},{"title":"Cities","api":"GET /v1/cidades/{id}","href":"/en/endpoint-cidades"},{"title":"Usage and Limits","api":"GET /v1/usage","description":"Current plan and live rate-limit usage for the authenticated token","href":"/en/endpoint-uso-e-limites"}]},{"group":"Skill CNPJ","pages":[{"title":"Skill CNPJ","href":"/en/skill-cnpj"},{"title":"Install on Claude manually","href":"/en/skill-cnpj-claude-manual"}]},{"group":"Migration","pages":[{"title":"Migrate from ReceitaWS","href":"/en/migrar-receitaws"},{"title":"Migrate from CNPJa","href":"/en/migrar-cnpja"}]},{"group":"Support","pages":[{"title":"Support","href":"/en/suporte"}]}]}]},"basePath":"","title":"Cities - API de Consulta CNPJ","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js"]}