ONPE Peru Elections Results Scraper avatar

ONPE Peru Elections Results Scraper

Pricing

from $7.50 / 1,000 results

Go to Apify Store
ONPE Peru Elections Results Scraper

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

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

ParseForge Banner

πŸ—³οΈ 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 analystsBuild national and regional vote share dashboards
πŸ›οΈ ResearchersStudy turnout, blank vote rates, and null vote patterns
πŸ“° JournalistsVerify district-level outcomes for stories
πŸ€– Data scientistsTrain models on Peruvian electoral data
πŸ—ΊοΈ GIS teamsJoin with shapefiles for choropleth maps
πŸŽ“ StudentsPull 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

  1. Click Try for free.
  2. Pick level and round.
  3. Click Start. Your dataset is ready within seconds.
ActorWhat it does
ParseForge Alpha Vantage ScraperPublic market data.
ParseForge OurAirports ScraperGlobal airport database.
ParseForge collection900+ 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.