/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
Bacen's SCR response, forwarded exactly as the Banco Central returns it — field names, codes and all. Nothing is renamed or normalised, so a value read here is the same value an institution reads at the source.
The base dates consulted
The consulted document: the CPF for an individual, or the 8-digit CNPJ root for a company
Type of client: "1" for an individual, "2" for a legal entity
One entry per consulted base date. A base date with no data for the client is still listed, with no operations
One consulted base date, and what the SCR holds for the client in it
Validation messages raised by Bacen for this request
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"
}
]
}