/data/scrRetrieve SCR by document
Retrieves the SCR (Bacen's Sistema de Informações de Crédito) for a CPF or CNPJ, without a connected item.
The response is Bacen's own payload, forwarded unchanged — the same schema as GET /items/{id}/scr.
Available only by agreement: it requires the SCR_NO_CONSENT feature on your subscription, which is never part of a standard plan. Talk to us if you want it enabled.
Base dates are months, not days. When from and to are omitted the last 4 available base dates are consulted, ending 2 months back from today.
Non-production applications. Applications whose subscription is not in production receive a synthetic, deterministic payload with exactly this schema; no consultation reaches Bacen and nothing is billed. Windows longer than 60 base dates are rejected there with SCR_INVALID_REQUEST.
Request Body
requiredCPF or CNPJ to consult. Punctuation is ignored; alphanumeric CNPJs are accepted.
First base date to consult, as YYYYMM. Defaults to 3 base dates before to
Last base date to consult, as YYYYMM. Defaults to 2 months before the current one
Example
{
"document": "22.222.222/0001-22",
"from": "202604",
"to": "202607"
}Responses
Resposta do SCR do Bacen, encaminhada exatamente como o Banco Central a retorna — nomes de campos, códigos e tudo mais. Nada é renomeado ou normalizado, então um valor lido aqui é o mesmo valor que uma instituição lê na fonte.
As datas base consultadas
O documento consultado: o CPF de um indivíduo ou a raiz do CNPJ de 8 dígitos de uma empresa
Tipo de cliente: "1" para pessoa física, "2" para pessoa jurídica
Uma entrada por data base consultada. Uma data base sem dados para o cliente ainda é listada, sem operações.
Uma data base consultada e o que o SCR possui para o cliente nela
Mensagens de validação geradas pelo Bacen para esta solicitação
Example response
{
"dtbConsult": "202604 a 202607",
"cdCli": "string",
"tpCli": "1",
"lsDtb": [
{
"dtb": 202607,
"msg": "string",
"docProc": "string",
"volProc": "string",
"qtdIfs": 0,
"qtdCongFinc": 0,
"dtbIniRel": "string",
"coobAss": 0,
"coobRec": 0,
"lsOp": [
{
"mod": "string",
"oriRec": "string",
"indx": "string",
"varCamb": "string",
"subJDisc": "string",
"resVenc": {
"v20": 0,
"v40": 0,
"v60": 0,
"v80": 0,
"v110": 0,
"v120": 0,
"v130": 0,
"v140": 0,
"v150": 0,
"v160": 0,
"v165": 0,
"v170": 0,
"v175": 0,
"v180": 0,
"v190": 0,
"v199": 0,
"v205": 0,
"v210": 0,
"v220": 0,
"v230": 0,
"v240": 0,
"v245": 0,
"v250": 0,
"v255": 0,
"v260": 0,
"v270": 0,
"v280": 0,
"v290": 0,
"v310": 0,
"v320": 0
},
"lsGar": [
{
"tp": "string",
"qtd": 0
}
],
"lsInfAd": [
{
"tp": "string",
"cd": "string",
"qtd": 0
}
]
}
]
}
],
"listaDeMensagensDeValidacao": [
{
"codigo": "string",
"mensagem": "string"
}
]
}curl -X POST \
'https://api.pluggy.ai/data/scr' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY' \
-d '{ "document": "22.222.222/0001-22", "from": "202604", "to": "202607" }'{
"dtbConsult": "202604 a 202607",
"cdCli": "string",
"tpCli": "1",
"lsDtb": [
{
"dtb": 202607,
"msg": "string",
"docProc": "string",
"volProc": "string",
"qtdIfs": 0,
"qtdCongFinc": 0,
"dtbIniRel": "string",
"coobAss": 0,
"coobRec": 0,
"lsOp": [
{
"mod": "string",
"oriRec": "string",
"indx": "string",
"varCamb": "string",
"subJDisc": "string",
"resVenc": {
"v20": 0,
"v40": 0,
"v60": 0,
"v80": 0,
"v110": 0,
"v120": 0,
"v130": 0,
"v140": 0,
"v150": 0,
"v160": 0,
"v165": 0,
"v170": 0,
"v175": 0,
"v180": 0,
"v190": 0,
"v199": 0,
"v205": 0,
"v210": 0,
"v220": 0,
"v230": 0,
"v240": 0,
"v245": 0,
"v250": 0,
"v255": 0,
"v260": 0,
"v270": 0,
"v280": 0,
"v290": 0,
"v310": 0,
"v320": 0
},
"lsGar": [
{
"tp": "string",
"qtd": 0
}
],
"lsInfAd": [
{
"tp": "string",
"cd": "string",
"qtd": 0
}
]
}
]
}
],
"listaDeMensagensDeValidacao": [
{
"codigo": "string",
"mensagem": "string"
}
]
}