Skip to main content

BCRA API Connector

PyPI version Python Versions Documentation Status Coverage License: MIT Tests Contributor Covenant

A Python connector for the BCRA (Banco Central de la República Argentina) APIs, covering Principal Variables/Monetary Statistics, Cheques, Exchange Rate Statistics, and Central de Deudores (Debtor Registry).

Features

  • Comprehensive Data Access: Fetch Principal Variables, Monetary Statistics, Checks information, Exchange Rates, and Debtor Registry data.
  • Central de Deudores: Query debtor information, historical debts, and rejected checks by CUIT/CUIL.
  • DataFrame Support: Convert API responses to pandas DataFrames with to_dataframe() methods.
  • Historical Data: Easily retrieve and analyze historical time series for any variable.
  • Robustness: Built-in retry logic with exponential backoff and safe failure handling.
  • Developer Friendly:
    • Full Type Hinting for better IDE support.
    • Bilingual context (Spanish API / English Wrapper).
    • Detailed debug logging.
  • Configurable: Options for SSL verification, retries, and timeouts.

Documentation

Full documentation, including installation instructions, usage examples, and API reference, is available at:

Installation

pip install bcra-connector

# With pandas support for DataFrame conversion
pip install "bcra-connector[pandas]"

For detailed installation instructions and requirements, see our Installation Guide.

Quick Start

Get up and running in seconds:

from bcra_connector import BCRAConnector

connector = BCRAConnector()

# 1. Catalog of monetary series, with each one's latest value
variables = connector.monetarias.list()
print(f"Found {len(variables)} series")

# 2. Latest value of a series, by ID (1 = Reservas internacionales)
latest = connector.monetarias.latest(1)
print(f"Reserves: {latest.valor} on {latest.fecha}")

# 3. Last 30 days of a series, by name (newest first, as the API returns it)
history = connector.monetarias.history("Reservas internacionales", days=30)
for point in history[:5]:
    print(point.fecha, point.valor)

# 4. Official exchange rate: pesos per dollar
usd_ars = connector.cambiarias.pair("USD", "ARS", days=7)
print(f"USD/ARS on {usd_ars[-1]['fecha']}: {usd_ars[-1]['tasa']}")

Contributing

Contributions are welcome! Please read our:

Security

For vulnerability reports, please review our Security Policy.

Change Log

See CHANGELOG.md for a list of changes and version updates.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This project is not officially affiliated with or endorsed by the Banco Central de la República Argentina. Use at your own risk.

Metadata

Release files for bcra-connector 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bcra-connector 1.0.0
File Size Uploaded
bcra_connector-1.0.0.tar.gz 119.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bcra-connector 1.0.0
File Interpreter ABI Platform
bcra_connector-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 161.9 kB

Release files / bcra_connector-1.0.0.tar.gz

Download URL bcra_connector-1.0.0.tar.gz
Size 119.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7edb53920ca26031b75beaf3f36a084f614231b82fa93239add900966006521d
BLAKE2b-256 checksum
How to use checksums
aeddff72626e8d0387954bed6a9551587772455ad174db39931a213916178daf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release files / bcra_connector-1.0.0-py3-none-any.whl

Download URL bcra_connector-1.0.0-py3-none-any.whl
Size 42.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84db577b61994a3015df66da5569643ddd5e0f3d2e62059ed33225447eda2b30
BLAKE2b-256 checksum
How to use checksums
a1b9dc199a8a5303f1722d9852b8da1eb6bac6ecf08b803b560efd3eb17bc8cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 22, 2026.

Transparency log

Release history Release notifications | RSS feed

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

This release

1.0.0 This release

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page