# Estadísticas Cambiarias > La API de Estadísticas Cambiarias proporciona acceso a recursos relacionados con la información de los tipos de cambio publicados por el BCRA. Documentación Oficial --- # Lista de Divisas `GET /estadisticascambiarias/v1.0/Maestros/Divisas` Devuelve una lista de todas las divisas disponibles. ## Servers - `https://api.bcra.gob.ar` ## Responses ### 200 Success Content type: `text/plain` Type: `object` (schema `DivisaResponse`). - `status` (`integer`) - `results` (`array | null`) - `codigo` (`string | null`): Constraints: maxLength: 3, minLength: 0. - `denominacion` (`string | null`): Constraints: maxLength: 50, minLength: 0. Example: ```json { "status": 0, "results": [ { "codigo": "string", "denominacion": "string" } ] } ``` Content type: `application/json` Type: `object` (see schema `DivisaResponse` above). Example: ```json { "status": 0, "results": [ { "codigo": "string", "denominacion": "string" } ] } ``` Content type: `text/json` Type: `object` (see schema `DivisaResponse` above). Example: ```json { "status": 0, "results": [ { "codigo": "string", "denominacion": "string" } ] } ``` ### 500 Server Error Content type: `text/plain` Type: `object` (schema `ErrorResponse`). - `status` (`integer`) - `errorMessages` (`array | null`) Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `application/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `text/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` ## Code samples **cURL** ```bash curl https://api.bcra.gob.ar/estadisticascambiarias/v1.0/Maestros/Divisas ``` ## OpenAPI Machine-readable specification: [https://estadisticas-cambiarias.bcra.apidocs.ar/openapi.json](https://estadisticas-cambiarias.bcra.apidocs.ar/openapi.json) --- # Lista de Cotizaciones `GET /estadisticascambiarias/v1.0/Cotizaciones` Devuelve una lista de todas las cotizaciones disponibles. ## Servers - `https://api.bcra.gob.ar` ## Parameters ### Query parameters | Name | Type | Required | Description | | --- | --- | --- | --- | | `fecha` | `string` | No | | ## Responses ### 200 Success Content type: `text/plain` Type: `object` (schema `CotizacionResponse`). - `status` (`integer`) - `results` (`object`, schema `CotizacionesFecha`) - `fecha` (`string | null`): Example: `2024-07-30`. - `detalle` (`array | null`) - `codigoMoneda` (`string | null`) - `descripcion` (`string | null`) - `tipoPase` (`number`) - `tipoCotizacion` (`number`) Example: ```json { "status": 0, "results": { "fecha": "2024-07-30", "detalle": [ { "codigoMoneda": "string", "descripcion": "string", "tipoPase": 0, "tipoCotizacion": 0 } ] } } ``` Content type: `application/json` Type: `object` (see schema `CotizacionResponse` above). Example: ```json { "status": 0, "results": { "fecha": "2024-07-30", "detalle": [ { "codigoMoneda": "string", "descripcion": "string", "tipoPase": 0, "tipoCotizacion": 0 } ] } } ``` Content type: `text/json` Type: `object` (see schema `CotizacionResponse` above). Example: ```json { "status": 0, "results": { "fecha": "2024-07-30", "detalle": [ { "codigoMoneda": "string", "descripcion": "string", "tipoPase": 0, "tipoCotizacion": 0 } ] } } ``` ### 400 Bad Request Content type: `text/plain` Type: `object` (schema `ErrorResponse`). - `status` (`integer`) - `errorMessages` (`array | null`) Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `application/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `text/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` ### 500 Server Error Content type: `text/plain` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `application/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `text/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` ## Code samples **cURL** ```bash curl https://api.bcra.gob.ar/estadisticascambiarias/v1.0/Cotizaciones ``` ## OpenAPI Machine-readable specification: [https://estadisticas-cambiarias.bcra.apidocs.ar/openapi.json](https://estadisticas-cambiarias.bcra.apidocs.ar/openapi.json) --- # Cotizaciones por Moneda `GET /estadisticascambiarias/v1.0/Cotizaciones/{codMoneda}` Devuelve las cotizaciones de una moneda específica. ## Servers - `https://api.bcra.gob.ar` ## Parameters ### Path parameters | Name | Type | Required | Description | | --- | --- | --- | --- | | `codMoneda` | `string` | Yes | Código de moneda. Possible values: `ARS`, `ATS`, `AUD`, `AWG`, `BOB`, `BRL`, `CAD`, `CHF`, `CLP`, `CNH`, `CNY`, `COP`, `CZK`, `DEM`, `DKK`, `ESP`, `EUR`, `GBP`, `HKD`, `ILS`, `INR`, `ITL`, `JPY`, `MXP`, `NIO`, `NIO`, `NOK`, `NZD`, `PEN`, `PYG`, `REF`, `RSD`, `RUB`, `SEK`, `SGD`, `TRY`, `USD`, `UYU`, `VEB`, `VND`, `XAG`, `XAU`, `XDR`, `ZAR`. Example: `USD`. | ### Query parameters | Name | Type | Required | Description | | --- | --- | --- | --- | | `fechaDesde` | `string` | No | Example: `2024-01-01`. | | `fechaHasta` | `string` | No | Example: `2025-01-01`. | | `limit` | `integer` | No | | | `offset` | `integer` | No | | ## Responses ### 200 Success Content type: `text/plain` Type: `object` (schema `CotizacionesResponse`). - `status` (`integer`) - `metadata` (`object`, schema `Metadata`) - `resultset` (`object`, schema `Resultset`) - `count` (`integer`) - `offset` (`integer`) - `limit` (`integer`) - `results` (`array | null`) - `fecha` (`string | null`): Example: `2024-07-30`. - `detalle` (`array | null`) - `codigoMoneda` (`string | null`) - `descripcion` (`string | null`) - `tipoPase` (`number`) - `tipoCotizacion` (`number`) Example: ```json { "status": 0, "metadata": { "resultset": { "count": 0, "offset": 0, "limit": 0 } }, "results": [ { "fecha": "2024-07-30", "detalle": [ { "codigoMoneda": "string", "descripcion": "string", "tipoPase": 0, "tipoCotizacion": 0 } ] } ] } ``` Content type: `application/json` Type: `object` (see schema `CotizacionesResponse` above). Example: ```json { "status": 0, "metadata": { "resultset": { "count": 0, "offset": 0, "limit": 0 } }, "results": [ { "fecha": "2024-07-30", "detalle": [ { "codigoMoneda": "string", "descripcion": "string", "tipoPase": 0, "tipoCotizacion": 0 } ] } ] } ``` Content type: `text/json` Type: `object` (see schema `CotizacionesResponse` above). Example: ```json { "status": 0, "metadata": { "resultset": { "count": 0, "offset": 0, "limit": 0 } }, "results": [ { "fecha": "2024-07-30", "detalle": [ { "codigoMoneda": "string", "descripcion": "string", "tipoPase": 0, "tipoCotizacion": 0 } ] } ] } ``` ### 400 Bad Request Content type: `text/plain` Type: `object` (schema `ErrorResponse`). - `status` (`integer`) - `errorMessages` (`array | null`) Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `application/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `text/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` ### 404 Not Found Content type: `text/plain` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `application/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `text/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` ### 500 Server Error Content type: `text/plain` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `application/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` Content type: `text/json` Type: `object` (see schema `ErrorResponse` above). Example: ```json { "status": 0, "errorMessages": [ "string" ] } ``` ## Code samples **cURL** ```bash curl 'https://api.bcra.gob.ar/estadisticascambiarias/v1.0/Cotizaciones/USD?fechaDesde=2024-01-01&fechaHasta=2025-01-01' ``` ## OpenAPI Machine-readable specification: [https://estadisticas-cambiarias.bcra.apidocs.ar/openapi.json](https://estadisticas-cambiarias.bcra.apidocs.ar/openapi.json)