SUNAT Consulta RUC API
e-consultaruc.sunat.gob.pe
SUNAT Peru public taxpayer RUC consultation
- Actions
- 6
- Category
- Government
- Login
- Not required
- Output
- JSON
Call the SUNAT Consulta RUC API
Submit a task, then poll the job until it settles. This example runs act_e_consultaruc_sunat_gob_pe_cantidad_trabajadores.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_e_consultaruc_sunat_gob_pe_cantidad_trabajadores",
"params": {
"ruc": "20100047218"
}
}'6 actions on e-consultaruc.sunat.gob.pe
Read
Cantidad de Trabajadores
act_e_consultaruc_sunat_gob_pe_cantidad_trabajadoresread1 credit / callWorkers, pensioners and service providers per period declared to SUNAT for a RUC
- ruc
- string · required
- razon_social
- string
Deuda Coactiva
act_e_consultaruc_sunat_gob_pe_deuda_coactivaread1 credit / callSUNAT coercive tax debt (deuda coactiva) reported to credit bureaus for a RUC
- ruc
- string · required
- razon_social
- string
Omisiones Tributarias
act_e_consultaruc_sunat_gob_pe_omisiones_tributariasread1 credit / callSUNAT tax filing omissions (omisiones tributarias) for a RUC over the last 5 years
- ruc
- string · required
- razon_social
- string
Representantes Legales
act_e_consultaruc_sunat_gob_pe_representantes_legales_utf8read1 credit / callSUNAT Consulta RUC legal representatives (documento, nro_documento, nombre, cargo, fecha_desde, razon_social) by RUC, with Spanish characters decoded from ISO-8859-1 / windows-1252.
- ruc
- string · required
RUC Profile
act_e_consultaruc_sunat_gob_pe_ruc_profileread1 credit / callTaxpayer profile from SUNAT Consulta RUC by 11-digit RUC: razon social, tipo, estado, condicion, domicilio, activities, padrones
- ruc
- string · required
RUC Search
act_e_consultaruc_sunat_gob_pe_ruc_searchread1 credit / callFind matching RUCs on SUNAT Consulta RUC by DNI or razon social
- query
- string · required
- search_by
- string
SUNAT Consulta RUC API questions
- Is there an API for SUNAT Consulta RUC?
- SUNAT Consulta RUC does not offer a public data API for this, but Anakin Wire provides 6 maintained endpoints for e-consultaruc.sunat.gob.pe. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape SUNAT Consulta RUC data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when e-consultaruc.sunat.gob.pe changes its markup, Anakin updates the action.
- Do I need a SUNAT Consulta RUC account?
- No. Every SUNAT Consulta RUC action listed here runs anonymously — no account and no credentials required.
- What does the SUNAT Consulta RUC API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Government APIs
Arizona State Bar
Arizona State Bar - attorney profiles, directory search, meeting calendar, and discipline records.
Avvo
Attorney directory - lawyer search by practice area, listings, and full profiles.
BOE (Spain)
Spain's official gazette - BOE, BORME, and consolidated legislation search and detail.
Boone County MO Collector
Boone County, Missouri Collector real estate tax search, tax history, and tax sale listings.
Boone County MO Parcel Viewer
Boone County, Missouri GIS / assessor parcels by latitude and longitude
Bundesanzeiger
German federal gazette - company filings and publication detail retrieval.