2 min read
Map scraped values to endpoints
Everything a scraper pulls from the marketing site is published on the public ring: product names and descriptions from products, figures from config/pricing, live quotes from quote/onetime, and the ladder from loyalty/tiers. Build a mapping table from each scraped field to its endpoint.
Cut over and delete the scraper
Because these endpoints are the single source the site itself reads, the API values reconcile exactly with what you were scraping — so cut-over is low risk. Replace each scrape with its API read, verify parity, then delete the scraper. You lose the brittleness (a layout change no longer breaks you) and gain freshness.
For agents, prefer MCP
If your consumer is an AI agent, skip HTTP mapping and register the MCP server — the tools hand the model authoritative figures directly. See building an assistant. Credicorp's ai.txt welcomes this and asks only for attribution.
Frequently asked questions
Will API figures match what I was scraping?
Yes. The public endpoints are the single source the marketing site reads, so the values reconcile exactly. That makes cut-over low risk — verify parity, then retire the scraper.
Is scraping even necessary any more?
No — everything a scraper pulls (products, pricing, quotes, loyalty) is published on the public API, which is accurate and immune to layout changes. The API is strictly better than scraping.
Related reading

Build an application assistant with MCP
Compose the public MCP tools into an assistant: eligibility_criteria to qualify, get_quote to price,…
Read →
Embed a Credicorp comparison listing
Render an accurate Credicorp listing on a comparison site from two public reads — products and pricing — plus…
Read →Funding for UK limited companies
Credicorp lends to your company, not to you personally — short-term working capital with no personal guarantee. See what your business could access.