Api Endpoint

2s — the (most) everything API

Look up or search the global LEI (Legal Entity Identifier) registry — the authoritative ISO 17442 directory of ~2.6M legal entities worldwide. Pass `lei` for an exact 20-character LEI, or `query` to search by legal/other name (ranked best-match first; the query needs at least one word of 2+ letters/digits, and the last word is prefix-matched when 3+ characters). Results page up to the first 1,000 matches (offset + limit <= 1000) — narrow with country/status rather than paging deeper. Filter name search by `country` (ISO 2-letter, HQ country) and `status` (active = currently active entities only; all = default). Each result returns the LEI, legal name, an alternate/other name, legal jurisdiction, entity category (GENERAL/FUND/BRANCH/…), ISO 20275 legal-form code, entity status (ACTIVE/INACTIVE), LEI registration status (ISSUED/LAPSED/RETIRED/…), headquarters city/region/country/postal code, the initial registration + last update + next renewal dates, and the managing LOU. Use this to canonicalize a company name to its LEI, resolve a counterparty, or enrich a vendor master. Data: GLEIF Golden Copy (CC0, public domain).

Open interactive test console

Offering

Provider
2s.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://2s.io/api/business/lei
MIME type
application/json
First seen
2026-10-16T02:52:34.600Z
Last seen
Tags
public-records, identifiers, AI-agents, us-gov-data, X402, upto-billing, ai-gateway, agent-infrastructure, AI, Crypto, Random, Search, Trading, Utility

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn"
  }
]

Observed health

Status
Healthy
Latest latency
110 ms
Average latency
364 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "const": "http"
    },
    "method": {
      "const": "GET"
    },
    "queryParams": {
      "properties": {
        "lei": {
          "type": "string",
          "description": "Exact 20-character ISO 17442 LEI."
        },
        "query": {
          "type": "string",
          "description": "Free-text legal/other name search. Must contain at least one word of 2+ letters/digits; the last word is prefix-matched only when it is 3+ characters."
        },
        "country": {
          "type": "string",
          "description": "HQ country ISO 2-letter filter (e.g. US), name search only."
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "all"
          ],
          "description": "active = ACTIVE entities only; all (default)."
        },
        "limit": {
          "type": "integer",
          "description": "1–100, default 20."
        },
        "offset": {
          "type": "integer",
          "description": "Pagination offset, default 0. offset + limit must be <= 1000."
        }
      }
    }
  },
  "required": [
    "type",
    "method",
    "queryParams"
  ]
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "const": "http"
        },
        "method": {
          "const": "GET"
        },
        "queryParams": {
          "properties": {
            "lei": {
              "type": "string",
              "description": "Exact 20-character ISO 17442 LEI."
            },
            "query": {
              "type": "string",
              "description": "Free-text legal/other name search. Must contain at least one word of 2+ letters/digits; the last word is prefix-matched only when it is 3+ characters."
            },
            "country": {
              "type": "string",
              "description": "HQ country ISO 2-letter filter (e.g. US), name search only."
            },
            "status": {
              "type": "string",
              "enum": [
                "active",
                "all"
              ],
              "description": "active = ACTIVE entities only; all (default)."
            },
            "limit": {
              "type": "integer",
              "description": "1–100, default 20."
            },
            "offset": {
              "type": "integer",
              "description": "Pagination offset, default 0. offset + limit must be <= 1000."
            }
          }
        }
      },
      "required": [
        "type",
        "method",
        "queryParams"
      ]
    }
  },
  "required": [
    "input"
  ]
}