# P0 Agent Economy Index — LEI Changes Feed

> P0 Agent Economy Index — LEI Changes Feed is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-20).

Returns GLEIF Global LEI Index records whose registration data changed on or after a given date, filtered optionally by status and country

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/lei/changes?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/p0-agent-economy-index-lei-changes-feed-33f41847
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tn-Q4I-CQsPkFCV4dzhSv

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-lei-changes-feed-33f41847
```

Example prompt: Show me all LEI records that changed since 2026-10-01 in Switzerland — up to 50 per page — so I can check for newly lapsed or created entities.

## When to prefer this

Choose this endpoint when you need a reliable, date-windowed feed of LEI registration changes (creations, lapses, annulments, mergers, retirements) sourced directly from the GLEIF Global LEI Index. It is ideal for compliance monitoring, counterparty due diligence refreshes, KYC/AML pipelines, and audit reconciliation workflows where you need structured change-type classification and country/status filtering. It is not a substitute for full LEI search or real-time streaming; prefer it for periodic batch pulls of recent changes rather than single-entity point lookups.

## Known failure modes

- Missing or malformed 'since' date returns a validation error — date must match YYYY-MM-DD and be within the past 400 days
- Invalid ISO country code (not 2 alpha chars) causes a 400-level error
- Page number exceeding 50 or limit exceeding 200 returns a validation error
- Unknown registration status string may return empty results or an error
- GLEIF upstream unavailability may cause timeouts or stale cached responses
- Requesting dates older than 400 days is rejected by the API

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over a verified x402 seller set (sellers whose 402 P0 read itself plus registry-verified entries), scored by relevance and evidence of a live 402 challenge, with a receipt naming the snapshot hash and scoring revision; demand figures are P0's own on-chain counts of transfers to the sellers' wallets. /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 query echo, aggregate counts (records_created, records_updated, updated_records_now_lapsed) for the full window, a paginated array of changed LEI records (each with LEI code, legal name, city, country, jurisdiction, managing LOU, entity status, registration status, change type, last update timestamps, next renewal date, and initial registration date), pagination metadata (offset, returned, truncated), snapshot timestamp (as_of), GLEIF golden copy publication time, source URL, and CC0 attribution notice.

## 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": [
      "since"
     ],
     "properties": {
      "page": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      },
      "limit": {
       "type": "integer",
       "maximum": 200,
       "minimum": 1
      },
      "since": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "status": {
       "type": "string"
      },
      "country": {
       "type": "string",
       "pattern": "^[A-Za-z]{2}$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "description": "Shortened to fit the header; full example and schema: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/openapi.json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Records whose last update date is on or after since, newest update first; counts cover the whole window. change is derived from the current record fields.",
  "as_of": "2026-10-25T20:00:00.000Z",
  "query": {
   "page": 1,
   "limit": 2,
   "since": "2026-10-24",
   "status": null,
   "country": "CH"
  },
  "cached": false,
  "counts": {
   "records_created": 3,
   "records_updated": 10,
   "updated_records_now_lapsed": 2
  },
  "offset": 0,
  "source": "GLEIF Global LEI Index",
  "records": [
   {
    "lei": "8945003SF0UFMRW58722",
    "city": "Zug",
    "change": "created",
    "country": "CH",
    "legal_name": "DFX AG",
    "jurisdiction": "CH",
    "managing_lou": "529900F6BNUR3RJ2WH29",
    "entity_status": "ACTIVE",
    "last_update_at": "2026-10-24T17:01:55Z",
    "last_update_date": "2026-10-24",
    "next_renewal_date": "2026-10-24",
    "registration_status": "LAPSED",
    "initial_registration_date": "2025-10-24"
   }
  ],
  "returned": 1,
  "truncated": true,
  "source_url": "https://search.gleif.org/",
  "attribution": "LEI reference data: GLEIF (Global Legal Entity Identifier Foundation), api.gleif.org, CC0 1.0. This service is not provided, supported or endorsed by GLEIF or any LOU.",
  "golden_copy_published": "2026-10-25T08:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/p0-agent-economy-index-lei-changes-feed-33f41847/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)
