# Farcaster User Profile Lookup

> Farcaster User Profile Lookup is a paid API for AI agents from api.web3identity.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Retrieves a Farcaster user's profile including FID, username, display name, and follower count by FID, username, or connected wallet address

## Facts

- Endpoint: GET https://api.web3identity.com/api/farcaster/linda
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-web3identity-com-f0e9cb3d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rtnn2seu2xRW8RiFqsNdP

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 api-web3identity-com-f0e9cb3d
```

Example prompt: Can you pull up the Farcaster profile for the user 'linda' — I want to see her FID, display name, and how many followers she has?

## When to prefer this

Use this endpoint when you need to resolve a Farcaster identity — username, FID, or connected wallet address — into a structured user profile with social stats. Prefer this over scraping Farcaster directly or using on-chain lookups when you need a fast, aggregated profile response including follower counts and display names.

## Known failure modes

- Username or FID not found — returns 404 or empty result
- Invalid or unrecognized wallet address — no profile match
- Payment not included or rejected — 402 payment required error
- Rate limiting or server error — 5xx response
- Malformed query parameter — 400 bad request

## How this service works

Get Farcaster user profile by FID, username, or connected address

## Output

Returns a JSON object with the user's Farcaster ID (FID), username, display name, and follower count for the queried user.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "fid": {
       "type": "number"
      },
      "username": {
       "type": "string"
      },
      "followers": {
       "type": "number"
      },
      "displayName": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-web3identity-com-f0e9cb3d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.web3identity.com](https://www.zero.xyz/host/api.web3identity.com/llms.txt)
