{"uid":"cap_GY0xHMO8j61ellFakj6qw","slug":"latam-datos-api-spanish-nif-nie-tax-id-validator-3c676a7d","name":"LatAm Datos API – Spanish NIF/NIE Tax ID 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/es/validar/nif","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":"NIF o NIE"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"tipo":"NIF","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_9OXpMYz4Ubm0NOlU-aky-","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 Spanish NIF or NIE tax identification number and returns whether it is valid and its type","exampleAgentPrompt":"Can you check if the Spanish NIF '12345678Z' is valid and tell me what type of document it is?","exampleUseCases":[{"title":"KYC onboarding for Spanish customers","prompt":"Before we onboard this new Spanish client, can you validate their NIF '87654321A' to make sure it's a legitimate tax ID?"},{"title":"E-commerce checkout tax ID verification","prompt":"A customer entered 'X1234567L' as their NIE at checkout — can you verify if that's a valid Spanish NIE so we can issue the invoice correctly?"},{"title":"HR payroll compliance check","prompt":"We need to process payroll for a new hire who gave us '00000000T' as their NIF — can you confirm whether that's actually valid before we add them to the system?"}],"resultDescription":"Returns a JSON object with two fields: 'tipo' (the document type, e.g. 'NIF' or 'NIE') and 'valido' (a boolean indicating whether the provided identifier is valid). Example: {\"tipo\": \"NIF\", \"valido\": true}.","failureModes":["Missing 'valor' query parameter returns a 400 or validation error","Non-string or malformed input may return invalid result or error","Payment required (402) if x402 USDC payment not included","Service may be temporarily unavailable if Render free-tier instance is sleeping","Input that is neither NIF nor NIE format may return valido: false"],"whenToPreferThis":"Choose this endpoint when you need to validate Spanish fiscal tax IDs (NIF or NIE) specifically — particularly in LatAm/Spain-adjacent fintech, KYC, HR, or e-commerce workflows where Spanish identity document compliance is required. It is pay-per-call via USDC micropayment (x402), making it suitable for low-volume or agent-driven validation without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:46.166Z","isFirstParty":false}