The Venezuelan bolívar (VES) exchange rate shifts daily and comes from two sources: the Banco Central de Venezuela (BCV) official rate (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/scoria02/marbes2021_backend/llms.txt
Use this file to discover all available pages before exploring further.
oficial) and the parallel market rate (paralelo). Every financial operation in the Marbes platform that involves VES↔USD or VES↔EUR conversion uses a rate from this historical register. The /api/bancos/tasas routes provide read access to the historical series, a shortcut to the most recent rate, and write operations for both manual entry and automated synchronization from an external rate provider.
GET /api/bancos/tasas/historico
Returns a paginated and optionally filtered list of historical exchange rate records. Authentication: RequiredQuery parameters
Filter by rate source. Allowed values:
oficial (official BCV rate), paralelo (parallel market rate). Omit to return records from all sources.ISO 8601 date string (e.g.,
2024-01-01). Returns only records registered on or after this date.ISO 8601 date string (e.g.,
2024-12-31). Returns only records registered on or before this date.Maximum number of records to return. Omit for the server default.
Response
true when the request succeeds.Array of historical rate records, ordered by
fecha_registro descending.GET /api/bancos/tasas/ultima
Returns the single most recently recorded exchange rate. Use this endpoint when you need the current operative rate for a transaction or display. Authentication: RequiredQuery parameters
Filter by source to get the latest rate for that specific source. Allowed values:
oficial, paralelo. Omit to return the most recent record regardless of source.Response
true when the request succeeds.The most recent rate record.
POST /api/bancos/tasas/sincronizar
Fetches current exchange rates from an external rate provider and persists them to the historical register. This endpoint is designed for automated use from schedulers or CI pipelines. Authentication: Not requiredResponse
true when synchronization completes.Human-readable summary of the synchronization result.
Array of result objects describing each rate that was synchronized.
POST /api/bancos/tasas/historico
Manually inserts a historical exchange rate record. Use this endpoint when the automated synchronization cannot reach the external source, or when correcting a past rate entry. Authentication: RequiredRequest body
Rate source. Allowed values:
oficial, paralelo.Human-readable label for the rate entry (e.g.,
"BCV Oficial", "Paralelo").VES per 1 USD rate. Must be a positive number greater than
0.VES per 1 EUR rate. Optional.
The date this rate was published or became effective. ISO 8601 date format:
YYYY-MM-DD.Response
true when the record is created.The newly created historical rate record.