bcraapi: Python API for BCRA (Banco Central de la República Argentina)
bcraapi is a Python wrapper for BCRA APIs provided by Banco Central de la República Argentina itself. It makes use of requests and pandas and returns the data in a pandas DataFrame.
The BCRA API does not require tokens or registration, so do not hesitate to use it.
Installation
pip install bcraapi
APIs of the BCRA
You will be able to access to resources related to exchange rate information published by the BCRA.
You will be able to consult reported, lost, stolen or adulterated checks. The information available here is provided by the financial entities operating in the country and is published without alterations.
You will be able to access resources related to the main and monetary variables information published by the BCRA.
You will be able to access resources related to the main variables information published by the BCRA.
API Cheques denunciados v1.0
Entidades
Method to obtain the list of all the banking entities in the country with their respective entity code.
from bcraapi import cheques
df = cheques.entidades()
Returns
DataFrame with the list of all the banking entities in the country with their respective entity code.
Denunciados
Method to know if a check from a certain entity is registered as reported or not.
from bcraapi import cheques
df = cheques.denunciados(codigo_entidad=11, numero_cheque=20377516)
Args
| Parameter | Type | Description |
|---|---|---|
codigo_entidad |
int |
ID of the financial entity. It can be queried via entidades(). |
numero_cheque |
int |
Corresponds to the check number to be consulted. |
Returns
DataFrame with the result if a check is registered as reported or not.
API Estadísticas v4.0
Metodología
Method for obtaining the methodologies corresponding to each reported variable published by the BCRA.
from bcraapi import estadisticas
df = estadisticas.metodologia()
Args
| Parameter | Type | Description |
|---|---|---|
idvariable |
int |
ID of the desired variable. |
Keyword Args
| Parameter | Type | Description |
|---|---|---|
desde |
str |
The start date of the range to be queried, it must be in the format YYYY-MM-DD. |
hasta |
str |
The end date of the range to be queried, it must be in the format YYYY-MM-DD. |
offset |
int |
Records to discard for paging. Default: 0. |
limit |
int |
Records to be returned by the service. The maximum value is 3000. Default: 1000. |
Returns
DataFrame with the methodology corresponding to the reported variable.
Datos de Variables Monetarias
Method for obtaining the evolution of values for the monetary variable within a date range.
from bcraapi import estadisticas
df = estadisticas.datos_monetarias(id_variable=1, desde="2024-02-01", hasta="2024-02-05", limit=1000, offset=0)
Args
| Parameter | Type | Description |
|---|---|---|
id_variable |
int |
ID of the desired variable. Required |
Keyword Args
| Parameter | Type | Description |
|---|---|---|
desde |
str |
The start date of the range to be queried, it must be in the format YYYY-MM-DD. |
hasta |
str |
The end date of the range to be queried, it must be in the format YYYY-MM-DD. |
offset |
int |
Records to discard for paging. Default: 0. |
limit |
int |
Records to be returned by the service. The maximum value is 3000. Default: 1000. |
Returns
DataFrame with the values for the selected variable and date range.
Monetarias
Method for obtaining a list of all monetary variables published by the BCRA.
from bcraapi import estadisticas
df = estadisticas.monetarias(id_variable=1, limit=1000, offset=0)
Keyword Args
| Parameter | Type | Description |
|---|---|---|
id_variable |
int |
Optional. ID of the desired variable. |
categoria |
str |
Indicates the classification of the monetary variable. It is not necessary to enter the entire text. |
tipo_serie |
str |
It corresponds to the economic characterization of the variable. It is not necessary to enter the entire text. |
periodicidad |
str |
Frequency: daily D, monthly M, quarterly T (or Q). |
unidad_expresion |
str |
Unit of measurement for the economic variable. It is not necessary to enter the entire text. |
offset |
int |
Records to discard for paging. Default: 0. |
limit |
int |
Records to be returned by the service. The maximum value is 3000. Default: 1000. |
Returns
DataFrame with the values for the selected variable and date range.
API Estadísticas Cambiarias v1.0
Maestro de monedas
Method to obtain the list of all ISO currencies in force, with their respective denominations. denomination.
from bcraapi import estadisticascambiarias
df = estadisticascambiarias.maestros_divisas()
Returns
DataFrame with the list of currencies of the BCRA.
Cotizaciones por fecha
Method to obtain the list of all current foreign exchange rates published by the BCRA for a given date (yyyy-MM-dd). BCRA for a given date. If no date is entered, the last existing quote will be returned. the last existing quotation will be returned.
from bcraapi import estadisticascambiarias
df = estadisticascambiarias.cotizaciones(fecha="2024-06-12")
Args
| Parameter | Type | Description |
|---|---|---|
fecha |
str |
Date of the data to be consulted, it must have the format YYYY-MM-DD. |
Returns
DataFrame with the values for the selected date.
Evolución de moneda
Method to obtain the price evolution of a currency (ISO) in a particular date range. If the date from and date to parameters are not entered, the last existing quote will be returned. the last existing quote will be returned.
from bcraapi import estadisticascambiarias
df = estadisticascambiarias.cotizaciones_moneda(moneda="USD")
Args
| Parameter | Type | Description |
|---|---|---|
moneda |
str |
ISO currency. This parameter is required |
fecha_desde |
str |
The start date of the range to be queried, it must be in the format YYYY-MM-DD. |
fecha_hasta |
str |
The end date of the range to be queried, it must be in the format YYYY-MM-DD. |
limit |
int |
Maximum amount to be returned per application. Must be greater than 10 and less than 1000. |
ofset |
int |
Exclude from the answer the first N elements of the contributions to be refunded.. |
Returns
Datarame with the evolution of the exchange rate of a currency.
API Central de Deudores v1.0
Deudas
Method to obtain the credit situation, amount of debt, days in arrears and observations corresponding to the last period reported by the entities to the BCRA.
from bcraapi import centraldeudores
df = centraldeudores.deudas(30500010912)
Args
| Parameter | Type | Description |
|---|---|---|
identificacion |
str |
Corresponds to CUIT/CUIL/CDI, it must be 11 characters long. |
Returns
DataFrame with the credit situation, amount of debt, days in arrears and observations corresponding to the last period reported by the entities to the BCRA.
Deudas Históricas
Method to obtain the credit situation for the last 24 months.
from bcraapi import centraldeudores
df = centraldeudores.deudas_historicas(30500010912)
Args
| Parameter | Type | Description |
|---|---|---|
identificacion |
str |
Corresponds to CUIT/CUIL/CDI, it must be 11 characters long. |
Returns
DataFrame with the credit situation for the last 24 months.
Cheques Rechazados
Method to obtain the rejected checks with their corresponding reasons.
from bcraapi import centraldeudores
df = centraldeudores.cheques_rechazados(30717283186)
Args
| Parameter | Type | Description |
|---|---|---|
identificacion |
str |
Corresponds to CUIT/CUIL/CDI, it must be 11 characters long. |
Returns
DataFrame with the rejected checks with their corresponding reasons.
API Documentation:
Metadata
Release files for bcraapi 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bcraapi-4.0.0.tar.gz | 27.8 kB | With provenance | Details for bcraapi-4.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bcraapi-4.0.0-py3-none-any.whl | Python 3 | none | any | Details for bcraapi-4.0.0-py3-none-any.whl |
Total release size: 53.9 kB
Release files / bcraapi-4.0.0.tar.gz
| Download URL | bcraapi-4.0.0.tar.gz |
|---|---|
| Size | 27.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6796e2af2f27589238b46a7684327fa07c5e8c53714a1db81aa079aa2183a770
|
|
BLAKE2b-256 checksum How to use checksums |
1effd084ac7aeb91f95e10cdd7073048e0d76332466332d29e92f580b02e9465
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.
Transparency logRelease files / bcraapi-4.0.0-py3-none-any.whl
| Download URL | bcraapi-4.0.0-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39458834253d9d1e1ae528399faf80b9ad6789c9529afd65a1c38398a1839e85
|
|
BLAKE2b-256 checksum How to use checksums |
f587032ee358b8e14cb62bd0e6e451f488d89c290df4717020e85bea25c938df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.
Transparency logSecurity for bcraapi 4.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bcraapi-4.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.