Skip to content

Valor CER

Devuelve el valor actual del CER.

Respuesta

200Valor CER
Content-Type:application/json
timeinteger
valuenumber
JSON
{
  "time": "integer",
  "value": "number"
}
GET/api/cer
cURL
curl -X GET \
 https://criptoya.com/api/cer

Ejemplos

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