# LEI Lookup – Legal Entity Identifier (GLEIF)

> LEI Lookup – Legal Entity Identifier (GLEIF) is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-07).

Look up a Legal Entity Identifier (LEI) by code or search by company name, returning legal name, entity status, jurisdiction, addresses, and registration details from GLEIF.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/lei/lookup?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-07
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-lei-lookup-legal-entity-157d3bec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OCUeCJ0mfvuAdFzi5cxr8

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 agent-data-tools-revmesh2074-workers-dev-lei-lookup-legal-entity-157d3bec
```

Example prompt: Can you look up the LEI for Goldman Sachs and tell me its current registration status, jurisdiction, and legal address?

## When to prefer this

Use this endpoint when you need authoritative, structured legal entity data sourced directly from GLEIF for KYB, trade reporting, counterparty verification, or cross-system entity matching. Prefer it over general company profile endpoints when you specifically need an LEI code or need to validate one, or when regulatory-grade entity identification (jurisdiction, registration status, corroboration) is required. It is the right choice when dealing with financial institutions, regulated entities, or any workflow that needs GLEIF-sourced CC0 open data.

## Known failure modes

- Invalid or malformed 20-character LEI returns no matches or an error
- Company name search with no GLEIF matches returns empty records array
- Ambiguous company name may return unrelated entities — verify with jurisdiction or address
- GLEIF data may be stale if an entity's LEI registration is not recently updated
- Missing both 'lei' and 'name' parameters will likely return an error or empty result

## How this service works

LEI lookup, legal entity. Look up a Legal Entity Identifier from GLEIF: by 20-character LEI, or search by company name for up to 10 matches. Legal name, other names, entity status, category, jurisdiction, company register ID, legal and headquarters address, LEI registration status, issue, renewal and corroboration. Source: GLEIF (CC0). Use for KYB, counterparty checks, trade reporting and matching companies across systems.

## Output

Returns an array of matching records (up to the requested limit), each containing the LEI code, legal name, alternate names, entity status (ACTIVE/INACTIVE/etc.), entity category, jurisdiction, company register ID, legal address, headquarters address, and LEI registration metadata including issue date, last update, next renewal date, and corroboration status. Also returns a count of matches and the data source (GLEIF).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lei"
     ],
     "properties": {
      "lei": {
       "type": "string",
       "examples": [
        "HWUPKR0MPOU8FGXBT394"
       ],
       "description": "A 20-character LEI"
      },
      "name": {
       "type": "string",
       "examples": [
        "Volvo"
       ],
       "description": "Company name to search, instead of lei"
      },
      "limit": {
       "type": "integer",
       "examples": [
        5
       ],
       "description": "Matches for a name search (1-10, default 5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "number"
      },
      "source": {
       "type": "string"
      },
      "records": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "lei": {
          "type": "string"
         },
         "url": {
          "type": "string"
         },
         "founded": {},
         "category": {
          "type": "string"
         },
         "legalName": {
          "type": "string"
         },
         "otherNames": {
          "type": "array",
          "items": {}
         },
         "entityStatus": {
          "type": "string"
         },
         "headquarters": {},
         "jurisdiction": {
          "type": "string"
         },
         "legalAddress": {
          "type": "object",
          "properties": {
           "city": {
            "type": "string"
           },
           "lines": {
            "type": "array",
            "items": {
             "type": "string"
            }
           },
           "region": {
            "type": "string"
           },
           "country": {
            "type": "string"
           },
           "postalCode": {
            "type": "string"
           }
          }
         },
         "registeredAs": {
          "type": "string"
         },
         
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "source": "GLEIF (CC0)",
  "records": [
   {
    "lei": "HWUPKR0MPOU8FGXBT394",
    "url": "https://search.gleif.org/#/record/HWUPKR0MPOU8FGXBT394",
    "founded": null,
    "category": "GENERAL",
    "legalName": "Apple Inc.",
    "otherNames": [],
    "entityStatus": "ACTIVE",
    "headquarters": null,
    "jurisdiction": "US-CA",
    "legalAddress": {
     "city": "Glendale",
     "lines": [
      "C/O C T Corporation System",
      "330 N. Brand Blvd",
      "Suite 700"
     ],
     "region": "US-CA",
     "country": "US",
     "postalCode": "91203"
    },
    "registeredAs": "806592",
    "registration": {
     "issued": "2012-06-06",
     "status": "ISSUED",
     "lastUpdate": "2026-03-03",
     "nextRenewal": "2027-03-08",
     "corroboration": "FULLY_CORROBORATED"
    }
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-lei-lookup-legal-entity-157d3bec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
