Euro
GET
https://cl.dolarapi.com/v1/cotizaciones/eurCotización del euro en pesos chilenos
Respuestas
Devuelve la cotización del Euro
JSON
{
"compra": 0,
"venta": 0,
"ultimoCierre": 0,
"nombre": "string",
"moneda": "string",
"fechaActualizacion": "string"
}
Ejemplos
cURL
curl -X GET https://cl.dolarapi.com/v1/cotizaciones/eur
JavaScript
fetch("https://cl.dolarapi.com/v1/cotizaciones/eur")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://cl.dolarapi.com/v1/cotizaciones/eur");
Python
import requests
response = requests.get("https://cl.dolarapi.com/v1/cotizaciones/eur")
print(response.json())