ONPE Peru Elections Results Scraper
Pricing
from $7.50 / 1,000 results
ONPE Peru Elections Results Scraper
Pull official ONPE results from the 2021 Peruvian general election by district, province, department, or national level. Returns candidate, party, votes, percentage, valid_votes, blank_votes, and null_votes. Great for political analysis and academic research on Peru.
Pricing
from $7.50 / 1,000 results
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Share

π³οΈ ONPE Peru Elections Results Scraper
π Export ONPE Peru 2021 general election results in seconds. District-level vote counts, candidate breakdowns, valid, blank, and null tallies.
The ONPE Peru Elections Results Scraper turns the official resultados.eleccionesgenerales2021.pe JSON reports into a clean, structured dataset. It hits the public ONPE Proceso Electoral endpoints and flattens each candidate's tally into one row per district and party.
Coverage spans every Peruvian department, province, and district reported by ONPE, both presidential rounds, and every registered political organization that appeared on the ballot.
| π― Target Audience | π‘ Primary Use Cases |
|---|---|
| π Political analysts | Build national and regional vote share dashboards |
| ποΈ Researchers | Study turnout, blank vote rates, and null vote patterns |
| π° Journalists | Verify district-level outcomes for stories |
| π€ Data scientists | Train models on Peruvian electoral data |
| πΊοΈ GIS teams | Join with shapefiles for choropleth maps |
| π Students | Pull primary source data for coursework |
π What the ONPE Peru Elections Scraper does
- Calls ONPE's public Reportes JSON endpoints for the selected geographic level and round.
- Flattens each department, province, or district into rows per candidate and party.
- Surfaces valid, blank, and null vote totals alongside each tally.
- Casts vote counts and percentages to numbers for clean BI ingestion.
- Pushes a clean diagnostic record if ONPE returns no results for the requested combo.
π‘ Why it matters: ONPE's public viewer is a single-page app that hides the underlying JSON behind XHR calls. This actor exposes the raw numbers directly so analysts and journalists can stop scraping screenshots.
π Data fields
Each record includes: blank_votes, candidate, district, null_votes, party, percentage, results, scrapedAt, valid_votes, votes. These field names come straight from the actor's dataset schema, so what you see here is what lands in your dataset.
β οΈ Good to Know: ONPE publishes the 2021 general election results as the definitive archived dataset. Numbers reflect the final ONPE tally and do not change between runs.
π How to use
- Click Try for free.
- Pick
levelandround. - Click Start. Your dataset is ready within seconds.
π Recommended Actors
| Actor | What it does |
|---|---|
| ParseForge Alpha Vantage Scraper | Public market data. |
| ParseForge OurAirports Scraper | Global airport database. |
| ParseForge collection | 900+ production scrapers. |
π‘ Pro Tip: browse the complete ParseForge collection for 900+ production-grade scrapers across business intelligence, real estate, e-commerce, sports, finance, and public records.
Disclaimer: This actor scrapes only publicly available data. ParseForge is not affiliated with, endorsed by, or sponsored by any of the third-party services referenced. Users are responsible for complying with the target site's terms of service and applicable law. Create a free account w/ $5 credit.
π Need Help?
If you hit a bug, have questions about setup, or need a scraper we haven't built yet, open our contact form or write to parseforge@protonmail.com. We also take on paid custom data projects.
For faster answers, join our Discord. It's the best place to get support and suggest new actors.