# GLEIF LEI Lookup

> GLEIF LEI Lookup is a paid API for AI agents from foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Resolves a single LEI (Legal Entity Identifier) into current legal entity name, jurisdiction, registration status, and renewal dates from GLEIF reference data.

## Facts

- Endpoint: POST https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/gleif-lei-lookup
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gleif-lei-lookup-c5ea10d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nqUAPRsqs2VCojR2WBbfB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gleif-lei-lookup-c5ea10d9 -d '<json body>'
```

Example prompt: Can you look up the legal entity name, jurisdiction, and registration status for LEI 5493001KJTIIGC8Y1R12 using the GLEIF reference data?

## When to prefer this

Use this endpoint when you need authoritative, current legal entity information from GLEIF for a known LEI code — especially in compliance, KYC, counterparty verification, or data enrichment workflows where official registration status and jurisdiction matter. Prefer this over name-search endpoints when you already have the LEI and need to resolve it to structured entity data.

## Known failure modes

- Invalid LEI format (not matching 18 alphanumeric + 2 digit pattern) returns a validation error
- LEI not found in GLEIF registry returns an empty normalized result
- Network or upstream GLEIF API unavailability may cause retrieval failure
- Stale or cached data if cache age approaches maximum cache seconds (60s)

## How this service works

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.

## Output

Returns a JSON object containing the queried LEI, the normalized legal entity name, jurisdiction, registration status, renewal/expiry dates, and GLEIF source metadata including data freshness, provenance, license (CC0 1.0), and the upstream GLEIF API reference URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lei": {
   "type": "string",
   "pattern": "^[A-Z0-9]{18}\\d{2}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "route": "gleif-lei-lookup",
  "result": {
   "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": []
  },
  "observed_at": "2026-09-06T00:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gleif-lei-lookup-c5ea10d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev](https://www.zero.xyz/host/foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/llms.txt)
