# Farcaster Profile Lookup

> Farcaster Profile Lookup 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).

Returns a fused Farcaster profile object including display name, bio, avatar, verified Ethereum wallets, custody address, follower/following/cast counts, and account age from a single FID or username lookup.

## Facts

- Endpoint: GET https://payai.agentstools.dev/farcaster/profile
- 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-profile-lookup-a2918b7c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_16eSxXlmLwz_FsGlgtYM7

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-profile-lookup-a2918b7c
```

Example prompt: Can you pull up the full Farcaster profile for username 'dwr.eth' — I need their bio, avatar, verified Ethereum wallets, and follower count all in one shot.

## When to prefer this

Choose this endpoint when you need a complete, consolidated Farcaster identity profile in a single call — especially when you need both social metadata (bio, avatar, follower counts) and on-chain identity data (verified wallets, custody address) together. It replaces multiple raw Farcaster Hub reads and is ideal for agent workflows that need to resolve Web3 identity from a social handle or FID without building custom aggregation logic.

## Known failure modes

- Neither fid nor username provided — request fails with a missing parameter error
- Unknown FID or username — returns not found error
- FID below minimum value of 1 — validation error
- Network or hub unavailability causing upstream read failures
- Ambiguous ENS resolution if username matches multiple identities

## How this service works

One-call Farcaster profile fusion. Give one of fid or username and get back the full profile (display name, bio, picture, url, location, socials), the primary Ethereum address, every verified on-chain wallet, the custody address, following and follower and cast counts, and the account age — the fused object that replaces four or five raw hub reads.

## Output

A single fused JSON object containing the user's display name, bio, profile picture URL, website URL, location, social links, primary Ethereum address, all verified on-chain wallet addresses, custody address, follower count, following count, cast count, and account age — consolidating data that would otherwise require four or five separate Farcaster Hub reads.

## 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"
      },
      "username": {
       "type": "string",
       "description": "Farcaster username (fname or ENS), 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-profile-lookup-a2918b7c/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)
