Peru · pe_osce_valorizaciones_contrato_id
OpenAPI

Lookup osce · valorizaciones by CONTRATO_ID

GET https://api.latinfo.dev/pe/osce/valorizaciones/contrato_id/{contrato_id}

One valuation period for a contract; the identifier is not a company RUC. Coverage: Published construction valuations grouped by OSCE contract identifier. Lookup by contrato_id as a string, preserving leading zeros. Accepted syntax and normalization are defined by the contract below. Amounts use decimal commas and the currency in tipo_moneda. Accumulated amounts must not be summed across periods. Returns all records as an array. Import time is not observation time; inspect freshness headers. Add limit (1–500) and offset to retrieve an explicit page; without them the complete original array is returned. X-Total-Count gives the exact row count; follow Link rel=next to retrieve all pages.

Source contract

Publisher
OSCE / OECE, Peru
Coverage
Published construction valuations grouped by OSCE contract identifier.
Record meaning
One valuation period for a contract; the identifier is not a company RUC.
Identifier
Lookup by contrato_id as a string, preserving leading zeros. Accepted syntax and normalization are defined by the contract below.
Accepted pattern
^\d{10}$
Normalization
padStart:10:0
Cardinality
many
License
Reuse permission has not been verified. Public access is not a reuse license.

Known limitations

  • Amounts use decimal commas and the currency in tipo_moneda. Accumulated amounts must not be summed across periods.

Machine-readable source contract · Source documentation

Authentication required. REST requests use a Latinfo API key. The interactive console builds the authorization header and does not store the key.

Parameters

contrato_idstringpathrequired

CONTRATO_ID in the source's normalized format. Keep identifiers as strings; preserve leading zeros.

Example: 2261629
limitintegerquery

Optional page size. Supplying limit or offset enables explicit pagination; default page size is 100.

offsetintegerquery

Row offset, default 0. Keep the same source generation while collecting pages.

generationstringquery

Opaque source-generation guard, automatically included in the next-page Link. A changed generation returns 409; restart retrieval.

Request example

curl https://api.latinfo.dev/pe/osce/valorizaciones/contrato_id/2261629 \
  -H "Authorization: Bearer $LATINFO_API_KEY"

Responses

200Published source records. Missing data is not a clearance or a negative finding.

Response headers

X-Latinfo-Imported-At

Import time, not the date of the government observation.

X-Source-Updated-At

Publisher update time, when known.

X-Latest-Observation-At

Latest date in returned records, when known.

X-Freshness-Status

string

CURRENT · DELAYED · STALE · UNKNOWN
X-Credits-Cost

Actual credits charged for this request.

X-Source-Generation

Opaque immutable source generation. Follow the guarded next-page Link when collecting a history.

X-Total-Count

Exact row count for this identifier when pagination is requested.

X-Page-Offset

integer

X-Page-Limit

integer

Link

Next page URL, rel=next. Absent at the end.

Content-Type: application/json

Response fields

[].contrato_id string required

Lookup by contrato_id as a string, preserving leading zeros. Accepted syntax and normalization are defined by the contract below.

[].expediente_id string required

Parent procurement file identifier.

[].valorizacion_id string required

Valuation identifier.

[].codigo_valorizacion string required

Formatted valuation code.

[].tipo_moneda string required

Published currency label, including Soles and USD.

[].sistema_contratacion string required

Published contracting system, including lump sum and unit prices.

[].estado string required

Publisher status; interpret in the context of this dataset.

[].periodo string required

Published duration or coverage-period label; interpret in this dataset.

[].avance_fisico_pct string required

Accumulated executed physical progress; decimal commas are retained. Unit: percent.

percent

[].monto_valorizacion string required

Valuation amount for this period; decimal commas are retained. Unit: currency from tipo_moneda.

currency from tipo_moneda

[].monto_a_pagar string required

Net payable amount after deductions; decimal commas are retained. Unit: currency from tipo_moneda.

currency from tipo_moneda

[].monto_acumulado string required

Cumulative valuation amount through this period; do not sum across periods. Unit: currency from tipo_moneda.

currency from tipo_moneda

[].fecha_registro string required

Published fecha registro date. Format: YYYYMMDD.

Response schema
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "contrato_id": {
        "type": "string",
        "description": "Lookup by contrato_id as a string, preserving leading zeros. Accepted syntax and normalization are defined by the contract below."
      },
      "expediente_id": {
        "type": "string",
        "description": "Parent procurement file identifier.",
        "x-latinfo-meaning": "identifier"
      },
      "valorizacion_id": {
        "type": "string",
        "description": "Valuation identifier.",
        "x-latinfo-meaning": "identifier"
      },
      "codigo_valorizacion": {
        "type": "string",
        "description": "Formatted valuation code.",
        "x-latinfo-meaning": "identifier"
      },
      "tipo_moneda": {
        "type": "string",
        "description": "Published currency label, including Soles and USD.",
        "x-latinfo-meaning": "text"
      },
      "sistema_contratacion": {
        "type": "string",
        "description": "Published contracting system, including lump sum and unit prices.",
        "x-latinfo-meaning": "text"
      },
      "estado": {
        "type": "string",
        "description": "Publisher status; interpret in the context of this dataset.",
        "x-latinfo-meaning": "text"
      },
      "periodo": {
        "type": "string",
        "description": "Published duration or coverage-period label; interpret in this dataset.",
        "x-latinfo-meaning": "text"
      },
      "avance_fisico_pct": {
        "type": "string",
        "description": "Accumulated executed physical progress; decimal commas are retained. Unit: percent.",
        "x-latinfo-meaning": "percentage",
        "x-latinfo-unit": "percent"
      },
      "monto_valorizacion": {
        "type": "string",
        "description": "Valuation amount for this period; decimal commas are retained. Unit: currency from tipo_moneda.",
        "x-latinfo-meaning": "amount",
        "x-latinfo-unit": "currency from tipo_moneda"
      },
      "monto_a_pagar": {
        "type": "string",
        "description": "Net payable amount after deductions; decimal commas are retained. Unit: currency from tipo_moneda.",
        "x-latinfo-meaning": "amount",
        "x-latinfo-unit": "currency from tipo_moneda"
      },
      "monto_acumulado": {
        "type": "string",
        "description": "Cumulative valuation amount through this period; do not sum across periods. Unit: currency from tipo_moneda.",
        "x-latinfo-meaning": "amount",
        "x-latinfo-unit": "currency from tipo_moneda"
      },
      "fecha_registro": {
        "type": "string",
        "description": "Published fecha registro date. Format: YYYYMMDD.",
        "x-latinfo-meaning": "date"
      }
    },
    "required": [
      "contrato_id",
      "expediente_id",
      "valorizacion_id",
      "codigo_valorizacion",
      "tipo_moneda",
      "sistema_contratacion",
      "estado",
      "periodo",
      "avance_fisico_pct",
      "monto_valorizacion",
      "monto_a_pagar",
      "monto_acumulado",
      "fecha_registro"
    ],
    "additionalProperties": false
  }
}
400Invalid identifier or query. Correct the input before retrying.
No response body documented.
401Missing or invalid API key. Authenticate before retrying.
No response body documented.
404No published record, or identifier outside the legal-entity scope. Not proof that the company does not exist.
No response body documented.
409Source generation changed during paginated retrieval. Restart from offset 0.
No response body documented.
429Rate or credit limit exceeded. Inspect the response and rate-limit headers before retrying.
No response body documented.
503Source unavailable. Report unavailable, not an empty result.
No response body documented.
Example JSON

Illustrative schema example. This is not a live response.

[
  {
    "contrato_id": "string",
    "expediente_id": "string",
    "valorizacion_id": "string",
    "codigo_valorizacion": "string",
    "tipo_moneda": "string",
    "sistema_contratacion": "string",
    "estado": "string",
    "periodo": "string",
    "avance_fisico_pct": "string",
    "monto_valorizacion": "string",
    "monto_a_pagar": "string",
    "monto_acumulado": "string",
    "fecha_registro": "string"
  }
]

Provenance and limitations

Coverage varies by country and public source. A missing field is not evidence that the underlying fact does not exist. Public registries may be delayed or contain source errors; inspect the returned evidence and source date before relying on a result.