Is Scraping Public Data Legal in Peru After the 2026 Policy Reforms?

Yes, scraping public data in Peru is generally permissible if it complies with constitutional access principles and avoids violating privacy or intellectual property rights. Public sector datasets, particularly those published by the Superintendencia Nacional de Aduanas y de Administración Tributaria (SUNAT) or Instituto Nacional de Estadística e Informática (INEI), are typically accessible under Peru’s Ley N° 27806 (Transparency and Access to Public Information Law). However, automated scraping must not circumvent technical protections or harvest personal data without lawful basis, as outlined in Decreto Legislativo N° 1353 (2018) and Decreto Supremo N° 003-2021-JUS (2021), which align with GDPR-like principles post-2026 regulatory alignment efforts.


Key Regulations for Scraping Public Data in Peru

  • Access to Public Information Law (Ley N° 27806): Mandates public institutions to disclose non-sensitive data upon request, implying that publicly available datasets may be scraped unless restricted. Exceptions include classified information under Decreto Legislativo N° 1148 (National Security Law).

  • Data Privacy Framework (Decreto Legislativo N° 1353): Prohibits scraping personal data without explicit consent or a statutory exemption. Entities like the Autoridad Nacional de Protección de Datos Personales (ANPDP) enforce penalties for violations, including fines up to 1,000 UIT (approx. PEN 5.2M in 2026).

  • Technical Safeguards (Decreto Supremo N° 003-2021-JUS): Requires scrapers to respect robots.txt directives and rate limits. Unauthorized circumvention of access controls may trigger liability under Ley N° 30096 (Cybercrime Law), particularly for large-scale extractions disrupting public systems.