{"uid":"cap_cLu0SnGzLrh2262XuNN_F","slug":"foundry-gleif-record-baseline-change-detector-3e04750b","name":"Foundry GLEIF Record Baseline Change Detector","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/gleif-record-baseline-change","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lei":{"type":"string","pattern":"^[A-Z0-9]{18}\\d{2}$"},"baseline_fields":{"type":"array","items":{"type":"object","required":["field","value"],"properties":{"field":{"enum":["legalName","jurisdiction","entityStatus","registrationStatus","lastUpdated","nextRenewal"],"type":"string"},"value":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}]}},"additionalProperties":false},"maxItems":6,"minItems":1}}},"responseSchema":{"type":"json","example":{"route":"gleif-record-baseline-change","result":{"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":[]},"comparisons":[{"field":"registrationStatus","status":"UNKNOWN","current":null,"baseline":"ISSUED","normalization":"NFKC_CASE_WHITESPACE"}],"limitations":["Synthetic comparison only. The caller baseline is not authenticated historical evidence."],"observed_at":"2026-09-06T00:00:00Z","unknown_fields":["registrationStatus"],"mismatched_fields":[]},"observed_at":"2026-09-06T00:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mlW0hkUnMsTpb3324XlYk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares a caller-supplied baseline snapshot of GLEIF LEI record fields against the current live GLEIF data and reports which fields match, mismatch, or are unknown.","exampleAgentPrompt":"Check whether the GLEIF record for LEI 5493001KJTIIGC8Y1R12 still shows registrationStatus as ISSUED and legalName as 'Acme Holdings GmbH' — flag any fields that have changed or are unknown.","exampleUseCases":[{"title":"KYB counterparty status audit","prompt":"We onboarded this supplier last year with LEI 7ZW8QJYK2TGDQKZNGB29 and recorded their registrationStatus as ISSUED and jurisdiction as DE-HE — can you check whether either of those fields has changed in the current GLEIF data?"},{"title":"Pre-trade compliance check","prompt":"Before we settle this trade, verify that the LEI 254900OPPU84GM83MG36 still has entityStatus ACTIVE and registrationStatus ISSUED according to GLEIF right now."},{"title":"Periodic KYC refresh alert","prompt":"I have a baseline for LEI 213800WSGIIZCXF1P572 where legalName is 'Nordic Finance AB' and nextRenewal is '2025-12-31' — compare those against the live GLEIF record and tell me if anything has drifted."}],"resultDescription":"A JSON object containing per-field comparison results (status: MATCHED, MISMATCHED, or UNKNOWN), the current normalised GLEIF record values, source provenance (GLEIF LEI reference data, CC0 1.0 license), freshness metadata including retrieval timestamp and cache age, and lists of mismatched and unknown fields.","failureModes":["Invalid LEI format (must match ^[A-Z0-9]{18}\\d{2}$) returns a validation error","LEI not found in GLEIF registry returns null current values and UNKNOWN status for all fields","baseline_fields array empty or exceeds 6 items causes schema rejection","Field values longer than 200 characters are rejected","GLEIF upstream API unavailable causes retrieval failure","Stale cache may return data up to 60 seconds old"],"whenToPreferThis":"Use this endpoint when you need to detect drift between a previously recorded GLEIF LEI snapshot and the current live GLEIF data — ideal for compliance workflows, KYC/KYB refresh, pre-trade checks, and audit trails. Prefer this over the simple LEI lookup endpoint when you already have a baseline and need a structured diff rather than just the raw current record. Not suitable for medical, safety, ownership guarantees, or high-frequency monitoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:07.601Z","isFirstParty":false}