cURL
curl --request POST \ --url https://api.json.pe/api/tipo_de_cambio \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "fecha": "2024-01-01" } '
{ "success": true, "message": "exito", "data": { "moneda": "USD", "fecha_busqueda": "2025-11-08", "fecha_sunat": "2025-11-08", "venta": 3.381, "compra": 3.37, "date": "2025-11-08", "sale": 3.381, "purchase": 3.37 } }
Consulta tipo de cambio por fecha.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Fecha de consulta en formato yyyy-mm-dd
"2024-01-01"
cee response
El estado de la respuesta true o false
Mensaje de la respuesta
Datos detallados de la respuesta
Show child attributes