Fetch fresh FID
Register New User
Fetch fresh FID
Fetches FID to assign it to new user.
GET
Fetch fresh FID
Documentation Index
Fetch the complete documentation index at: https://docs.neynar.com/llms.txt
Use this file to discover all available pages before exploring further.
Related documentation:
- Create new Farcaster account - Complete tutorial
- Managing Onchain Wallets - Wallet setup guide
Understanding Wallet ID for FID Operations
This endpoint fetches a fresh FID (Farcaster ID) that can be assigned to a new user. When you fetch a FID, Neynar maintains a “shelf” of pre-registered FIDs that are replenished asynchronously via onchain transactions.Wallet ID (REQUIRED)
Thex-wallet-id header is required for this endpoint. You must provide a wallet_id to cover the costs of async FID shelf replenishment.
New to Wallet IDs? See Managing Onchain Wallets to create your app wallet in the developer portal and obtain your
x-wallet-id value.Code Examples
Error Handling
Error: Missing Wallet ID
x-wallet-id header. See Managing Onchain Wallets for setup instructions.
Error: Invalid Wallet ID
Error: Insufficient Wallet Balance
Important Notes
What Happens Behind the Scenes
- You call this endpoint → Neynar returns a pre-registered FID from the shelf
- Neynar replenishes → Async onchain transactions register new FIDs to refill the shelf
Next Steps
Register the Account
After fetching a FID, register the account within 10 minutes
Manage Your Wallet
Learn how to set up and fund your wallet for onchain operations
Full Tutorial
Complete guide to creating Farcaster accounts
Contact Support
Need help? Reach out to our team
Authorizations
API key to authorize requests
Headers
Wallet ID to use for transactions
Response
Success
The unique identifier of a farcaster user or app (unsigned integer)
Required range:
x >= 0Example:
3