# Wallet Labels API (mtree)

> Wallet Labels API (mtree) is a paid API for AI agents from wallet-labels-mcp.mtree.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns labels, provenance, and machine-readable metadata for a given blockchain wallet address, including ENS and entity identification.

## Facts

- Endpoint: POST https://wallet-labels-mcp.mtree.workers.dev/v1/wallet/labels
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wallet-labels-mcp-mtree-workers-dev-5e766f38
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3WPeM8hqGtoBn5E-kf9g_

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 wallet-labels-mcp-mtree-workers-dev-5e766f38 -d '<json body>'
```

Example prompt: What's the label and entity name for the wallet address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — is it a known exchange, protocol, or named entity?

## When to prefer this

Choose this endpoint when you need to identify, label, or enrich a specific blockchain wallet address with human-readable entity names and provenance metadata, especially in agentic workflows requiring machine-readable output. Particularly useful when ENS resolution alone is insufficient and you need entity-level labels with sourced evidence.

## Known failure modes

- Unknown or unlabeled address returns empty or null label fields
- Invalid address format returns a 400 error
- Payment not included or invalid x402 payment header returns 402 Payment Required
- Address not found in the label database returns a 404 or empty result
- Rate limiting or quota exceeded returns a 429 error

## How this service works

Paid wallet-label lookup for buyer agents that need an allow/block/manual-review decision before paying, routing funds, or trusting an EVM address. Combines ENS, OFAC SDN, Tornado Cash, public labels, on-chain code, and ERC-20 metadata. Buyer-intent match: wallet labels API, address labels API, ENS wallet labels. Price 0.05 USDC on Base via x402. Demo/preview: https://wallet-labels-mcp.mtree.workers.dev/demo/labels. Contact: https://wallet-labels-mcp.mtree.workers.dev/contact.

## Output

A JSON object containing the wallet label, entity or organization name, address provenance source, route-specific evidence used to derive the label, and additional machine-readable metadata fields for the queried wallet address.

## Example request

```json
{
 "input": {
  "body": {
   "chain": "ethereum",
   "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string",
       "description": "Chain for code/token metadata; ENS is checked on Ethereum"
      },
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "EVM address to label"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/wallet-labels-mcp-mtree-workers-dev-5e766f38/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wallet-labels-mcp.mtree.workers.dev](https://www.zero.xyz/host/wallet-labels-mcp.mtree.workers.dev/llms.txt)
