{"openapi":"3.0.3","info":{"title":"IBAN Analyzer API","version":"1.0.0","description":"Resolve an IBAN to the bank behind it: name, BIC, city and country, compiled from the\nregister each country's central bank publishes rather than inferred from the code.\n\nWhere we hold no record the answer says so. A wrong bank name on a payment instruction\nis not a bug report, it is money arriving somewhere it should not, so a gap is always\nreported as a gap.\n\n## Allowance\n\nEvery metered response carries what you have left, so you never have to open the\ndashboard to find out:\n\n| header | meaning |\n| --- | --- |\n| `X-Quota-Type` | which allowance this call was charged to |\n| `X-Quota-Remaining` | calls left in the current period |\n| `X-Quota-Limit` | what your plan allows per period |\n\nWhen an allowance runs out the response is `403` and names the plan, the price and\nwhen it resets.\n\n## Rate limit\n\n600 requests per minute per API key, reported on every response as\n`X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. Over it you get\n`429` with `Retry-After` in seconds.\n\nThis is a safety ceiling against runaway loops, not a throttle: it sits far above any\nreal integration, and it is not your plan's allowance. If you are hitting it, something\nis retrying rather than working. Nothing here slows a normal call down.","contact":{"name":"Arvital Soft d.o.o.","email":"support@iban-analyzer.com","url":"https://iban-analyzer.com"},"termsOfService":"https://iban-analyzer.com/terms"},"servers":[{"url":"https://iban-analyzer.com","description":"Production"}],"tags":[{"name":"Lookup","description":"Resolve and validate IBANs. Metered against your plan."},{"name":"Reference","description":"Which countries are covered, and how."},{"name":"Free","description":"No key, no account. Rate limited by IP."}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Created with your account and shown on the dashboard."}},"schemas":{"IbanDetails":{"type":"object","nullable":true,"properties":{"iban":{"type":"string"},"countryCode":{"type":"string","example":"DE"},"bankCode":{"type":"string","example":"37040044"},"accountNumber":{"type":"string"}}},"CountryInfo":{"type":"object","nullable":true,"properties":{"code":{"type":"string","example":"DE"},"name":{"type":"string","example":"Germany"},"sepaSupport":{"type":"boolean"}}},"ValidationResult":{"type":"object","properties":{"iban":{"type":"string"},"isValid":{"type":"boolean"},"validationBreakdown":{"type":"object","nullable":true,"properties":{"ibanCheckDigitValid":{"type":"boolean"},"ibanMod97Valid":{"type":"boolean"},"lengthValid":{"type":"boolean"},"structureValid":{"type":"boolean"},"overallValid":{"type":"boolean"}}}}},"AnalysisResult":{"type":"object","properties":{"iban":{"type":"string"},"isValid":{"type":"boolean"},"validationBreakdown":{"type":"object","nullable":true,"properties":{"ibanCheckDigitValid":{"type":"boolean"},"ibanMod97Valid":{"type":"boolean"},"lengthValid":{"type":"boolean"},"structureValid":{"type":"boolean"},"overallValid":{"type":"boolean"}}},"ibanDetails":{"$ref":"#/components/schemas/IbanDetails"},"countryInfo":{"$ref":"#/components/schemas/CountryInfo"},"bankDetails":{"type":"object","nullable":true,"description":"The bank behind the IBAN. Null where we hold no record - an honest gap, never a guess.","properties":{"bankName":{"type":"string","example":"Commerzbank"},"swiftCode":{"type":"string","example":"COBADEFFXXX"},"bankCity":{"type":"string","example":"Köln"},"bankAddress":{"type":"string"},"bankZipCode":{"type":"string"},"bicWithheld":{"type":"string","description":"Present when this record carries no BIC on purpose, and says why - the register publishes none, or the institution is gone and we will not say where to send money. Its absence alongside a missing swiftCode means we simply do not hold one yet.","example":"licence revoked"},"branchCodeSupported":{"type":"boolean"},"partialMatch":{"type":"boolean","description":"True when we matched the bank but not the specific branch."},"source":{"type":"object","description":"The official register this record was published in, and when we took it. Present only for countries whose register is recorded - absent is not a claim that the record is unsourced, only that we have not written the source down in machine-readable form yet.","properties":{"register":{"type":"string","example":"Bankleitzahlendatei"},"publisher":{"type":"string","example":"Deutsche Bundesbank"},"url":{"type":"string","format":"uri"},"edition":{"type":"string","format":"date","description":"The register file's own date stamp.","example":"2026-09-07"},"retrieved":{"type":"string","format":"date","description":"When we last took that file in.","example":"2026-10-24"},"cadence":{"type":"string","example":"quarterly"}}}}},"bankCodeStatus":{"type":"string","enum":["found","retired","allocated_no_details","not_allocated","placeholder","unknown"],"description":"Whether the bank code in the IBAN was ever issued. `not_allocated` is only ever returned for countries whose national register is the complete allocation - Germany today - because telling someone a correct IBAN carries a code that does not exist is worse than saying nothing. `placeholder` needs no register and is returned for any country: the code is the one in the ISO 13616 registry's example IBAN, or it is all one character or a single run (`00000`, `AAAA`, `1234`). Neither is a gap in our coverage, and neither is counted as one."},"bankCodeMessage":{"type":"string","nullable":true,"description":"A sentence for a person, or null when the details speak for themselves."},"bankCodeSuccessor":{"type":"string","nullable":true,"description":"Where the register says payments should go instead, for a withdrawn code."}}},"PublicAnalysisResult":{"allOf":[{"$ref":"#/components/schemas/AnalysisResult"},{"type":"object","properties":{"bankDataAvailable":{"type":"boolean","description":"Explicit rather than inferred from a null bankDetails."}}}]},"Error":{"type":"object","properties":{"error":{"type":"string"}}}}},"security":[{"ApiKeyAuth":[]}],"paths":{"/api/v1/analyze":{"post":{"tags":["Lookup"],"summary":"Resolve IBANs to their banks","description":"Send one IBAN or an array of them; you get one result per IBAN, in the same order.\n\nA lookup that names a bank costs one bank_info credit. An IBAN that is valid but whose\nbank we do not hold costs nothing, and a request where every IBAN is invalid is charged\nas a validation instead.","operationId":"analyzeIbans","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["iban"],"properties":{"iban":{"type":"string","example":"DE89370400440532013000"}}},{"type":"array","items":{"type":"string"},"example":["DE89370400440532013000","FR1420041010050500013M02606"]}]}}}},"responses":{"200":{"description":"One result per IBAN sent.","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/AnalysisResult"}}}}}}},"400":{"description":"No usable IBAN in the body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The allowance for this quota is spent. The body names the plan that covers the shortfall and where to get it.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"reason":{"type":"string","enum":["quota_exhausted","subscription_not_found"]},"quota":{"type":"string","enum":["iban_validation","bank_info","ocr_extraction"]},"plan":{"type":"string"},"limit":{"type":"integer"},"resetsAt":{"type":"string","format":"date-time"},"upgrade":{"type":"object","properties":{"plan":{"type":"string"},"price":{"type":"number"},"currency":{"type":"string","example":"USD"},"ibanValidations":{"type":"integer"},"bankInfoRequests":{"type":"integer"},"ocrExtractions":{"type":"integer"},"url":{"type":"string","format":"uri"}}}}}}}}}}},"/api/v1/validate":{"post":{"tags":["Lookup"],"summary":"Check IBANs without looking up the bank","description":"Structure, length and the 97-mod-10 check digit, with the breakdown of which part failed. Costs one iban_validation credit.","operationId":"validateIbans","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["iban"],"properties":{"iban":{"type":"string","example":"DE89370400440532013000"}}},{"type":"array","items":{"type":"string"},"example":["DE89370400440532013000","FR1420041010050500013M02606"]}]}}}},"responses":{"200":{"description":"One result per IBAN sent.","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ValidationResult"}}}}}}},"400":{"description":"No usable IBAN in the body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The allowance for this quota is spent. The body names the plan that covers the shortfall and where to get it.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"reason":{"type":"string","enum":["quota_exhausted","subscription_not_found"]},"quota":{"type":"string","enum":["iban_validation","bank_info","ocr_extraction"]},"plan":{"type":"string"},"limit":{"type":"integer"},"resetsAt":{"type":"string","format":"date-time"},"upgrade":{"type":"object","properties":{"plan":{"type":"string"},"price":{"type":"number"},"currency":{"type":"string","example":"USD"},"ibanValidations":{"type":"integer"},"bankInfoRequests":{"type":"integer"},"ocrExtractions":{"type":"integer"},"url":{"type":"string","format":"uri"}}}}}}}}}}},"/api/v1/bic/{bic}":{"get":{"tags":["Lookup"],"summary":"The bank holding a BIC","description":"The reverse of /analyze. Give it a BIC and it names the bank that holds the code.\n\nA hit costs one bank_info credit. A well-formed BIC we hold no record for costs\nnothing and answers 200 with `found: false` and a reason, because that is a real\nanswer rather than a failure - and it is never a finding that the BIC is\nunregistered, which this service holds no directory to establish.\n\nOne BIC per call. There is no batch form, and no endpoint that lists the BICs we\nhold for a country.","operationId":"getBankByBic","parameters":[{"name":"bic","in":"path","required":true,"schema":{"type":"string","example":"SPNODK22XXX"},"description":"8 or 11 characters. Both spellings of one code resolve to the same record, and the response says which form it is held under. Case and separators are ignored."}],"responses":{"200":{"description":"The bank, or a stated reason there is none.","content":{"application/json":{"schema":{"type":"object","properties":{"found":{"type":"boolean"},"match":{"type":"object","nullable":true,"description":"Present when found is true. One register row, never fields composed from several.","properties":{"bic":{"type":"string","example":"SPNODK22XXX"},"countryCode":{"type":"string","example":"DK"},"countryName":{"type":"string","example":"Denmark"},"bankName":{"type":"string","example":"Spar Nord Bank"},"bankCity":{"type":"string"},"bankAddress":{"type":"string"},"bankZipCode":{"type":"string"},"ibanLength":{"type":"integer","example":18},"sepaSupport":{"type":"boolean"},"filings":{"type":"integer","description":"How many register rows are filed under this BIC. More than one means branches of the same institution; the page at pageUrl lists them.","example":1},"pageUrl":{"type":"string","example":"https://iban-analyzer.com/bank/dk/spnodk22xxx"}}},"reason":{"type":"string","enum":["malformed","country_not_covered","no_record"],"description":"Present when found is false."},"message":{"type":"string","description":"Present when found is false."},"countryCode":{"type":"string","description":"The BIC's own country, when it has one."}}}}}},"400":{"description":"Not the shape of a BIC.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Allowance spent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/countries":{"get":{"tags":["Reference"],"summary":"Every IBAN country, and whether we can name its banks","operationId":"listCountries","responses":{"200":{"description":"The full list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"DE"},"name":{"type":"string","example":"Germany"},"ibanValidationSupported":{"type":"boolean"},"bankInfoSupported":{"type":"boolean","description":"Whether we hold bank reference data for this country."}}}}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/countries/{code}":{"get":{"tags":["Reference"],"summary":"One country's IBAN rules","operationId":"getCountry","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","example":"DE"},"description":"ISO 3166-1 alpha-2."}],"responses":{"200":{"description":"Length, SEPA membership and whether the IBAN is approved for international use.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"ibanLength":{"type":"integer","example":22},"ibanApprovedForIntlUse":{"type":"boolean"},"sepaSupport":{"type":"boolean"}}}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not an IBAN country.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/public/analyze":{"post":{"tags":["Free"],"summary":"The same lookup, without a key","description":"The answer the website gives, as JSON. No account, no quota, 60 lookups an hour per IP\nand at most 50 IBANs in one request. What is sold is volume and the places the answer\nis delivered to, never the answer itself.","operationId":"publicAnalyze","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["iban"],"properties":{"iban":{"type":"string","example":"DE89370400440532013000"}}},{"type":"array","items":{"type":"string"},"example":["DE89370400440532013000","FR1420041010050500013M02606"]}]}}}},"responses":{"200":{"description":"One result per IBAN sent.","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/PublicAnalysisResult"}}}}}}},"400":{"description":"No usable IBAN, or more than 50 in one request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Hourly limit reached. Retry-After says when it resets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/public/supported-countries":{"get":{"tags":["Free"],"summary":"Which countries have bank data, without a key","operationId":"publicSupportedCountries","security":[],"responses":{"200":{"description":"The country codes we can name banks for.","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}