{"uid":"cap_lNUrt3HrKZXssjG3oHTpr","slug":"api-web3identity-com-13f9a9b0","name":"Farcaster User Profile Lookup","description":"Get Farcaster user profile by FID, username, or connected address","url":"https://api.web3identity.com/api/farcaster/v","method":"GET","headers":{},"bodySchema":{"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"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"identifier":"vitalik.eth","identifierType":"username"}}},"response":{"bio":"Technowatermelon. Elder Millenial. Building Farcaster. \n\nnf.td/varun","fid":2,"avatar":"https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/e3d80f99-f7c0-4b04-dcad-557593d85500/original","source":"warpcast","username":"v","verified":false,"followers":262059,"following":1854,"timestamp":"2026-06-13T04:18:44.859Z","displayName":"Varun Srinivasan"}},"exampleRequest":{"identifier":"vitalik.eth","identifierType":"username"},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B0Ke-fix76QpM9ldeDSOT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieve a Farcaster user's profile data (FID, username, display name, followers) by FID, username, or connected wallet address","exampleAgentPrompt":"Can you look up the Farcaster profile for the username 'vitalik.eth' and tell me their FID, display name, and how many followers they have?","exampleUseCases":[{"title":"Verify creator identity before collaboration","prompt":"I just got a message from someone claiming to be a well-known crypto creator. Can you look them up on Farcaster using their wallet address 0x1234... and tell me their actual username, display name, and follower count so I can verify they're legit?"},{"title":"Enrich blockchain transaction with social data","prompt":"We're tracking a major wallet address 0x5678... that just made a huge transaction. Can you pull their Farcaster profile to see who's behind it? I need their username, FID, and how many followers they have."},{"title":"Build user directory for web3 community","prompt":"I'm creating a directory of influential voices in our DAO. Can you look up these Farcaster FIDs—12345, 67890, and 54321—and get me each person's username, display name, and follower count so I can rank them?"}],"resultDescription":"Returns a JSON object containing the user's Farcaster ID (FID), username, display name, and follower count for the matched Farcaster account.","failureModes":["User not found for given FID/username/address — returns empty or 404-style response","Invalid input type or missing required 'type' field — schema validation error","Wallet address not connected to any Farcaster account — empty result","Rate limiting or payment failure — 402 payment required or 429 too many requests","Malformed FID (non-numeric) or username format error"],"whenToPreferThis":"Use this endpoint when you need to resolve a Farcaster identity from a known FID, username, or Ethereum wallet address — especially useful for enriching on-chain data with social identity context, verifying Farcaster presence, or displaying human-readable profile information in a web3 context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:51:47.930Z","isFirstParty":false}