# Macaroon Network LEI Lookup

> Macaroon Network LEI Lookup is a paid API for AI agents from api.macaroonnetwork.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Looks up a Legal Entity Identifier (LEI) via GLEIF's public API, returning the entity's legal name, status, jurisdiction, and registration details.

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/lei-lookup-v1
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macaroon-network-lei-lookup-1200e5df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0XK6LGlMQ-TbabJ3p3Azd

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 macaroon-network-lei-lookup-1200e5df -d '<json body>'
```

Example prompt: Can you look up LEI code 2138003EK6LFTTNE3I60 and tell me the legal name of the entity, its current status, and what jurisdiction it's registered in?

## When to prefer this

Use this endpoint when you need live, authoritative entity data directly from GLEIF for a known LEI code — ideal for KYC, compliance, trade settlement, or regulatory reporting workflows where real-time status matters. Prefer this over cached or third-party corporate databases when the LEI is already known and GLEIF is the authoritative source.

## Known failure modes

- Invalid or malformed LEI format returns an error or empty result
- LEI not found in GLEIF registry returns no record
- GLEIF upstream API unavailability causes timeout or error
- LEI exists but has been transferred or merged, may return unexpected entity

## How this service works

Live Legal Entity Identifier (LEI) lookup via GLEIF's public API: legal name, entity status, jurisdiction, and registration status. GLEIF LEI reference data is published under CC0 1.0 Universal -- commercial reuse, including paid API resale, is explicitly permitted with no attribution requirement.

## Output

Returns structured GLEIF reference data for the queried LEI, including the entity's official legal name, current entity status (e.g. ACTIVE, LAPSED), jurisdiction of formation, and LEI registration status. Data is sourced live from GLEIF's public API.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/macaroon-network-lei-lookup-1200e5df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.macaroonnetwork.com](https://www.zero.xyz/host/api.macaroonnetwork.com/llms.txt)
