AgentAPIGate
Back to Catalog
GET /v1/kyb/lei/lookupPack: b2b·MCP Tool: kyb_lei_lookup

GLEIF Official Legal Entity Identifier (LEI) Lookup

Verify 20-character ISO 17442 LEI codes or search global corporate legal entities via official GLEIF API.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Exact 20-character ISO 17442 LEI code (e.g. HWUPKR0MPOU8FGXBT394)
Legal entity company name search when LEI is unknown (e.g. Apple Inc.)
Maximum LEI records to return when searching by name (default: 5)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/kyb/lei/lookup" \
  --data-urlencode "query=Apple Inc." \
  --data-urlencode "limit=3" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-74% tokens
# GLEIF Official Legal Entity Identifier (LEI) Lookup (`kyb.lei.lookup`)
**count**: 3

### 1. Item 1
- lei=HWUPKR0MPOU8FGXBT394 | legal_name=Apple Inc. | jurisdiction=US-CA | entity_status=ACTIVE | category=GENERAL | country=US | city=Glendale | postal_code=91203
### 2. Item 2
- lei=254900KZR24L5GN8TE52 | legal_name=Apple Ford, Inc. | jurisdiction=US-DE | entity_status=ACTIVE | category=GENERAL | country=US | city=WILMINGTON | postal_code=19801
### 3. Item 3
- lei=254900TWD71M3MX9I453 | legal_name=APPLE MANAGEMENT INC. | jurisdiction=PA | entity_status=ACTIVE | category=GENERAL | country=PA | city=Panama | postal_code=0801

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: kyb.lei.lookup · Method: GET
ParameterTypeReqSample / DefaultDescription
leistringoptional—Exact 20-character ISO 17442 LEI code (e.g. HWUPKR0MPOU8FGXBT394)
querystringoptionalApple Inc.Legal entity company name search when LEI is unknown (e.g. Apple Inc.)
limitnumberoptional3Maximum LEI records to return when searching by name (default: 5)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolkyb_lei_lookupOAuth 2.1 Hub & /mcp/b2b
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency364 ms$0 billed on empty or 4xx/5xx
Token Economy658t → 168t (-74%)Partner credit: eligible

More LinkedIn, B2B & Trade Real-Time APIs

Frequently Asked Questions

How do I call GLEIF Official Legal Entity Identifier (LEI) Lookup (kyb.lei.lookup) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/kyb/lei/lookup with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool kyb_lei_lookup on https://mcp.agentapigate.ai/mcp.

What does kyb.lei.lookup cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.001 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on kyb.lei.lookup?

Passing ?format=md transforms the response into normalized Markdown (~168 tokens vs ~658 raw tokens, saving 74% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only b2b endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["b2b"], optional allowed_endpoints: ["kyb.lei.lookup"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.