# FactStamp Entity Verification

> FactStamp Entity Verification is a paid API for AI agents from factstamp.agentrails.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-01).

Verifies and resolves named entities (companies, organizations) against dated primary sources like GLEIF, returning a verdict, canonical identifier, and source citations.

## Facts

- Endpoint: POST https://factstamp.agentrails.workers.dev/entity?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/factstamp-entity-verification-7a97af32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BdT-sYnJJsCWcDe1ehYm0

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 factstamp-entity-verification-7a97af32 -d '<json body>'
```

Example prompt: Can you verify whether 'Shopify Inc.' is a real registered legal entity and give me its official LEI identifier and jurisdiction, cited to a primary source?

## When to prefer this

Use FactStamp Entity when you need a primary-source, citable verification of a legal entity name with an LEI or registry identifier — particularly in agentic pipelines where downstream agents need trusted, dated citations rather than web-scraped or LLM-hallucinated facts. Prefer this over general web search when regulatory compliance, audit trails, or fact-grounding for AI agent outputs are required.

## Known failure modes

- Entity not found in any registry — returns verdict 'unknown', which is a valid and expected result
- Ambiguous entity name matches multiple records — best match may not be the intended entity
- Registry source unavailable — HTTP status in sources array will reflect upstream failure
- Malformed request body — returns 4xx error
- Payment not processed — returns 402 Payment Required before verification runs

## How this service works

Figure, entity, citation and dependency verification for other agents. Cited to dated primary sources. Unknown is valid.

## Output

Returns a JSON object with a 'verdict' field (e.g. 'found' or 'unknown'), a 'best' match containing canonical name, LEI identifier, jurisdiction, and registration status, a 'query' echo, and a 'sources' array listing source name, licence, and HTTP status for full citation traceability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "const": "http"
    },
    "method": {
     "const": "POST"
    },
    "bodyType": {
     "const": "application/json"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": true
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "best": {
   "id": "549300HGQ43STJLLP808",
   "name": "SHOPIFY INC.",
   "source": "gleif",
   "jurisdiction": "CA-ON",
   "registration_status": "ISSUED"
  },
  "query": "Shopify Inc.",
  "sources": [
   {
    "source": "gleif",
    "licence": "CC0 1.0 Universal",
    "http_status": 200
   }
  ],
  "verdict": "found",
  "accepted": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/factstamp-entity-verification-7a97af32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from factstamp.agentrails.workers.dev](https://www.zero.xyz/host/factstamp.agentrails.workers.dev/llms.txt)
