Dólares
GET
https://ve.dolarapi.com/v1/dolaresDevuelve las distintas cotizaciones del Dólar en Venezuela
Respuestas
Devuelve todas las cotizaciones
JSON
[
{
"fuente": "string",
"nombre": "string",
"compra": 0,
"venta": 0,
"promedio": 0,
"fechaActualizacion": "string"
}
]
Ejemplos
cURL
curl -X GET https://ve.dolarapi.com/v1/dolares
JavaScript
fetch("https://ve.dolarapi.com/v1/dolares")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://ve.dolarapi.com/v1/dolares");
Python
import requests
response = requests.get("https://ve.dolarapi.com/v1/dolares")
print(response.json())