# GLEIF LEI Entity Name Search

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

Search for Legal Entity Identifiers (LEIs) by legal entity name, returning matched identifiers and registration evidence from GLEIF reference data.

## Facts

- Endpoint: POST https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/gleif-entity-search
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gleif-lei-entity-name-search-045d000f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bv-fPAP3pZXIfu9YSejgL

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-name-search-045d000f -d '<json body>'
```

Example prompt: Can you search the GLEIF database for the LEI of 'Bloomberg LP' and return up to 5 candidate matches with their registration details?

## When to prefer this

Use this endpoint when you need to find a company's LEI by searching its legal name — ideal for KYC/AML workflows, trade reporting, regulatory compliance, or entity matching tasks where you have a business name but need a verified LEI. Prefer this over direct GLEIF API calls when you need a pay-per-use, agent-friendly interface with structured provenance metadata. Use it before the LEI resolution endpoint when you do not yet have the LEI code.

## Known failure modes

- No matching LEIs found for an obscure or misspelled entity name — returns empty normalizedResult array
- Name too short (under 2 characters) or too long (over 120 characters) triggers input validation error
- GLEIF upstream API unavailability causes retrieval failure
- Ambiguous or common names may return many partial matches requiring further filtering
- Payment not fulfilled results in 402 response before query is processed

## 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

A JSON object containing the search query echo, a list of normalized LEI records matching the queried name (each with LEI code, legal entity name, and registration details), provenance metadata including GLEIF source URL and license (CC0 1.0), freshness/cache state, and retrieval timestamp. Results are bounded by the requested limit (1–20).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string",
   "maxLength": 120,
   "minLength": 2
  },
  "limit": {
   "type": "integer",
   "default": 10,
   "maximum": 20,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "route": "gleif-entity-search",
  "result": {
   "query": {
    "name": "Bloomberg",
    "limit": 5
   },
   "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-entity-name-search-045d000f/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)
