Skip to main content

Definição

This document describes the operation of the Asynchronous API, its purpose, the call parameters, and their respective returns. The content of this documentation and the specifications of the Asynchronous API are subject to change without prior notice.

Query

The call to the Asynchronous API enables queries to be made without the need to await the complete conclusion of the search for information from the official source. This allows the integrated application to continue its operations without waiting for the full processing result. Its development anticipates that the initial response to the API call will provide the most updated version of the data available in our databases. Subsequently, asynchronously, these data will be compared with the official source from which they originate. In the event that discrepancies are identified, an alert email will be sent to notify about the most updated return, as well as the inconsistent information found.

The accuracy of the information and the rate of inconsistency detection will depend on each accessed data source.

Request

For the request process, the access token will be required. If you don't have yours yet, please contact Netrin support, along with the document number for which you wish to perform the search.

Return Messages

Status Code

Status CodeMessageActions
200Sucesso-
206Retorno ParcialEvaluate internal code (table below)
408TimeoutEvaluate internal code (table below)
401Token Inválido / ExpiradoAnalyze token
403Usuário não possui permissão para acessar este recursoContact Support
404Parâmetros inválidosReview the name of the service(s)
502Falha na chamadaContact Support

Internal Codes

Internal CodesDescriptionDefinitions
601Lentidão ao gerar captchaContact Support in case of recurrence
602Lentidão do siteEvaluate service consumption
603Site fora do arWait for site return
604Em manutençãoContact Support for return deadline
605Parâmetros faltantes para a fonteContact Support in case of doubt
606Não encontradoData does not exist in the original source database
607Menor de idadeThe consulted document belongs to a minor
608Não foi possível emitirThe site did not allow to issue the proof
609Parâmetro(s) inválido(s)Verify the values of the provided parameters
610Limite de tentativas excedidoThe daily attempt limit has been exceeded
611Franquia excedidaThe contracted amount has been exceeded
612Franquia inativaThe franchise has been deactivated
613Franquia expiradaThe franchise has not been renewed
614PEP / VIPThe document belongs to a prominent person, and the data cannot be disclosed
615Documento bloqueado na base de dados de origemThe document is blocked, and it will not be possible to consult it
616Documento inativoThe document is inactive, and it will not be possible to consult it
617Informações Pessoais identificáveis mínimas (PII)Minimal Personally Identifiable Information (PII)
618Pessoa falecidaThe document belongs to a deceased holder
619Não possui histórico de créditoNo credit history to present
620Documento InválidoThe consulted document is invalid
650Problemas na buscaContact Support in case of recurrence