# 2s Business Entity Match

> 2s Business Entity Match is a paid API for AI agents from 2s.io, paid per call via x402, $0.00288/call, status unknown (last checked 2026-10-11).

Resolves a free-text company or legal entity name to ranked LEI candidates with confidence scores and headquarters data

## Facts

- Endpoint: GET https://2s.io/api/business/entity-match?utm_source=zero.xyz
- Price: $0.00288/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-business-entity-match-749485b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oL0KDLDsRQAvYelirBkIF

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 2s-business-entity-match-749485b1
```

Example prompt: Can you find the official LEI code and headquarters for 'JP Morgan Chase & Co' — search as a US entity and return the top 3 matches with confidence scores?

## When to prefer this

Use this endpoint when you need to resolve a free-text company name to a verified LEI code for KYC, financial compliance, or entity enrichment workflows — especially when input is messy or informal. Prefer over manual GLEIF search when automating entity resolution at scale without requiring API keys or subscriptions.

## Known failure modes

- No matching entities found for very obscure or misspelled names — returns empty items array
- Ambiguous name with many partial matches — low confidence scores across all candidates
- Country filter too restrictive — entity exists but not in specified country, returns empty
- Name string too short (under 2 chars) or too long (over 200 chars) — validation error
- Payment failure via x402 — 402 response if USDC payment not provided
- Upstream GLEIF data unavailability — service may return error or stale data

## How this service works

Fuzzy entity resolution: resolve a messy, free-text company name to its canonical GLEIF Legal Entity Identifier (LEI) with a 0-1 similarity score and a high/medium/low confidence label. Tolerant of legal-suffix noise (Inc/Ltd/GmbH/S.A.), word order, ampersands, punctuation, and former/alternate names (e.g. 'Apple Computer Inc' resolves to Apple Inc. via GLEIF's recorded other-names). Returns the top candidates ranked by score plus a single bestMatch (null when nothing clears medium confidence — so a low-confidence top hit is never silently treated as a match, which is the safe default for KYB). The record-linkage complement to business.lei (name search). Optional country (ISO-2) narrows to a jurisdiction. Backed by GLEIF Golden Copy (~2.6M entities, CC0).

## Output

Returns a ranked list of up to 25 legal entity candidates, each with their LEI code, legal name, alternate name, fuzzy match score, confidence level (high/medium/low), jurisdiction, entity status, registration status, and headquarters city/region/country. Also includes a bestMatch summary in metadata and source/license attribution.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "name": "Apple Inc",
   "limit": 5,
   "country": "US"
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "maxLength": 200,
       "minLength": 2,
       "description": "Free-text company / legal-entity name to resolve. Messy input is fine: \"Apple Computer Inc.\", \"jp morgan chase & co\"."
      },
      "limit": {
       "type": "integer",
       "default": 5,
       "maximum": 25,
       "minimum": 1,
       "description": "Max ranked candidates to return (1-25). Default 5."
      },
      "country": {
       "type": "string",
       "maxLength": 2,
       "minLength": 2,
       "description": "Optional ISO-2 country of the entity HQ to narrow the match (e.g., \"US\", \"DE\", \"GB\")."
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-business-entity-match-749485b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
