Peru Company Data — SUNAT RUC & Taxpayer Status avatar

Peru Company Data — SUNAT RUC & Taxpayer Status

Pricing

$4.00 / 1,000 company records

Go to Apify Store
Peru Company Data — SUNAT RUC & Taxpayer Status

Peru Company Data — SUNAT RUC & Taxpayer Status

Official Peruvian taxpayer registry data by RUC: legal name, status, 'habido' condition, registered address and district.

Pricing

$4.00 / 1,000 company records

Rating

0.0

(0)

Developer

Berkan Kaplan

Berkan Kaplan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Peru Company Data — SUNAT RUC Registry 🇵🇪

🎉 Turn the Peruvian SUNAT RUC registry into clean, structured company data — no login, no API key, one row per RUC, with taxpayer status and condition, entity kind and the full address (department / province / ubigeo). Built for B2B sales, lead generation, KYB / compliance and market-research teams.

🔍 What is the Peru Company Data — and when should you use it?

Give this actor Peruvian RUC numbers and it returns matching companies from the Peruvian SUNAT taxpayer registry (RUC) — as clean, deduplicated rows you can filter, export or feed to an AI agent. Every run queries the source live, so the data is as fresh as the registry itself.

Use it when you need: a Peru company list for outreach; formation / status monitoring; or a canonical registry record for KYB and due diligence.

Use something else when: you need firmographics the registry doesn’t hold (revenue, headcount, website, email) — pair this with an enrichment actor from Fox Labs.

🤖 Use with AI agents

Already on the Apify MCP server? Ask for this Actor by name: foxlabs/peru-company-data.

Your agent can pay for its own runs. This Actor is pay-per-event with agentic payments, so an agent can discover it, run it and settle the bill over x402 (USDC on Base) or Skyfire — no Apify account or API token of its own. Billing is the same either way: per delivered record, never for errors.

Otherwise paste this into Claude, ChatGPT, Cursor or any MCP-enabled assistant:

I want to pull Peru company records using the Apify Actor `foxlabs/peru-company-data`.
Input: `queries` is a list of Peruvian RUC numbers. `maxResultsPerQuery` caps rows per query.
Start with: {"queries":["20131312955","20100070970"],"maxResultsPerQuery":50}
Ask me what to look up, run the Actor, then summarise the rows as a table.

The machine-readable API, MCP config and OpenAPI definition live at apify.com/foxlabs/peru-company-data.md.

📋 Overview

Everything you need to turn the Peruvian SUNAT taxpayer registry (RUC) into clean, structured data — in one actor, with no login, cookies or API key.

Why teams pick this actor:

  • Whole registry, one call — name or ID in, matching companies out.
  • 🧹 No empty-promise columns — only fields this registry actually fills; degenerate columns are removed.
  • 🔗 Stable join keyregistrationNumber ties rows across runs and to other Fox Labs actors.
  • 💰 Pay only for results — per-row pricing, empty/failed lookups never billed.
  • 🤖 Agent-ready — MCP + x402 agentic payments.

✨ Features

  • 🔍 Name or ID lookup — relevance-ranked name search or exact registry-ID lookup.
  • 🏢 Full entity profile — status, legal form, formation date, address and the registry’s own contact fields.
  • 🧹 Clean schema — deduplicated camelCase rows, ready for CSV/Excel/JSON.

🎬 Quick Start

curl -X POST "https://api.apify.com/v2/acts/foxlabs~peru-company-data/runs?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"queries":["20131312955","20100070970"],"maxResultsPerQuery":50}'

🚀 Getting Started (3 steps)

  1. Choose your targets — Peruvian RUC numbers.
  2. Set the capmaxResultsPerQuery limits rows per query.
  3. Run and export — get a clean dataset as JSON, CSV or Excel.

📥 Input

{"queries":["20131312955","20100070970"],"maxResultsPerQuery":50}
FieldTypeDescription
queriesarrayPeruvian RUC numbers.
maxResultsPerQueryintegerCaps rows per query.
maxConcurrencyintegerHow many queries to fetch at once.
includeRawbooleanAttach the source’s untouched record under raw.

📤 Output

One row per company, saved to the dataset. Every row also carries query, scrapedAt, and — when a lookup fails — an error explaining why (never silently dropped, never billed).

FieldDescription
countryCountry
registryRegistry
companyNameCompany / entity name
registrationNumberRegistry ID — the join key
taxNumberTax identifier
statusactive / inactive / dissolved
statusRawStatus exactly as the registry words it
addressPrincipal address
cityCity
countryNameCountry
sourceUrlPublic registry URL for the record
taxpayerConditionTaxpayer Condition
isLocatableIs Locatable
entityKindEntity Kind
provinceProvince
departmentDepartment
ubigeoCodeUbigeo Code

💼 Use cases

1. Peru KYB / tax status — confirm a taxpayer’s status and condition. Input: RUC numbers. Output: status + taxpayer condition. Use: verify a counterparty.

2. Address / geo enrichment — attach department, province and ubigeo to a RUC. Input: RUC numbers. Output: full address + geo codes. Use: enrich a record.

3. Registry reconciliation — match internal records to the official RUC. Input: known RUCs. Output: exact RUC records. Use: reconcile a master.

🔗 Integration

JavaScript / Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('foxlabs/peru-company-data').call({"queries":["20131312955","20100070970"],"maxResultsPerQuery":50});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);

Python

from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('foxlabs/peru-company-data').call(run_input={"queries":["20131312955","20100070970"],"maxResultsPerQuery":50})
for item in client.dataset(run['defaultDatasetId']).iterate_items():
print(item)

Automation (n8n / Zapier / Make): schedule or webhook → HTTP request to the actor API with your queries → handle the JSON dataset → push to a sheet, CRM or dashboard.

📊 Pricing

Pay-per-event: per delivered record. Empty or failed lookups are never billed. View current pricing.

❓ FAQ

Do I need an account, login or API key? No. This reads the Peruvian SUNAT taxpayer registry (RUC).

What do I search by? Peruvian RUC numbers.

How current is the data? Every run queries the source live, so results are as fresh as the registry.

Why are firmographics like revenue or website missing? A public business registry doesn’t hold them; we don’t ship empty columns. Pair with an enrichment actor from Fox Labs.

Can I export to CSV / Excel / JSON? Yes — directly from the Apify dataset.

🐛 Troubleshooting

  • Fewer rows than expected — raise maxResultsPerQuery, or refine the name.
  • A name returns an unexpected entity — it matched a similar registered name; search the exact registry ID.
  • No rows for a name — try the entity’s exact legal name or its registry ID.

This actor reads a public government business registry published as open data. Results can still contain personal data (e.g. a registered agent’s name); personal data is protected by the GDPR and similar laws, so only process it with a legitimate basis. See Apify’s blog post on the legality of web scraping.

🤝 Support & contact

Changelog

0.1 — 2026-09-07

  • Dropped empty-promise columns. Removed legalForm, incorporatedOn, dissolvedOn, postalCode, industry, industryCode, employees, capital, website, email, phone, officers — Peruvian SUNAT taxpayer registry (RUC) does not carry them, so they were shipped as always-null columns. Only fields this registry actually fills are now emitted.
  • README rebuilt to the full standard (What-is / when, AI-agents + x402 agentic payments + MCP, Overview, Features, Use cases, Integration, FAQ, Troubleshooting, Support & contact).

0.1.0

  • Initial release: company lookup from the Peruvian SUNAT taxpayer registry (RUC) by name or registry ID.