# P0 Agent Economy Index – Counterparty Screening

> P0 Agent Economy Index – Counterparty Screening is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.015/call, status unknown (last checked 2026-10-30).

Screens a named entity or wallet address against sanctions lists (OFAC SDN, UK Sanctions List), GLEIF LEI records, and FDIC bank data to produce a compliance snapshot

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/check/counterparty?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/p0-agent-economy-index-counterparty-screening-c536cfe3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BYz7F-7qFCn96XGLiZxvy

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 p0-agent-economy-index-counterparty-screening-c536cfe3
```

Example prompt: Screen 'Deutsche Bank' (country DE) for sanctions — check OFAC SDN and UK lists, pull their GLEIF LEI record, and tell me if there are any flags.

## When to prefer this

Choose this endpoint when you need a combined sanctions + LEI + FDIC compliance snapshot for a named entity or wallet in a single call, with auditable source attribution and snapshot timestamps. Prefer this over manual OFAC or GLEIF lookups when you want a structured, machine-readable compliance report for agent workflows. Best suited for KYC/AML pre-screening, counterparty due diligence, and automated onboarding pipelines. Not suitable for ongoing monitoring (point-in-time only) or legal clearance opinions.

## Known failure modes

- Name too short (under 3 chars) or too long (over 100 chars) returns validation error
- Invalid LEI format (not 20 alphanumeric chars) returns schema error
- GLEIF or OFAC sources temporarily unavailable returns status 'unavailable' for affected section with complete: false
- Non-US country returns FDIC section as 'not_applicable'
- Fuzzy name matches may return partial or low-confidence LEI records requiring human review
- Payment of $0.015 USDC required; missing or invalid x402 payment header returns 402

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 listings are not covered.

## Output

A JSON object containing: a summary with per-section status (ok, not_found, unavailable, not_applicable) and any compliance flags; a GLEIF LEI record with legal name, jurisdiction, entity status, registration status, and parent relationships; a sanctions section with OFAC SDN and UK Sanctions List hit details, candidate scores, and list freshness; a FDIC section (for US entities) with bank registration status; an as_of timestamp for the snapshot; and a note clarifying the non-advisory nature of the results.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "lei": {
       "type": "string",
       "pattern": "^[A-Za-z0-9]{18}[0-9]{2}$",
       "description": "Optional 20-character LEI: read instead of a name search"
      },
      "name": {
       "type": "string",
       "maxLength": 100,
       "minLength": 3,
       "description": "Counterparty name in Latin letters"
      },
      "address": {
       "type": "string",
       "maxLength": 128,
       "minLength": 20,
       "description": "Optional crypto wallet address to screen too"
      },
      "country": {
       "type": "string",
       "pattern": "^[A-Za-z]{2}$",
       "description": "Optional ISO country, e.g. DE (non-US skips the FDIC section)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "summary",
      "sanctions",
      "lei",
      "us_bank",
      "as_of",
      "sources",
      "note"
     ],
     "properties": {
      "lei": {
       "type": "object",
       "required": [
        "status"
       ],
       "properties": {
        "lei": {
         "type": "string"
        },
        "as_of": {
         "type": "string"
        },
        "basis": {
         "type": "string"
        },
        "match": {
         "type": "string"
        },
        "reason": {
         "type": "string"
        },
        "source": {
         "type": "string"
        },
        "status": {
         "enum": [
          "ok",
          "not_found",
          "unavailable",
          "not_applicable"
         ],
         "type": "string",
         "description": "ok, not_found, unavailable or not_applicable"
        },
        "legal_name": {
         "type": [
          "string",
          "null"
         ]
        }
       },
       "description": "GLEIF LEI record: by lei=, or the best name match (match: exact, prefix, contains, words, fuzzy)
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lei": {
   "lei": "7LTWFZYICNSX8D621K86",
   "as_of": "2026-10-25T09:20:00.000Z",
   "basis": "name_best_match",
   "match": "exact",
   "source": "GLEIF Global LEI Index",
   "status": "ok",
   "legal_name": "DEUTSCHE BANK AKTIENGESELLSCHAFT",
   "name_match": "exact",
   "source_url": "https://search.gleif.org/",
   "attribution": "LEI reference data: GLEIF, CC0 1.0; not endorsed by GLEIF or any LOU.",
   "jurisdiction": "DE",
   "registration": {
    "status": "ISSUED",
    "next_renewal_date": "2027-04-02"
   },
   "direct_parent": {
    "relationship": "none_reported"
   },
   "entity_status": "ACTIVE",
   "legal_address": {
    "city": "Frankfurt am Main",
    "country": "DE"
   },
   "record_complete": true,
   "ultimate_parent": {
    "relationship": "none_reported"
   }
  },
  "note": "Screening and public-record facts as each source published them at its as_of time; not legal advice, not a credit or safety opinion and not clearance.",
  "as_of": "2026-10-25T09:20:00.000Z",
  "query": {
   "lei": null,
   "name": "Deutsche Bank",
   "address": null,
   "country": "DE"
  },
  "sources": [
   "sanctions: OFAC SDN + UK Sanctions List",
   "lei: GLEIF"
  ],
  "summary": {
   "flags": [],
   "complete": true,
   "sections": {
    "lei": "ok",
    "us_bank": "not_applicable",
    "sanctions": "ok"
   }
  },
  "us_bank": {
   "reason": "country_not_us",
   "source": "FDIC BankFind Suite API",
   "status": "not_applicable",
   "message": "the FDIC covers US institutions only; country=DE",
   "source_url": "https://banks.data.fdic.gov/bankfind-suite/"
  },
  "sanctions": {
   "list": "OFAC SDN + UK Sanctions List",
   "name": {
    "hits": [],
    "match": false,
    "query": "Deutsche Bank",
    "truncated": false,
    "match_type": "none",
    "normalized": "deutsche bank",
    "candidates_scored": 41
   },
   "note": "Screening against OFAC SDN (as of 2026-10-22), not legal advice. A possible name match needs human review, and no match does not mean a party is cleared.",
   "as_of": "2026-10-25T06:00:00.000Z",
   "lists": [
    {
     "date": "2026-10-22",
     "list": "OFAC SDN",
     "fresh": true,
     "records": 18800
    }
   ],
   "source": "OFAC SDN, U.S. Department of the Treasury",
   "status": "ok",
   "address": null,
   "list_date": "2026-10-22",
   "checked_at": "2026-10-25T06:00:00.000Z",
   "source_url": "https://www.treasury.gov/ofac/downloads/sdn.xml",
   "attribution": [
    "U.S. government work (17
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/p0-agent-economy-index-counterparty-screening-c536cfe3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev](https://www.zero.xyz/host/x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/llms.txt)
