BGC Legal (Criminal Records & Trials)
The BGC Legal process performs an exhaustive search and analysis of criminal records, court bulletins, and current or historical judgment listings associated with the candidate within their jurisdiction.
Registration Structure (Input Payloads)
To initialize this process, two methods are supported depending on your query needs. The input payloads below use generic placeholders:
- Method A: Registration by CURP
- Method B: Registration by name
This method runs the query using the national identifier (such as CURP in Mexico or the corresponding national ID).
{
"byNationalId": true,
"nationalId": "CURP",
"clientId": "CL_12345",
"package": "PKG_LEGAL_01",
"taxClassification": "PF"
}
This method runs the search using the candidate's full demographic data.
{
"byNationalId": false,
"clientId": "CL_12345",
"name": "JOHN",
"lastName": "DOE",
"secondLastName": "SMITH",
"birthDate": "1990-01-01",
"sex": "M",
"state": "DF",
"package": "PKG_LEGAL_01",
"taxClassification": "PF"
}
Response Data Architecture
The process exposes findings in two key nodes of its data architecture, differentiating the information according to the level of detail the client requires:
selectedEvidence(Summary view): The block returned by default in the response. It contains an array of critical judgments grouped by matter (PENAL,CIVIL,FAMILIAR,ADMINISTRATIVA) that the analyst team preselected to determine the candidate's risk status.jugmentsFound(Extended view /?detail=true): This object is only included in the response if the client explicitly enables the detail query parameter (?detail=true). It shows the full historical dump of all sources and bulletins found, without prior filtering.
Process Response Examples
Approved Case
In this scenario, the candidate has no records or findings that compromise their risk status. The result field is reported as "Aprobado" and the selectedEvidence array is returned empty.
{
"isSuccess": true,
"statusCode": 200,
"message": "Success",
"data": {
"processId": "kHQ71upc7krtkM21har2",
"processName": "BGC Legal",
"detail": {},
"status": "Finalizado",
"result": "Aprobado",
"start": 1782342728787,
"end": 1782342746937,
"time": "00:00:18",
"selectedEvidence": []
}
}
Not Approved Case (With Findings)
In this scenario, the identified and preselected judgments are shown, organized by legal matter. The record sub-objects are generated dynamically according to the legal matter of the litigation.
{
"isSuccess": true,
"statusCode": 200,
"message": "Success",
"data": {
"processId": "kHQ71upc7krtkM21har2",
"processName": "BGC Legal",
"detail": {},
"status": "Finalizado",
"result": "Aprobado",
"start": 1782342728787,
"end": 1782342746937,
"time": "00:00:18",
"selectedEvidence": [
{
// Sub-objects are generated dynamically according to the legal matter of the litigation (CIVIL, PENAL, FAMILIAR, ADMINISTRATIVA)
"matter": "CIVIL",
"records": [
{
"caseNumber": "987/2023",
"court": "Juzgado Décimo de lo Civil, CDMX",
"applicant": "BANCO DEL NORTE",
"defendant": "JOHN DOE",
"synthesis": "JOHN DOE es demandado en un juicio ejecutivo mercantil por adeudo de TDC.",
"date": "2023-05-15"
}
]
},
{
// Sub-objects are generated dynamically according to the legal matter of the litigation (CIVIL, PENAL, FAMILIAR, ADMINISTRATIVA)
"matter": "PENAL",
"records": [
{
"caseNumber": "122/2022",
"court": "Juzgado de Control Penal, Monterrey",
"applicant": "FISCALÍA GENERAL",
"defendant": "JOHN DOE",
"synthesis": "JOHN DOE es imputado por el presunto delito de fraude genérico.",
"date": "2022-10-09"
}
]
}
],
// This block only appears if the ?detail=true parameter is added to the request
"jugmentsFound": [
{
"source": "Boletín Judicial CDMX",
"date": "2023-05-15",
"recordDetails": "Juicio: Ejecutivo Mercantil, Expediente: 987/2023, Actor: BANCO DEL NORTE, Demandado: JOHN DOE"
},
{
"source": "Boletín Judicial Nuevo León",
"date": "2022-10-09",
"recordDetails": "Expediente: 122/2022, Causa Penal, Imputado: JOHN DOE"
},
{
"source": "Buscador de Litigios Históricos",
"date": "2018-03-22",
"recordDetails": "Expediente: 44/2018, Materia: Familiar, Actor: MARIA DOE, Demandado: JOHN DOE, Asunto: Divorcio Incausado"
}
]
}
}