Skip to main content
GET
/
v1
/
users
/
wallet
/
{walletAddress}
Get user by wallet address
import { ParagraphAPI } from "@paragraph_xyz/sdk"

const api = new ParagraphAPI()
const user = await api.getUserByWallet("0xc9ddb5E37165827BBBFf15b582E232C06862C4E8")
{
  "id": "<string>",
  "walletAddress": "<string>",
  "avatarUrl": "<string>",
  "publicationId": "<string>",
  "name": "<string>",
  "bio": "<string>",
  "farcaster": {
    "username": "<string>",
    "displayName": "<string>",
    "fid": 123
  }
}

Path Parameters

walletAddress
string
required

Ethereum wallet address

Response

User details retrieved successfully

id
string
required

Unique identifier for the user

publicationId
string
required

ID of the publication this user belongs to

walletAddress
string

Wallet address of the user

avatarUrl
string<uri>

URL to the user's avatar image

name
string

Display name of the user

bio
string

Brief biography of the user (max 500 characters)

Maximum length: 500
farcaster
object

Farcaster profile information, if linked

I