Universal Identity & Domain Resolver API for Ethereum, ENS ecosystem, Lens, Farcaster, and Solana.
Web3.bio Profile API enables developers to easily and quickly integrate Web3 universal profiles from Ethereum / ENS, Farcaster, Lens, Basenames, Linea Name Service, Solana / SNS, and more into their apps. These APIs are already integrated into Web3.bio search and profile services.
Live docs: https://api.web3.bio
This documentation describes the publicly available endpoints of the Web3.bio Profile API, which is a set of RESTful JSON APIs. Currently, the APIs are offered for free to assist developers in getting started with Web3 profiles.
Web3.bio Profile API indexes identity data from public verifiable connections and on-chain records.
- Ethereum Name Service (ENS)
- Lens Protocol
- Farcaster
- Basenames
- Celonames
- Linea Name Service
- Solana Name Service (SNS)
- Space ID
- Unstoppable Domains
Base URL: https://api.web3.bio
| Endpoint | Description |
|---|---|
GET /profile/{identity} |
Universal profile across platforms |
GET /profile/{platform}/{identity} |
Platform-specific profile |
GET /profile/batch/{ids} |
Batch profile query |
GET /ns/{identity} |
Name service resolution (replace profile with ns) |
GET /ns/batch/{ids} |
Batch name service query |
GET /credential/{identity} |
Verifiable credentials |
GET /domain/{identity} |
Domain WHOIS-style query |
GET /wallet/{identity} |
Wallet holdings and positions |
GET /avatar/{identity} |
Profile avatar |
GET /avatar/svg/{identity} |
SVG avatar |
Platform-specific routes are available under /profile and /ns for ens, ethereum, farcaster, lens, basenames, linea, solana, and sns.
See the interactive API documentation for request/response examples.
Partner endpoints return tailored response formats for third-party integrations.
| Endpoint | Description |
|---|---|
GET /partner/etherscan/{identity} |
Profile data formatted for Etherscan (ENS, Lens, Farcaster, Ethereum, Solana, SNS) |
For React developers, web3bio-profile-kit provides hooks, types, and components for fetching and displaying Web3 profile data.
pnpm add web3bio-profile-kitThe Profile API is free, but requests without an API key are rate-limited. To obtain an API key, contact Web3.bio via Twitter (X) or the Telegram group.
Include the API key in the request header:
X-API-KEY: Bearer {API_KEY}
pnpm install
pnpm devThe dev server starts at http://localhost:3000.
| Variable | Description |
|---|---|
GRAPHQL_SERVER |
Identity Graph GraphQL server URL |
PROFILE_ENDPOINT |
Public API base URL (defaults to https://api.web3.bio) |
GENERAL_IDENTITY_GRAPH_API_KEY |
Internal API key injected by middleware |
pnpm testTests run against the deployed preview URL in CI. For local diff tests:
pnpm test:diffDeployed to Cloudflare Workers via OpenNext:
pnpm deploy # production
pnpm preview # remote preview
pnpm staging # upload versionapp/api/
├── profile/ # Universal and platform profiles
├── ns/ # Name service resolution
├── credential/ # Verifiable credentials
├── domain/ # Domain queries
├── wallet/ # Wallet data
├── avatar/ # Avatar resolution
├── search/ # Search and suggestions
├── partner/ # Partner integrations
└── refresh/ # Cache refresh
Feel free to submit a pull request to propose bug fixes and improvements. You may also give feature feedback or report bugs to Web3.bio Twitter and the Telegram group.