Consulta de distrito, provincia y departamento por ubigeo SUNAT.
脷ltima actualizaci贸n hace 8 meses
OK
const response = await fetch('https://api.migo.pe/api/v1/ubigeo', { method: 'POST', headers: { "Accept": "application/json", "Content-Type": "application/json" }, body: JSON.stringify({ "token": "1234567890", "ubigeo": "021013" }), }); const data = await response.json();
{ "success": true, "ubigeo": "0004", "distrito": "RAPAYAN", "provincia": "HUARI", "departamento": "脕NCASH" }