{"uid":"cap_3YXJEw4m2A-SybNC6Re_9","slug":"latam-datos-api-peru-ruc-validator-c2f5a8bc","name":"LatAm Datos API – Peru RUC Validator","description":"Datos de mercados emergentes para agentes: FX LatAm, inflacion, tasas de bancos centrales, feriados, validacion de IDs fiscales/bancarios, IVA y salarios minimos. Pago por consulta via x402 v2 (USDC en Base).","url":"https://latam-datos-api.onrender.com/pe/validar/ruc","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["valor"],"properties":{"valor":{"type":"string","description":"RUC de 11 digitos"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"tipo":"persona juridica","valido":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__7A7Lsv_Nag4hrFBvUwt4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Peruvian RUC (tax ID) number and returns its type (persona natural or juridica) and validity status","exampleAgentPrompt":"Can you check whether the Peruvian RUC 20100070970 is valid and tell me if it belongs to a company or an individual?","exampleUseCases":[{"title":"Supplier onboarding KYC check","prompt":"Before we onboard this new Peruvian supplier, can you validate their RUC 20547141639 and confirm whether they're registered as a legal entity or a natural person?"},{"title":"Invoice compliance verification","prompt":"I received an invoice from a Peru vendor with RUC 10445556789 — can you check if that tax ID is valid so we can approve the payment?"},{"title":"Automated Peru vendor screening","prompt":"We have a list of Peruvian counterparts; start with RUC 20601234567 — is it a valid RUC and what type of taxpayer is it?"}],"resultDescription":"A JSON object with two fields: 'valido' (boolean indicating whether the RUC is valid) and 'tipo' (string classifying the entity as 'persona natural' or 'persona juridica').","failureModes":["Invalid or malformed RUC (not 11 digits) returns a validation error or valido:false","Network timeout from the Render.com hosted service under cold-start conditions","Missing 'valor' query parameter returns a 400 bad request","RUC not found in registry returns valido:false","Payment failure via x402 blocks the request before processing"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify a Peruvian RUC number for KYC, vendor onboarding, invoice validation, or compliance workflows, especially within an agent pipeline that handles LatAm emerging market data. It is the right choice over generic web search when you need a structured, machine-readable validity verdict and entity classification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:43:09.466Z","isFirstParty":false}