{"uid":"cap_JTjie8v5DrUtSK2GUHryG","slug":"spain-iban-validator-836a514c","name":"Spain IBAN Validator","description":"Pay-per-call Spain utilities for AI agents over x402 (USDC). No accounts, no API keys. Public open data and offline computation only; nothing is stored.","url":"https://spain-agent-toolkit.spain-agent-toolkit.workers.dev/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.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1by0gLv2zo1IzRsdnD9lR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Spanish IBAN, returning parse details including bank code, branch code, check digit status, and formatted representation","exampleAgentPrompt":"Can you check whether the IBAN ES91 2100 0418 4502 0005 1332 is valid, and tell me the bank and branch codes it contains?","exampleUseCases":[{"title":"Pre-transfer IBAN sanity check","prompt":"Before I wire money to this Spanish supplier, can you validate their IBAN ES80 2310 0001 1800 0001 2345 and confirm it's correctly formatted with the right check digits?"},{"title":"Onboarding bank account verification","prompt":"A new Spanish customer just entered their IBAN ES91 2100 0418 4502 0005 1332 on our platform — can you verify it's valid and pull out the bank code and branch code for our records?"},{"title":"Batch payment file audit","prompt":"I have a payment to process for ES79 2100 0813 6101 2345 6789 — please check if that Spanish IBAN is valid before we submit the file."}],"resultDescription":"Returns a JSON object indicating whether the IBAN is valid (boolean), the detected country code (e.g. 'ES'), a prettily formatted IBAN string with spaces, and Spain-specific details including the bank code (4 digits), branch code (4 digits), and whether the national check digits pass.","failureModes":["Invalid or malformed IBAN returns valid:false with no ES-specific breakdown","Non-Spanish IBAN may not return the ES-specific bank/branch fields","Missing or empty 'iban' query parameter causes a 400-level error","Spaces or formatting variants in the IBAN should be handled by the API but extreme corruption may cause parse failure"],"whenToPreferThis":"Choose this endpoint when you need offline, stateless validation of a Spanish IBAN without storing data or creating an account. It is ideal for pre-payment sanity checks, onboarding flows, or audit pipelines that specifically deal with Spanish (ES) bank accounts. It does not require an API key and charges a flat $0.005 USDC per call via x402, making it suitable for low-volume ad-hoc agent calls. Prefer alternatives if you need to validate IBANs from many countries simultaneously or require real-time bank account status lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:33:15.458Z","isFirstParty":false,"canonicalSlug":"spain-iban-validator-836a514c"}