
Published an open-source scraper that solves daily manual exchange-rate entry for Venezuelan e-commerce teams
Venezuelan e-commerce platforms are required by law to invoice in bolívares while most catalog pricing stays in USD. Manual daily exchange-rate entry is error-prone and not scalable. This post walks through the scraping approach, a simple FastAPI microservice that can be deployed anywhere, and when you'd actually use it vs. a third-party rate API.
Venezuela's e-commerce sector is expected to grow thanks to increasing internet penetration, an evolving legal framework, and banks that now provide more secure transactions 1. After the pandemic, business boomed; the law requires invoices in the national currency (Bs.), but most products and transactions are advertised in USD. Let's look at two examples:
Librería La Alegría is a bookstore and stationery store that offers over 15,000 products related to office supplies, school items, art supplies, technical and school books, games, and more. The store also provides a cultural center for the city with workshops for children and events 2.
Its tech stack is an Odoo instance. There's no mobile app and billing happens directly in-store. A quick search indicates there are three extensions and one of them is free, but it might not be open source—I couldn't find a repo.
Tu Zona Market is an online marketplace that connects local vendors with customers. The platform offers a range of products, including groceries, electronics, and home appliances, and provides a seamless shopping experience in two states 3.
They appear to use Angular with what looks like an Express backend, although I can't be certain. To stay compliant they need a few things:
If you use a service like Exchange Rate API you can get the daily exchange rate, but you could get rate-limited quickly.
You have two paths here:
| Option | Trade-off | Chose |
|---|---|---|
| Third-party exchange rate API (e.g., exchangerate-api.com) | You pay per request or per month; rate-limited on free tier; adds a dependency | |
| Build your own scraper + microservice | Runs on your infrastructure; handles bursts free; full control of the rate feed |
For Venezuelan platforms, the scraper wins: the Banco Central publishes daily, regulation requires the official rate, and you avoid external rate limits. Deploy it on the infrastructure you already have.
Creating a web scraper and using it with crawlab as storage in MongoDB is a great solution.
A simple web scraper built in Python with FastAPI can be useful for a software developer who wants to access and analyze the financial data from the official website of Banco Central de Venezuela.
By using a web scraper built in Python with FastAPI, you can:
I published a starter implementation in this repo.
Let me know if you have any questions.
The BCV scraper is now published as an open-source starter repo. It eliminates a recurring manual task (daily copy-paste of exchange rates) and becomes a building block for any Venezuelan e-commerce or SaaS platform that needs rate compliance. Developers can fork it, customize it for their needs, and deploy it on the infrastructure they already have.
Photo by Frederick Medina on Unsplash