# Farcaster Identity & Wallet Resolver

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

Bidirectionally resolves Farcaster identities: converts Ethereum addresses to FIDs, and FIDs or usernames to canonical identity bundles including custody address and verified wallets.

## Facts

- Endpoint: GET https://api.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-d3bb9d4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_op09-Ft_wRoBrNr67rTZP

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-d3bb9d4c
```

Example prompt: Can you look up the Farcaster identity for the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — I need their FID, username, and any verified wallets linked to that account.

## When to prefer this

Use this endpoint when you need to bridge Farcaster social identity with on-chain Ethereum wallet data — either to find which Farcaster account owns a wallet address, or to discover all wallets (custody + verified) for a known Farcaster user. Prefer this over generic ENS or on-chain resolvers when the target identity is specifically a Farcaster user.

## Known failure modes

- Address not found on Farcaster — no FID linked to that custody or verified address
- Invalid Ethereum address format — must be 0x-prefixed 40-character hex
- FID not found — the integer provided does not correspond to any registered Farcaster account
- Username not found — the provided username does not exist on Farcaster
- Missing required query parameter — must supply at least one of fid, address, or username
- Payment failure — x402 payment of 0.005 USDC not completed or rejected

## 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 a canonical Farcaster identity bundle containing the FID (integer), username, custody address, and list of verified Ethereum wallet addresses associated with the resolved identity. Works bidirectionally — supply an address, FID, or username and get the full identity record.

## 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-d3bb9d4c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
