Skip to content

INDECI Peru Emergencies Scraper

Try for free

Get INDECI SINPAD emergency and disaster reports for Peru: date, hazard, department, province, district, affected people, homeless, damaged and destroyed houses and more damage figures, plus event time, level and status. Filter by place, dates and hazard. No login.

🚨 INDECI Peru Emergencies Scraper

Get the emergency and disaster reports that Peru's civil defence institute INDECI records in SINPAD as one clean table: one row per emergency and district with the date, the hazard (lluvias intensas, helada, huaico, incendio, sismo ...), the department, province and district, and the damage figures: affected people (afectados), homeless (damnificados), deaths, missing, injured, destroyed and affected houses, schools, health centres, crops, roads, bridges, livestock and humanitarian aid. Filter by place, dates and hazard type, and export to JSON, CSV or Excel. No login needed.

✨ Why use INDECI Peru Emergencies Scraper?

  • 🗂️ Every emergency since 2003 — INDECI's district-level SINPAD records with their damage evaluation (EDAN), read from INDECI's open data files.
  • 🕒 Up to date — emergencies registered after the newest open data file come from the SINPAD portal's public list, with event time, emergency level and status (their damage figures are published later).
  • 📍 Any place — a department, a province, a district or INEI ubigeo codes; names work without accents or case.
  • 🔢 Numbers ready for analysis — counts as numbers, dates in ISO format, the published date kept next to it.
  • 🧾 Source on every row — which INDECI source and file the row comes from.

🎯 Use cases

  • 🏘️ Local risk history — every emergency of a district (for example La Oroya, Yauli, Junin) with the people and houses affected.
  • 🌧️ Seasonal studies — rain, frost or wildfire emergencies by year and region.
  • 🏗️ Projects and reports — disaster history for risk assessments, municipal plans and research.
  • 📈 Monitoring — run it on a schedule and keep your own record of new emergencies.

🚀 How to use

  1. Enter a Department, Province and/or District (for example JUNIN, YAULI, LA OROYA), or Ubigeo codes (120801). Leave them empty for the whole country.
  2. Set From date and To date (YYYY-MM-DD); empty means 2003-01-01 to today.
  3. Optionally list Hazard types (LLUVIA, HELADA, HUAICO ...).
  4. Click Start and download the results as JSON, CSV, Excel or HTML, or read them through the API.

📥 Input

FieldWhat it does
department, province, districtPlace names as INDECI writes them (accents and case do not matter). A district name that exists in several provinces returns all of them unless you also give the department or province.
ubigeoINEI ubigeo codes instead of names: 2 digits = department (12 Junin), 4 = province (1208 Yauli), 6 = district (120801 La Oroya). SINPAD numbers the Lima provinces outside Lima Metropolitana as 26; those codes work too and are turned into the INEI code (2607 = 1507 Huarochiri).
dateFrom, dateToEvent date range, YYYY-MM-DD (a year or YYYY-MM also works).
hazardsKeep only these hazards, matched as part of the name (LLUVIA matches LLUVIA INTENSA and LLUVIAS INTENSAS).
includePortalDataDefault on: adds the SINPAD portal's event time, level and status (2019 on) and the emergencies newer than the open data files.
proxyConfigurationProxy settings; the default datacenter proxy works.
{
  "department": "JUNIN",
  "province": "YAULI",
  "district": "LA OROYA",
  "dateFrom": "2016-01-01"
}

📤 Output

One row per emergency and district, in date order.

FieldDescription
emergency_codeSINPAD emergency code
date, event_datetimeEvent date (YYYY-MM-DD) and, from the SINPAD portal (2019 on), date and time
hazard, hazard_groupHazard (peligro) and its origin (natural or human-induced)
department, province, district, location, ubigeoWhere it happened; ubigeo is always the INEI code
natural_regionCosta, sierra or selva
emergency_level, emergency_statusLevel 0-5 and ACTIVO / CERRADO (SINPAD portal, 2019 on)
affected, homeless, deaths, missing, injuredPeople: afectados, damnificados, fallecidos, desaparecidos, lesionados
houses_affected, houses_destroyedViviendas afectadas and destruidas
schools_*, classrooms_*, health_centers_*Education and health infrastructure affected or destroyed
crops_*_ha, bridges_*, roads_*_km, rural_roads_*_km, irrigation_canals_*_kmCrops, bridges, roads and canals
cattle_*, camelids_*, goats_*, pigs_*, small_animals_*Livestock lost or affected
humanitarian_aid_weight, humanitarian_aid_costHumanitarian aid as published
damage_figures_publishedtrue for open data rows; false for emergencies so far only in the SINPAD portal list (damage fields empty)
record_source, source, source_file, source_urlWhere the row comes from
date_as_published, scraped_atThe date as the file writes it; when the run read the data
{
  "emergency_code": 239940,
  "date": "2025-07-17",
  "event_datetime": "2025-07-17T08:21",
  "hazard": "BAJAS TEMPERATURAS",
  "hazard_group": "ORIGEN NATURAL",
  "location": "JUNIN / YAULI / LA OROYA",
  "ubigeo": "120801",
  "natural_region": "SIERRA",
  "emergency_level": 1,
  "emergency_status": "CERRADO",
  "damage_figures_published": true,
  "deaths": 0,
  "injured": 0,
  "homeless": 0,
  "affected": 1630,
  "houses_destroyed": 0,
  "houses_affected": 1125,
  "date_as_published": "07/17/25",
  "record_source": "open_data",
  "source": "INDECI - SINPAD, datos abiertos: Emergencias y danos a nivel nacional (EDAN)"
}

🗺️ Sources

  • INDECI open data — the dataset "Emergencias y daños a nivel nacional por departamento" on datosabiertos.gob.pe: SINPAD emergencies per district with the damage evaluation, 2003 to the newest published semester. The Actor reads every CSV file the dataset page lists, so new semesters are picked up by themselves.
  • SINPAD portal — the public emergency list of sinpad.indeci.gob.pe (from 2019): code, hazard, place, event date and time, level and status.

Both are public pages; the Actor reads public reports only, needs no account and makes no changes anywhere (read only, no side effects).

⚠️ Limits

  • Damage figures exist only for emergencies in the open data files. The SINPAD portal lists more emergencies than the open data files contain (for example La Oroya 2019-2025: 21 in the portal list, 4 of them in the open data files); the others, and every emergency after the newest published semester, carry damage_figures_published: false and empty damage fields.
  • The two sources name some hazards differently (open data LLUVIA INTENSA, BAJAS TEMPERATURAS; portal LLUVIAS INTENSAS, HELADAS); the rows keep each source's wording, and the hazard filter matches parts of names, so LLUVIA finds both.
  • A district or province takes about half a minute; the whole country since 2003 (about 210,000 rows) takes about ten minutes.
  • Event time, level and status come from the SINPAD portal list, which starts in 2019.
  • Figures are INDECI's own records as published; the Actor does not change or add them up.

❓ FAQ

Do I need an INDECI account? No. Both sources are public.

Why do some rows have no damage figures? They are emergencies that SINPAD's portal already lists but INDECI has not yet published in its open data files.

Can I get the whole country? Yes: leave the place fields empty. Use the date range or hazard types to narrow it down.

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.