# Farcaster Identity & Wallet Resolver

> Farcaster Identity & Wallet Resolver is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Bidirectionally resolves Farcaster identities: look up FID, username, custody address, and verified wallets from any of FID, username, or Ethereum address.

## Facts

- Endpoint: GET https://payai.agentstools.dev/farcaster/resolve
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/farcaster-identity-wallet-resolver-1816c29c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l9xS20I-Lai4kypWBqYOD

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 farcaster-identity-wallet-resolver-1816c29c
```

Example prompt: What is the Farcaster FID and all verified wallet addresses for the username 'dwr'?

## When to prefer this

Choose this endpoint when you need to bridge Farcaster social identity (FID or username) with on-chain Ethereum wallet addresses, or reverse a wallet address to a Farcaster profile. It handles both directions in a single call and returns custody plus all verified wallets, making it ideal for airdrop targeting, on-chain social graph enrichment, or identity verification workflows in crypto-native applications.

## Known failure modes

- Unknown address or FID returns 404 with no matching identity
- A verified address (non-custody) may require optional enrichment to resolve — without it, the lookup may return no result
- Invalid Ethereum address format (not 0x + 40 hex chars) returns a validation error
- Username not found on Farcaster returns empty or 404
- Rate limiting or payment failure may return 402 or 429

## How this service works

Bidirectional Farcaster identity and wallet resolver. Give an address to get the FID it belongs to (custody address resolves keyless; a verified address needs the optional enrichment), or give a fid or username to get the canonical identity (fid, username, custody address and verified wallets). Crypto-native reconciliation of social identity and wallet.

## Output

Returns the resolved Farcaster identity including FID (integer), username, custody address (Ethereum hex), and a list of verified wallet addresses associated with the account. Direction depends on the query parameter supplied: address → FID/profile, or FID/username → addresses.

## 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": [],
     "properties": {
      "fid": {
       "type": "integer",
       "minimum": 1,
       "description": "Farcaster ID (FID), a positive integer"
      },
      "address": {
       "type": "string",
       "description": "Ethereum address (0x and 40 hex chars) to reverse to a FID"
      },
      "username": {
       "type": "string",
       "description": "Farcaster username, without the at-sign"
      }
     }
    }
   },
   "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/farcaster-identity-wallet-resolver-1816c29c/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)
