Skip to content

Find and read public profiles ​

Chainabit calls a person's profile a Chainer in the API. Public profile reads are different from reading the signed-in user's own profile. This tutorial demonstrates the public directory and username lookup.

Prerequisites ​

You need curl and jq. The public list and public username lookup do not require authentication. Reading /chainers/me requires an interactive access token.

Step 1: List public profiles ​

curl --fail-with-body -sS \
  "https://api.chainabit.com/api/v1/chainers?limit=10&offset=0" | jq .

A successful response contains a data array with the public profile representation. Public fields include username, fullName, avatarUrl, bio, and tagline when available. Do not assume public profiles disclose a private user UUID, email address, or account membership.

Step 2: Read the next page ​

This endpoint uses offset pagination, not a cursor. Check meta.hasNextPage and increase offset by the page size:

curl --fail-with-body -sS \
  "https://api.chainabit.com/api/v1/chainers?limit=10&offset=10" | jq .

The metadata includes limit, offset, total, and hasNextPage. Stop when no next page is available. Do not copy an opaque cursor from an older version of this tutorial.

Step 3: Look up a username ​

Set USERNAME to an actual username from the directory, then request that public profile:

curl --fail-with-body -sS \
  "https://api.chainabit.com/api/v1/chainers/$USERNAME" | jq .

The result contains the public profile under data. An unknown or unavailable profile is not permission to inspect private account data.

What you learned ​

You listed public profiles, advanced through an offset-paginated result, and read a profile by username. Public discovery is not a workspace invitation or authorization mechanism.

Next steps ​

See the profile reference, pagination guide, and workspace access guide.

Built with purpose. chainabit.com