curl --request GET \
--url https://api.example.com/info/{date}/{source?}{
"message": "<string>",
"[source]": {
"value": "<string>",
"date": "<string>"
}
}Query exchange rates by date with optional bank filtering
curl --request GET \
--url https://api.example.com/info/{date}/{source?}{
"message": "<string>",
"[source]": {
"value": "<string>",
"date": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/MiguelNavas19/miapibcv/llms.txt
Use this file to discover all available pages before exploring further.
GET /info/{date}/{source?}
YYYY-MM-DD (recommended) or any Carbon-parseable format2026-03-04, 2026-03-01, 2026-02-28bcv - Banco Central de Venezuelabanplus - Banplus Banco Universalbnc - Banco Nacional de Créditobdv - Banco de Venezuela"Consulta exitosa" on success.tasas_bancos_{date}curl -X GET https://your-domain.com/api/info/2026-03-01 \
-H "Accept: application/json"
curl -X GET https://your-domain.com/api/info/2026-03-01/bcv \
-H "Accept: application/json"
{
"message": "Consulta exitosa",
"bcv": {
"value": "45.2500",
"date": "2026-03-01"
},
"banplus": {
"value": "45.3000",
"date": "2026-03-01"
},
"bnc": {
"value": "45.2800",
"date": "2026-03-01"
},
"bdv": {
"value": "45.2600",
"date": "2026-03-01"
}
}
{
"message": "Fecha inválida"
}
| Status Code | Description |
|---|---|
| 200 | Success - Returns exchange rates for the requested date/source |
| 400 | Bad Request - Invalid date format or future date |
| 404 | Not Found - No data available for the specified parameters |
app/Http/Controllers/Api/ScraperController.php:43-84 and follows this logic:
tasas_bancos_{date}validateDate() method (lines 87-103) performs the following checks:
// Attempts to parse the date with Carbon
$dt = Carbon::parse($date);
$date = $dt->toDateString(); // Normalizes to YYYY-MM-DD
// Ensures date is not in the future
return $dt->lessThanOrEqualTo(now());
const dates = ['2026-03-01', '2026-03-02', '2026-03-03'];
const fetchRates = async (date) => {
const response = await fetch(`https://your-domain.com/api/info/${date}`);
return response.json();
};
const allRates = await Promise.all(dates.map(fetchRates));
console.log(allRates);
import requests
date = "2026-03-01"
banks = ["bcv", "banplus", "bnc", "bdv"]
for bank in banks:
url = f"https://your-domain.com/api/info/{date}/{bank}"
response = requests.get(url)
data = response.json()
if response.status_code == 200:
rate = data[bank]['value']
print(f"{bank.upper()}: {rate}")