Consultar una contratación por OCID
https://api.latinfo.dev/pe/oece/tenders/ocid/{ocid}
Devuelve un registro compiledRelease de OCDS de OECE/SEACE por identificador OCID.
Contrato de la fuente
- Publicador
- OECE, Perú
- Cobertura
- Procesos OCDS de contratación publicados en la copia oficial importada.
- Qué representa un registro
- Proceso OCDS completo por OCID; los siete campos del índice son una proyección para búsqueda, no el esquema de respuesta HTTP.
- Identificador
- Consulta por ocid como texto, conservando ceros iniciales. El contrato siguiente define la sintaxis y normalización admitidas.
- Patrón admitido
^ocds-dgv273-seacev[23]-- Cantidad de registros
one- Licencia
- No se ha verificado el permiso de reutilización. El acceso público no equivale a una licencia de reutilización.
Limitaciones conocidas
- La API elimina las partes que son personas naturales; los documentos siguen como enlaces externos del publicador.
- Usa el esquema de respuesta OCDS de OpenAPI. Los importes de proceso o presupuesto no son automáticamente valores de contratos del proveedor.
- amount en el índice de búsqueda no tiene moneda declarada de forma independiente. Los objetos amount/currency del OCDS completo son la referencia autorizada.
Contrato de la fuente para agentes · Documentación de la fuente
Parámetros
ocidstringRutaobligatorioIdentificador de contratación abierta (OCID)
Example: ocds-dgv273-seacev3-2026-273-3
Ejemplo de solicitud
curl https://api.latinfo.dev/pe/oece/tenders/ocid/ocds-dgv273-seacev3-2026-273-3 \
-H "Authorization: Bearer $LATINFO_API_KEY"
Respuestas
200Registro compiledRelease de OCDS 1.1
application/jsonCampos de la respuesta
ocid stringIdentificador de contratación abierta (OCID)
date stringFecha de compilación
date-time
url stringEnlace al portal oficial de OECE
uri
buyer objectCampos internos
buyer.id stringbuyer.name stringtender objectCampos internos
tender.title stringTítulo breve de la licitación
tender.description stringDescripción completa de la licitación
tender.datePublished stringdate-time
tender.value objectCampos internos
tender.value.amount numbertender.value.currency stringtender.mainProcurementCategory stringgoods · services · works
tender.procurementMethodDetails stringtender.tenderPeriod objectCampos internos
tender.tenderPeriod.startDate stringdate-time
tender.tenderPeriod.endDate stringdate-time
tender.items arrayCampos internos
tender.items[].description stringtender.items[].statusDetails stringEstado por ítem de OECE/SEACE, conservado tal como se publica. Es un vocabulario abierto de la fuente, no el estado general del contrato ni una enumeración cerrada.
tender.documents arrayCampos internos
tender.documents[].title stringtender.documents[].url stringuri
awards arrayCampos internos
awards[].status stringawards[].value objectCampos internos
awards[].value.amount numberawards[].value.currency stringawards[].suppliers arrayCampos internos
awards[].suppliers[].name stringawards[].suppliers[].id stringcontracts arrayCampos internos
contracts[].status stringcontracts[].value objectCampos internos
contracts[].value.amount numbercontracts[].period objectCampos internos
contracts[].period.startDate stringdate-time
contracts[].period.endDate stringdate-time
planning objectCampos internos
planning.budget objectCampos internos
planning.budget.amount objectCampos internos
planning.budget.amount.amount numberplanning.budget.amount.currency stringEsquema de respuesta
{
"type": "object",
"description": "OCDS 1.1 compiledRelease record with Latinfo-added url field",
"properties": {
"ocid": {
"type": "string",
"description": "Open Contracting ID",
"example": "ocds-dgv273-seacev3-2026-273-3"
},
"date": {
"type": "string",
"format": "date-time",
"description": "Compilation date"
},
"url": {
"type": "string",
"format": "uri",
"description": "Link to official OECE portal",
"example": "https://contratacionesabiertas.oece.gob.pe/proceso/ocds-dgv273-seacev3-2026-273-3"
},
"buyer": {
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "PE-CONSUCODE-273"
},
"name": {
"type": "string",
"example": "MUNICIPALIDAD DISTRITAL DE MORO"
}
}
},
"tender": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Short tender title"
},
"description": {
"type": "string",
"description": "Full tender description"
},
"datePublished": {
"type": "string",
"format": "date-time"
},
"value": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"example": 64815.55
},
"currency": {
"type": "string",
"example": "PEN"
}
}
},
"mainProcurementCategory": {
"type": "string",
"enum": [
"goods",
"services",
"works"
]
},
"procurementMethodDetails": {
"type": "string",
"example": "Concurso Público Abreviado"
},
"tenderPeriod": {
"type": "object",
"properties": {
"startDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
}
}
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"statusDetails": {
"type": "string",
"description": "OECE/SEACE item-level status text, preserved as published. This is an open publisher vocabulary, not an overall contract status or a closed enum.",
"examples": [
"CONVOCADO",
"CONTRATADO",
"DESIERTO",
"NULO",
"CONSENTIDO"
]
}
}
}
},
"documents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"awards": {
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"value": {
"type": "object",
"properties": {
"amount": {
"type": "number"
},
"currency": {
"type": "string"
}
}
},
"suppliers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
}
}
}
}
}
}
},
"contracts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"value": {
"type": "object",
"properties": {
"amount": {
"type": "number"
}
}
},
"period": {
"type": "object",
"properties": {
"startDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
}
}
}
}
}
},
"planning": {
"type": "object",
"properties": {
"budget": {
"type": "object",
"properties": {
"amount": {
"type": "object",
"properties": {
"amount": {
"type": "number"
},
"currency": {
"type": "string"
}
}
}
}
}
}
}
}
}400OCID inválido
401Clave de api ausente o inválida
404OCID no encontrado
429Límite de solicitudes excedido
503Índice de contratación no disponible
Ejemplo JSON
Ejemplo ilustrativo del esquema. No es una respuesta en vivo.
{
"ocid": "ocds-dgv273-seacev3-2026-273-3",
"date": "2026-08-14T00:00:00Z",
"url": "https://contratacionesabiertas.oece.gob.pe/proceso/ocds-dgv273-seacev3-2026-273-3",
"buyer": {
"id": "PE-CONSUCODE-273",
"name": "MUNICIPALIDAD DISTRITAL DE MORO"
},
"tender": {
"title": "string",
"description": "string",
"datePublished": "2026-08-14T00:00:00Z",
"value": {
"amount": 64815.55,
"currency": "PEN"
},
"mainProcurementCategory": "goods",
"procurementMethodDetails": "Concurso Público Abreviado",
"tenderPeriod": {
"startDate": "2026-08-14T00:00:00Z",
"endDate": "2026-08-14T00:00:00Z"
},
"items": [
{
"description": "string",
"statusDetails": "CONVOCADO"
}
],
"documents": [
{
"title": "string",
"url": "https://example.gov/record"
}
]
},
"awards": [
{
"status": "string",
"value": {
"amount": 1,
"currency": "string"
},
"suppliers": [
{
"name": null,
"id": null
}
]
}
],
"contracts": [
{
"status": "string",
"value": {
"amount": 1
},
"period": {
"startDate": "2026-08-14T00:00:00Z",
"endDate": "2026-08-14T00:00:00Z"
}
}
],
"planning": {
"budget": {
"amount": {
"amount": 1,
"currency": "string"
}
}
}
}Procedencia y limitaciones
La cobertura varía por país y fuente pública. Un campo ausente no demuestra que el hecho no exista. Los registros públicos pueden tener retrasos o errores; revisa la evidencia y la fecha de la fuente antes de usar un resultado.