Consultar uma contratação por OCID
https://api.latinfo.dev/pe/oece/tenders/ocid/{ocid}
Retorna um registro compiledRelease do OCDS do OECE/SEACE por identificador OCID.
Contrato da fonte
- Publicador
- OECE, Peru
- Cobertura
- Processos OCDS de contratação publicados na cópia oficial importada.
- Significado do registro
- Processo OCDS completo por OCID; os sete campos do índice são uma projeção de busca, não o esquema da resposta HTTP.
- Identificador
- Consulte por ocid como texto, preservando zeros iniciais. O contrato abaixo define a sintaxe e normalização aceitas.
- Padrão aceito
^ocds-dgv273-seacev[23]-- Quantidade de registros
one- Licença
- A permissão de reutilização não foi verificada. Acesso público não equivale a uma licença de reutilização.
Limitações conhecidas
- A API remove as partes que são pessoas físicas; os documentos permanecem como links externos do publicador.
- Use o esquema de resposta OCDS do OpenAPI. Os valores de processo ou orçamento não são automaticamente valores de contratos do fornecedor.
- amount no índice de busca não tem moeda declarada independentemente. Os objetos amount/currency do OCDS completo são a referência autorizada.
Parâmetros
ocidstringCaminhoobrigatórioIdentificador de contratação aberta (OCID)
Example: ocds-dgv273-seacev3-2026-273-3
Exemplo de requisição
curl https://api.latinfo.dev/pe/oece/tenders/ocid/ocds-dgv273-seacev3-2026-273-3 \
-H "Authorization: Bearer $LATINFO_API_KEY"
Respostas
200Registro compiledRelease do OCDS 1.1
application/jsonCampos da resposta
ocid stringIdentificador de contratação aberta (OCID)
date stringData de compilação
date-time
url stringLink para o portal oficial do OECE
uri
buyer objectCampos internos
buyer.id stringbuyer.name stringtender objectCampos internos
tender.title stringTítulo curto da licitação
tender.description stringDescrição completa da licitação
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 item do OECE/SEACE, preservado conforme publicado. É um vocabulário aberto da fonte, não o estado geral do contrato nem uma enumeração fechada.
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 resposta
{
"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
401Chave de api ausente ou inválida
404OCID não encontrado
429Limite de requisições excedido
503Índice de contratação indisponível
Exemplo JSON
Exemplo ilustrativo do esquema. Não é uma resposta ao 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"
}
}
}
}Procedência e limitações
A cobertura varia por país e fonte pública. Um campo ausente não comprova que o fato não exista. Os registros públicos podem ter atrasos ou erros; revise as evidências e a data da fonte antes de usar um resultado.