# PayAI Entity Search — Company Name Disambiguation

> PayAI Entity Search — Company Name Disambiguation is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Fuzzy-searches a company by name and returns ranked candidates with cross-referenced identifiers (Wikidata QID, GLEIF LEI, SEC CIK, ticker), country, and match scores.

## Facts

- Endpoint: GET https://payai.agentstools.dev/entity/search
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payai-entity-search-company-name-disambiguation-e57a744f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NE-oS4EJjZI_Ia0UlgB7u

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 payai-entity-search-company-name-disambiguation-e57a744f
```

Example prompt: Can you search for 'Tesla' as a US company and give me its SEC CIK, LEI, Wikidata QID, and ticker — show me the top 3 ranked matches?

## When to prefer this

Use this endpoint as a cheap first step when you have only a company name and need to identify its official cross-reference IDs (LEI, CIK, QID, ticker) before calling a more expensive full entity resolution API. Prefer this when disambiguating between similarly named companies, filtering by country, or when you need to map a fuzzy human-typed name to a canonical legal entity identifier.

## Known failure modes

- No candidates found for obscure or misspelled company names
- Ambiguous names return many low-confidence candidates requiring further filtering
- Country filter may exclude valid matches if the wrong country code is provided
- Rate limiting or payment failure resulting in HTTP 402
- Names with special characters or abbreviations may reduce match quality

## How this service works

Disambiguate a company by name: fuzzy legal-name search returning ranked candidates, each with the ids known for it (Wikidata QID, GLEIF LEI, SEC CIK, ticker), country and a match score. Cheaper first step before entity/resolve.

## Output

A ranked list of up to 10 candidate companies matching the queried name, each with cross-referenced identifiers (Wikidata QID, GLEIF LEI, SEC CIK, stock ticker), the company's country, and a numerical match confidence score. This is a lightweight disambiguation step intended to precede full entity resolution.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "Company name to search for"
      },
      "limit": {
       "type": "integer",
       "maximum": 10,
       "minimum": 1,
       "description": "Max candidates to return, default 5"
      },
      "country": {
       "type": "string",
       "description": "Optional country filter, e.g. US"
      }
     }
    }
   },
   "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/payai-entity-search-company-name-disambiguation-e57a744f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
