# GLEIF LEI Entity Lookup & Search

> GLEIF LEI Entity Lookup & Search is a paid API for AI agents from x402-datashop-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Looks up or searches legal entity reference data from the GLEIF LEI golden copy, returning official LEI codes, legal names, entity/registration status, jurisdiction, and headquarters details.

## Facts

- Endpoint: GET https://x402-datashop-production.up.railway.app/v1/global/lei
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gleif-lei-entity-lookup-search-612ae68f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5Ay1oDyHcm5ryEQ5zlf4_

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-entity-lookup-search-612ae68f
```

Example prompt: Can you look up the official GLEIF LEI record for Airbus SE in France — I need their LEI code, current entity status, and registration status to check if it's still active?

## When to prefer this

Use this endpoint when you need authoritative, official legal entity data sourced directly from GLEIF's golden copy — especially for regulatory compliance, KYC/AML enrichment, counterparty verification, or confirming an LEI's current validity. Prefer over scraping corporate registries or unofficial sources when you need standardized, globally consistent entity data under CC0 licensing.

## Known failure modes

- LEI code not found — returns empty result or 404 when querying a non-existent or malformed 20-character LEI
- No name matches — search returns empty array if no entities match the name/country filter
- Invalid query parameters — missing both 'lei' and 'name' may return an error or empty response
- Rate limiting or upstream GLEIF unavailability — may return 5xx errors
- Payment failure — x402 payment of $0.005 USDC required; missing or invalid payment returns 402

## How this service works

Legal entity reference data from the GLEIF LEI golden copy (updated daily, CC0). Direct lookup: ?lei=529900FCMZ4LKXFD0R69. Search: ?name=airbus&country=FR&limit=5. Each result: lei, legal_name, entity_status, registration_status (ISSUED/LAPSED), jurisdiction, legal_form_id, hq_city/country, next_renewal_date. 24h cache.

## Output

Returns an array of up to 10 legal entity records, each containing: 20-character LEI code, legal name, entity status (ACTIVE/INACTIVE), registration status (ISSUED/LAPSED), jurisdiction, legal form ID, headquarters city and country, and next LEI renewal date. Data is sourced from the GLEIF golden copy (CC0), updated daily, with a 24-hour cache.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lei": {
       "type": "string",
       "description": "20-character LEI code for a direct lookup"
      },
      "name": {
       "type": "string",
       "description": "Legal name to search (used when lei is absent)"
      },
      "limit": {
       "type": "integer",
       "default": 5,
       "description": "Max search results, 1-10"
      },
      "country": {
       "type": "string",
       "description": "2-letter legal-address country filter (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gleif-lei-entity-lookup-search-612ae68f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-datashop-production.up.railway.app](https://www.zero.xyz/host/x402-datashop-production.up.railway.app/llms.txt)
