Skip to content

Estado de la API

GET
/v1/estado

Respuestas

Devuelve el estado de la API
JSON
{
"estado": "string",
"aleatorio": 0
}

Ejemplos

cURL
curl -X GET https://uy.dolarapi.com/v1/estado
JavaScript
fetch("https://uy.dolarapi.com/v1/estado")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("https://uy.dolarapi.com/v1/estado");
Python
import requests
response = requests.get("https://uy.dolarapi.com/v1/estado")
print(response.json())
Powered by VitePress OpenAPI