Skip to Content
Scalar
Data APIs

Get profile by username

Resolves a username to its owner profile.

GET
/username/{username}

Resolves a username to its owner profile.

Path Parameters

username*string

Username: 3-20 chars, lowercase a-z, 0-9, single - or _ separators

Response Body

Username profile

application/json
  1. response

Username profile

username*string

Canonical lowercase username

address*string

Owner address, checksummed

chain_id*number

Chain the username was set on

created_at*number

Unix timestamp (seconds)

updated_at*number

Unix timestamp (seconds)

last_rename_at*|null
Example Request
curl -X GET 'https://data.scalar.market/username/string'
Example Response
{
  "username": "string",
  "address": "string",
  "chain_id": 0,
  "created_at": 0,
  "updated_at": 0,
  "last_rename_at": 0
}