{"uid":"cap_PsukM3B2cHV5Jk0WEtKgR","slug":"spain-agent-toolkit-iban-validator-7b5b2a8b","name":"Spain Agent Toolkit – IBAN Validator","description":"Pay-per-call Spain and EU utilities for AI agents over x402 (USDC). No accounts, no API keys. Public open data, live official checks (EU VIES) and offline computation; nothing is stored.","url":"https://es.redtapeapi.com/v1/iban/validate?utm_source=zero.xyz","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":["iban"],"properties":{"iban":{"type":"string","description":"IBAN with or without spaces"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"es":{"bankCode":"2100","branchCode":"0418","nationalCheckOk":true},"valid":true,"country":"ES","formatted":"ES91 2100 0418 4502 0005 1332"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zVG9favdRISSSuus_YwgK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an IBAN (International Bank Account Number) and returns formatting, country, validity flag, and Spain-specific bank/branch codes","exampleAgentPrompt":"Can you check if this IBAN is valid: ES91 2100 0418 4502 0005 1332? I need to know if the format and check digits are correct before I wire money to it.","exampleUseCases":[{"title":"Pre-payment IBAN sanity check","prompt":"Before I submit this supplier payment, verify that the IBAN ES91 2100 0418 4502 0005 1332 is valid and tell me which Spanish bank and branch it belongs to."},{"title":"Onboarding bank account verification","prompt":"A new customer just entered their bank account as ES912100041845020005 1332 — can you validate it and return the properly formatted IBAN so I can store it in our system?"},{"title":"Batch invoice data cleanup","prompt":"I have an invoice with the recipient IBAN listed as ES9121000418450200051332 — no spaces, all one block. Is it valid, and what's the correct formatted version I should use?"}],"resultDescription":"A JSON object containing: a boolean 'valid' field, a 'country' code (e.g. 'ES'), a prettily 'formatted' IBAN string with standard 4-character groupings, and an 'es' object with 'bankCode', 'branchCode', and 'nationalCheckOk' for Spanish IBANs.","failureModes":["Invalid or malformed IBAN returns valid:false with no bank/branch detail","Non-Spanish IBANs may return valid/formatted but no country-specific bank breakdown","Missing 'iban' query parameter results in a 400-level error","Completely garbled input (non-IBAN string) returns valid:false"],"whenToPreferThis":"Use this endpoint when you need lightweight, offline IBAN validation with no account setup or API key — especially for Spanish IBANs where you also want bank and branch code extraction. It is priced at $0.002 USDC per call via x402, making it cost-effective for per-transaction checks in automated payment workflows. Prefer it over general-purpose IBAN libraries when you need a hosted, auditable API call rather than client-side computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T01:12:49.134Z","isFirstParty":false,"canonicalSlug":"spain-agent-toolkit-iban-validator-7b5b2a8b"}