{"uid":"cap_KUpS4YdArJlvjKV5AEf3F","slug":"foundry-lei-counterparty-consistency-check-fc3770b5","name":"Foundry LEI Counterparty Consistency Check","description":"Pay-per-request evidence and data tools: CSV validation and reconciliation, DNS/email configuration evidence, and bounded official weather, earthquake, vehicle, company and study records. Exact USDC prices, explicit JSON contracts and source provenance. No mailbox, ownership, medical or safety guarantees.","url":"https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/lei-counterparty-consistency","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"entities":{"type":"array","items":{"type":"object","required":["lei","expected_legal_name"],"properties":{"lei":{"type":"string","pattern":"^[A-Z0-9]{20}$"},"expected_legal_name":{"type":"string","maxLength":200,"minLength":1}},"additionalProperties":false},"maxItems":3,"minItems":1}}},"responseSchema":{"type":"json","example":{"route":"lei-counterparty-consistency","result":{"entities":[{"lei":"5493001KJTIIGC8Y1R12","evidence":{"query":{"lei":"5493001KJTIIGC8Y1R12"},"source":"GLEIF LEI reference data","freshness":{"state":"CURRENT_RETRIEVAL","retrievedAt":"2026-09-06T00:00:00Z","cacheAgeSeconds":0,"maximumCacheSeconds":60,"recordAgeIsNotRetrievalAge":true},"sourceUrl":"https://api.gleif.org","observedAt":"2026-09-06T00:00:00Z","provenance":{"license":"CC0 1.0 LEI/LE-RD","termsUrl":"https://www.gleif.org/en/meta/lei-data-terms-of-use","truncated":false,"attribution":"GLEIF LEI reference data; no endorsement","limitations":["Synthetic example only; identifiers and null values illustrate fields, not a live observation."],"modifications":"Selected factual fields, normalized names and bounded result count; no source ownership claimed.","upstreamCalls":1,"documentationUrl":"https://www.gleif.org/en/lei-data/gleif-api"},"sourceUpdatedAt":null,"normalizedResult":[{"lei":"5493001KJTIIGC8Y1R12","legalName":null,"sourceUrl":null,"lastUpdated":null,"nextRenewal":null,"entityStatus":null,"jurisdiction":null,"registrationStatus":null}],"sourceProcessedAt":null,"rawSourceIdentifiers":[]},"name_comparison":"UNKNOWN","current_legal_name":null,"expected_legal_name":"Bloomberg Finance L.P.","registration_status":null}],"observedAt":"2026-09-06T00:00:00Z","limitations":["Synthetic example only; missing source name is UNKNOWN."]},"observed_at":"2026-09-06T00:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eyG8KdI_HweVeLVtLzdjO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a given LEI (Legal Entity Identifier) matches an expected legal name using GLEIF reference data, returning name comparison results and registration evidence.","exampleAgentPrompt":"Can you check whether the LEI '5493001KJTIIGC8Y1R12' actually belongs to 'Bloomberg Finance L.P.' — I need to confirm this counterparty identity before we proceed with the transaction.","exampleUseCases":[{"title":"Pre-trade counterparty LEI verification","prompt":"Before we execute this OTC trade, verify that the LEI '5493001KJTIIGC8Y1R12' matches the legal name 'Bloomberg Finance L.P.' and tell me the current registration status from GLEIF."},{"title":"KYC onboarding LEI reconciliation","prompt":"I'm onboarding a new client who gave me their LEI as 'HWUPKR0MPOU8FGXBT394' and claimed their legal name is 'Deutsche Bank AG' — can you verify that these match in the official GLEIF registry?"},{"title":"Compliance audit counterparty name check","prompt":"I have a list of up to 3 counterparties — LEI '969500T3MBS4SQAMHJ45' for 'Societe Generale S.A.' and LEI 'J4MVCMHZP0DYJKXNOA20' for 'BNP Paribas S.A.' — please check both against GLEIF and flag any mismatches in legal names."}],"resultDescription":"Returns a per-entity result array containing: the name_comparison field (e.g. MATCH, MISMATCH, UNKNOWN), the current_legal_name from GLEIF, the expected_legal_name supplied by the caller, registration_status, entity_status, jurisdiction, source URL, freshness metadata, and GLEIF provenance details including license and attribution. Also returns a top-level observedAt timestamp.","failureModes":["LEI not found in GLEIF registry — returns null fields with UNKNOWN comparison","LEI format does not match 20-character alphanumeric pattern — input schema validation error","GLEIF API upstream unavailable — may return stale cached data or error","Expected legal name too long (over 200 characters) — schema rejection","Batch exceeds 3 entities — request rejected by schema validation","Mismatched casing or punctuation in legal name may yield MISMATCH even if conceptually correct","Payment not processed (x402) — endpoint returns 402 before data is returned"],"whenToPreferThis":"Choose this endpoint when you need authoritative, sourced evidence that a counterparty's LEI matches their stated legal name, with full GLEIF provenance and freshness metadata. Ideal for compliance, KYC, pre-trade verification, or audit workflows where you need a verifiable paper trail. Prefer this over general company lookup tools when the LEI is known and name consistency is the specific question. Supports up to 3 entities per call, making it suitable for small-batch counterparty checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:52.995Z","isFirstParty":false}