🎒
HashPack Docs
  • HashPack Documentation
    • Introduction
    • General Guidelines
      • Basics
      • Mainnet/Testnet/Previewnet
      • Mirror Nodes
      • HIP's & Network Updates
  • dApp Developers
    • WalletConnect
    • Dapp Browser
    • Deeplinks
    • User Profiles
      • Profile API
        • Get Single Profile
        • Get Multiple Profiles
        • Update Profile
    • Token Gating
    • Tutorials
    • Case Studies
  • NFT Creators
    • Introduction
    • Metadata Standards
    • Asset Storage
      • IPFS Hosting
      • Arweave Storage
      • Custom Storage
    • Testing your NFT
  • Token Creators
    • Token Creator Tool
    • Token Icon
    • Token Price
    • OnRamp Support
  • Enterprise
    • HashPack Studio
  • Game Developers
    • Coming Soon!
Powered by GitBook
On this page
  1. dApp Developers
  2. User Profiles
  3. Profile API

Get Single Profile

Get Profile

This endpoint allows you to get a users profile

POST https://api.hashpack.app/user-profile/get

It expects the following data:

{
    accountId: "0.0.1234",
    network: "mainnet" | "testnet"
}

It will return:

{
    "profilePicture": {
        "tokenId": "0.0.1234",
        "serial": 110,
        "thumbUrl": "https://hashpack.b-cdn.net/ipfs/Qmf8apzmTGrA5k2Y1DwBeUnpjEjUpRkcBpNx3ashKdp1ui?optimizer=image&width=350"
    },
    "theme": {
        "tokenId": "0.0.1234",
        "metadata": "ipfs://QmPcXnjJN7phcau2FJAFTXyRRAx43zrFmsW1cBLNjJuHdh",
        "themeId": "basic_early_supporter"
    },
    "username": {
        "name": "user.hbar",
        "tokenId": "0.0.1234",
        "serial": 141
    },
    "accountId": "0.0.1234",
    "network": "mainnet",
    "updatedAt": "2024-11-07T01:18:43.437Z",
    "nftFolders": [
        {
            "name": "My fav NFTs",
            "items": [
                {
                    "tokenId": "0.0.1518294",
                    "serial": 63
                }
            ]
        },
    ],
    "currency": "USD",
    "contacts": [
        {
            "name": "My Friend",
            "id": "0.0.1234",
            "note": "",
            "defaultMemo": ""
        },
    ],
    "bio": "Test bio",
    "twitterHandle": "username"
}

Last updated 6 months ago