# cpf

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v2/cpf/:
    get:
      summary: cpf
      deprecated: false
      description: |+

        API da consulta completa do CPF 

        ** Deve possuir acesso API: Sim (Completa)  **

        1. Inclui relacionamentos e dados completos.
        2. Pode ser feita via consulta única de CPF


      tags:
        - API_COMPLETA
      parameters:
        - name: x-api-key
          in: header
          description: Chave da API
          required: false
          example: '{{x-api-key}}'
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                cpf:
                  type: string
                  description: Número do CPF
              required:
                - cpf
              x-apidog-orders:
                - cpf
            example:
              cpf: '17701100890'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  pj:
                    type: array
                    items:
                      type: object
                      properties:
                        cnpj:
                          type: string
                        nome:
                          type: string
                        fantasia:
                          type: string
                        cidade:
                          type: string
                        abertura:
                          type: string
                        uf:
                          type: string
                        ddd:
                          type: string
                        tel1:
                          type: string
                        tel2:
                          type: string
                        tel3:
                          type: string
                        website:
                          type: string
                        setor:
                          type: string
                        atividade:
                          type: string
                        cnae_primario:
                          type: string
                        cnae_secundario:
                          type: string
                        nj:
                          type: string
                        endereco:
                          type: string
                        numero:
                          type: string
                        compl:
                          type: string
                        cep:
                          type: string
                        bairro:
                          type: string
                        situacao:
                          type: string
                        mtz:
                          type: string
                        faturamento:
                          type: string
                        ie:
                          type: string
                        funcionarios:
                          type: string
                        dominio:
                          type: string
                        socios:
                          type: array
                          items:
                            type: object
                            properties:
                              cpf:
                                type: string
                              cnpj:
                                type: string
                              nm:
                                type: string
                              cargo:
                                type: string
                              entrada:
                                type: string
                              part:
                                type: string
                              cel1:
                                type: string
                              cel2:
                                type: string
                            x-apidog-orders:
                              - cpf
                              - cnpj
                              - nm
                              - cargo
                              - entrada
                              - part
                              - cel1
                              - cel2
                        contatos:
                          type: array
                          items:
                            type: string
                      x-apidog-orders:
                        - cnpj
                        - nome
                        - fantasia
                        - cidade
                        - abertura
                        - uf
                        - ddd
                        - tel1
                        - tel2
                        - tel3
                        - website
                        - setor
                        - atividade
                        - cnae_primario
                        - cnae_secundario
                        - nj
                        - endereco
                        - numero
                        - compl
                        - cep
                        - bairro
                        - situacao
                        - mtz
                        - faturamento
                        - ie
                        - funcionarios
                        - dominio
                        - socios
                        - contatos
                  status:
                    type: string
                  msgRetorno:
                    type: string
                  response:
                    type: string
                  contagem:
                    type: integer
                  code:
                    type: integer
                  credits:
                    type: integer
                  01JN3PTTYSH2YZB813JEN3F782:
                    type: string
                required:
                  - pj
                  - status
                  - msgRetorno
                  - response
                  - contagem
                  - code
                  - credits
                  - 01JN3PTTYSH2YZB813JEN3F782
                x-apidog-orders:
                  - pj
                  - status
                  - msgRetorno
                  - response
                  - contagem
                  - code
                  - credits
                  - 01JN3PTTYSH2YZB813JEN3F782
              examples:
                '1':
                  summary: Success
                  value:
                    cpf: 177**************
                    nome: ROGERIO MIRANDA ZANON
                    data_nascimento: '**************'
                    idade: '**************'
                    sexo: M
                    obito: NAO
                    nome_mae: HELENA MIRANDA ZANON
                    escolaridade: MEDIO COMPLETO
                    profissao: >-
                      EMPRESARIO NO SERVICO EDIÇÃO E EDIÇÃO INTEGRADA À
                      IMPRESSÃO
                    funcionario_publico: NÃO
                    renda: '**************'
                    faixa_de_renda: '**************'
                    classe_social: B
                    linkedin: '**************'
                    score: '**************'
                    pis: '**************'
                    cns: '**************'
                    crm: ''
                    status: OK
                    msgRetorno: Consulta PF CPF Completa
                    response: Liberado
                    code: 1
                    credits: 99932
                    enderecos:
                      - endereco: '**************'
                        nro: '**************'
                        compl: ''
                        bairro: JARDIM DAS FLORES
                        cep: '**************'
                        cidade: OSASCO
                        uf: SP
                        latitude: '-23.5327'
                        longitude: '-46.79253'
                        fontes: 3
                        data_cadastro: 09/10/2009
                    celulares:
                      - cel: '11983592143'
                        fontes: 3
                        data_cadastro: 29/05/2008
                        data_atualizacao: 06/08/2021
                        WhatsApp: SIM
                        data_WhatsApp: 09/09/2024
                    emails:
                      - email: '**************'
                        fontes: 1
                        data_cadastro: 02/06/2016
                    empresas:
                      - cnpj: '44724205000195'
                        empresa: ROGERIO MIRANDA ZANON 17701100890
                        cargo: >-
                          TITULAR PESSOA FISICA RESIDENTE OU DOMICILIADO NO
                          BRASIL
                        vinculo: SOCIO
                        data_entrada: 03/01/2022
                        linkedin: ''
                        socios: []
                      - cnpj: '65698235000144'
                        empresa: VIP-SYSTEMS TECNOLOGIA & INOVACAO LTDA
                        cbo: '142510'
                        cargo: GERENTE DE DESENVOLVIMENTO DE SISTEMAS
                        vinculo: COLABORADOR
                        data_entrada: 14/10/1994
                        linkedin: ''
                        socios:
                          - cargo: 22-SOCIO
                            data_entrada: 20/09/2024
                            part: '50'
                            nm: REGIANE RELVA ROMANO
                            email: '**************'
                            email2: '**************'
                          - cargo: 49-SOCIO-ADMINISTRADOR
                            data_entrada: 06/07/1993
                            part: '50'
                            nm: FABIAN ROMANO
                            email: '**************'
                            email2: '**************'
                '2':
                  summary: Exception
                  value:
                    total: -2
                    code: 999
                    credits: -2
                    response: Erro na requisição
          headers: {}
          x-apidog-name: Success
      security:
        - apikey-header-x-api-key: []
      x-apidog-folder: API_COMPLETA
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/826671/apis/api-15474909-run
components:
  schemas: {}
  securitySchemes:
    apikey-header-x-api-key:
      type: apiKey
      in: header
      name: x-api-key
servers: []
security:
  - apikey-header-x-api-key: []

```
