{"uid":"cap_s4mzp6CE0ypTKjzt723BF","slug":"vextorium-lei-validator-ed89e077","name":"Vextorium LEI Validator","description":"Validate a Legal Entity Identifier (LEI, ISO 17442): 20-character format and mod-97 check digits, split into LOU prefix and entity part. Computed locally; does not query GLEIF.","url":"https://api.vextorium.com/v1/lei-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lei":{"type":"string","description":"20-character LEI"}}},"responseSchema":{"type":"json","example":{"lei":"5493001KJTIIGC8Y1R12","note":"Local mathematical validation. Does not query the GLEIF database (whether the LEI is issued or lapsed).","valid":true,"entity":"001KJTIIGC8Y1R","control_digits":"12","local_operating_unit":"5493"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cp5NYeZgvkO2fsMMPiW6l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a 20-character Legal Entity Identifier (LEI) using local mathematical checksum verification, returning validity status and parsed LEI components.","exampleAgentPrompt":"Can you validate this LEI code for me: 5493001KJTIIGC8Y1R12? I need to know if the format and checksum are correct and what the component parts are.","exampleUseCases":[{"title":"Pre-trade counterparty LEI check","prompt":"Before we submit this trade, verify that the counterparty's LEI 5493001KJTIIGC8Y1R12 is structurally valid — I need to know if the checksum passes and what each segment means."},{"title":"Bulk onboarding data quality check","prompt":"We're onboarding a new corporate client who provided LEI W22LROWP2IHZNBB6K528 — can you check whether this LEI is properly formed with valid control digits?"},{"title":"Regulatory filing pre-validation","prompt":"I'm about to submit a MiFID II report and need to confirm that the LEI 969500T3MBS4SQAMHJ45 in the file is structurally valid before I send it to the regulator."}],"resultDescription":"Returns a JSON object containing: the original LEI string, a boolean indicating whether it passes local mathematical (checksum) validation, the parsed local operating unit (first 4 chars), entity identifier (chars 5–18), control digits (last 2 chars), and a note clarifying that this is local validation only and does not query the GLEIF registry to confirm issuance or active status.","failureModes":["LEI string is not exactly 20 characters — validation will fail or return invalid","Non-alphanumeric characters in LEI — will fail format check","Valid checksum LEI that is actually unissued or lapsed — endpoint will return valid:true because it does not query GLEIF","Missing or empty 'lei' field in request body — request rejected","Network timeout or service unavailability returning non-200 response"],"whenToPreferThis":"Use this endpoint when you need fast, cheap, offline-style structural validation of an LEI code (checksum and format) without needing to confirm live GLEIF registry status. It costs only $0.003 per call and requires no external registry lookup, making it ideal for bulk pre-validation, data quality pipelines, or quick sanity checks before querying a live LEI registry. If you need to confirm whether an LEI is actually issued and active, you will need to additionally query GLEIF directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:45:37.691Z","isFirstParty":false,"canonicalSlug":"vextorium-lei-validator-ed89e077"}