BCRP Peru Statistical Series Scraper
Pricing
from $1.63 / 1,000 results
BCRP Peru Statistical Series Scraper
Scrapes a single BCRP Peru statistical series by code and date range and returns each observation as a flat row with date and value.
Pricing
from $1.63 / 1,000 results
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 hours ago
Last modified
Categories
Share
BCRP Peru Statistical Series Scraper
Scrape any statistical series from the Central Bank of Peru (BCRP) by code and date range. Get clean, structured time-series data for exchange rates, inflation, GDP, and hundreds of other indicators. Export to CSV, JSON, Excel, or XML.
The BCRP publishes hundreds of economic and financial time series on its website, but there is no bulk download for custom date ranges. This Actor reads the public statistical series API directly, so you can pull exactly the codes and periods you need. No manual downloads, no copy-paste from HTML tables.
| Who uses it | What they scrape BCRP Peru for |
|---|---|
| Economists and financial analysts | Pull daily interbank exchange rates or monthly inflation figures for models and reports. |
| Academic researchers | Gather long-run GDP, employment, or monetary aggregates for Peru-focused papers. |
| Fintech developers | Feed official SBS or interbank USD-PEN rates into currency conversion features. |
| Data journalists | Track fiscal deficit or trade balance series to support investigative stories. |
What it does
This Actor collects a single BCRP statistical series by its code and returns each data point as a flat row with date and value.
- π Flexible date ranges: request daily series with YYYY-M-D or monthly series with YYYY-M format.
- π’ Any BCRP series code: supply codes like PN01207PM (monthly interbank rate) or PD04640PD (daily SBS rate).
- π Structured output: each row returns the date and the observed value, ready for analysis.
- βοΈ Preview mode for free users: fetch up to 10 data points to test a series before scaling up.
Results export to CSV, JSON, Excel, or XML, or straight from the API.
What you can do with BCRP Peru data
π± Track USD-PEN exchange rates.
A fintech app runs this Actor daily with code PD04640PD to get the latest SBS exchange rate and update its in-app currency converter.
π Monitor monthly inflation.
An economist pulls the Lima CPI series every month to update a dashboard comparing Peruvian inflation with other LatAm economies.
π¦ Build a macroeconomic database.
A research assistant runs the Actor for 20 different series codes, from M1 money supply to trade balance, to populate a panel dataset for a working paper.
π° Fact-check government claims.
A data journalist fetches the fiscal deficit series after a policy speech to verify the numbers against the official BCRP record.
Why choose this scraper
| What you get | |
|---|---|
| Official source data | Values come directly from the BCRP public statistical service, the same source economists rely on. |
| No manual work | Skip the BCRP website's interactive query tool and get a clean dataset in one run. |
| Long time series | Pull decades of monthly data or years of daily data in a single execution. |
| Ready for analysis | Flat row-per-observation output loads straight into pandas, R, Excel, or a database. |
How it compares
No other Store actor targets BCRP Peru the same way, so the honest comparison is with the alternatives teams actually weigh.
| BCRP Peru Statistical Series Scraper | Build it in-house | By hand | |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When BCRP Peru changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst hours |
Configure the run
Drive the Actor with a BCRP series code and a start and end date. The date format must match the series frequency, monthly or daily. The Input tab lists every parameter.
A first run with the defaults:
{"seriesCode": "PN01207PM","startDate": "2024-1","endDate": "2025-12","maxItems": 10}
A larger pull:
{"seriesCode": "PN01207PM","startDate": "2024-1","endDate": "2025-12","maxItems": 200}
Pricing
Pay-per-result: $0.0018 per result collected. You pay only for the results written to your dataset.
| Results collected | Approximate cost |
|---|---|
| 100 results | $0.18 |
| 1,000 results | $1.80 |
| 10,000 results | $18.00 |
New Apify accounts start with $5 in free credit.
Free users
Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.
Run it
- Create a free Apify account with $5 in credit.
- Open the BCRP Peru Statistical Series Scraper.
- Set your inputs and any filters, then click Start.
- Export the results as CSV, Excel, JSON, or XML from the Dataset tab.
Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.
Use with AI agents (MCP)
Give an AI agent live access to BCRP Peru through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:
$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/bcrp-peru-series-scraper"
Then prompt it in plain language to run the scraper and read back the results.
Troubleshooting
Why am I getting no results?
Check that the series code is correct and that your date range falls within the series' available history. Also verify the date format: monthly codes need YYYY-M, daily codes need YYYY-M-D.
Why does the Actor return an error about the date format?
Monthly series expect dates like 2024-1, not 2024-01 or 2024-1-1. Daily series expect 2024-1-15. Match the format to the series frequency.
I got only 10 data points but I need more.
The free tier limits runs to 10 items as a preview. Upgrade to a paid Apify plan and increase the maxItems setting to pull the full series.
The series code I found on the BCRP website does not work.
Some codes on the BCRP portal may refer to discontinued or internal series. Try searching for the same indicator again on the public series portal and use the updated code.
My run timed out.
Requesting very long daily series can take time. Try narrowing the date range or increasing the Actor's timeout in the run settings.
FAQ
| Question | Answer |
|---|---|
| Where do I find the BCRP series codes? | Visit the BCRP statistical series portal, search for your indicator, and copy the code from the URL or the series metadata. Common codes include PN01207PM for the monthly interbank exchange rate and PD04640PD for the daily SBS rate. |
| What date format should I use? | Monthly series use YYYY-M format, for example 2024-1 for January 2024. Daily series use YYYY-M-D format, for example 2024-1-15 for January 15, 2024. |
| Can I scrape multiple series in one run? | This Actor handles one series code per run. To collect multiple series, run the Actor once per code, or use Apify's scheduling and orchestration features to chain runs. |
| Is there a limit on how many data points I can get? | Free users are limited to 10 data points per run as a preview. Paid Apify plans can request up to 1,000,000 data points, which covers even multi-decade daily series. |
| What does the output look like? | Each row in the dataset contains a date field and a value field. The exact field names match the BCRP series structure and are shown in the sample output on this page. |
| Does this Actor require an API key from BCRP? | No. The Actor reads the same public endpoints the BCRP website uses, so no registration or API key is needed. |
| Can I get data for a single month or a single day? | Yes. Set the start date and end date to the same value to retrieve a single observation. |
| What happens if I enter an invalid series code? | The Actor will return an error message indicating the series was not found. Double-check the code on the BCRP portal and try again. |
| Does this cover all BCRP series, including discontinued ones? | It covers any series still available through the BCRP public statistical service. If a series has been removed from the portal, it will not be accessible. |
| Can I schedule this to run automatically? | Yes. Use Apify's scheduler to run the Actor daily, weekly, or monthly. This is useful for tracking series that update on a known calendar, like monthly inflation or daily exchange rates. |
Related actors
Browse the full ParseForge collection for more scrapers.
π Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.
β οΈ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Banco Central de Reserva del PerΓΊ. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.
