{"uid":"cap_KJhNrqTAYtC7TG55qWxnK","slug":"nie-validation-spanish-nie-number-checker-cb502b82","name":"NIE Validation — Spanish NIE Number Checker","description":"The OpenRouter for AI-agent tools: one gateway, one wallet, every capability. Built-in tools, forged tools, a global verified business directory and 2,000+ aggregated x402 services, all paid per call in USDC via x402 (HTTP 402). No signup, no API key.","url":"https://toll402.dev/v1/t/nie_es_validate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["nie"],"properties":{"nie":{"type":"string","description":"NIE string, e.g. X1234567L"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":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_286IAnzIvNL2MSezDffA8","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 whether a Spanish NIE (Número de Identidad de Extranjero) string is correctly formatted and algorithmically valid","exampleAgentPrompt":"Can you check whether X1234567L is a valid Spanish NIE number?","exampleUseCases":[{"title":"Onboarding form NIE validation","prompt":"Before submitting this Spanish rental application, can you verify that the NIE number Y8765432Z is actually valid?"},{"title":"KYC compliance check for Spanish residents","prompt":"I need to confirm that the NIE X9876543C provided by this new customer is correctly formatted and passes the checksum — can you validate it?"},{"title":"Data quality audit for ID fields","prompt":"We collected NIE numbers from user registrations; can you check whether Z1234567R is valid so I can flag bad entries in our database?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating whether the provided NIE string is valid (correctly formatted and passes the checksum algorithm used by Spanish authorities for foreigner identification numbers)","failureModes":["Malformed NIE string (wrong length, invalid starting letter, or bad checksum) returns ok: false","Missing or empty 'nie' field in request body causes validation error","Non-string input types may cause a schema error","Payment failure via x402 prevents the call from being processed"],"whenToPreferThis":"Use this endpoint when you need a quick, per-call, no-signup programmatic check of a Spanish NIE number's validity — ideal for form validation, KYC pipelines, or data quality checks where you only need to verify format and checksum without a full identity lookup against a government registry.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:57.863Z","isFirstParty":false}