Get username by address
Returns the username tied to an address. With a valid session token for that address, a username is generated and claimed on first lookup.
Returns the username tied to an address. With a valid session token for that address, a username is generated and claimed on first lookup.
user*stringUser address in hex format (0x prefix optional)
Username profile
application/json- response
Username profile
username*stringCanonical lowercase username
address*stringOwner address, checksummed
chain_id*numberChain the username was set on
created_at*numberUnix timestamp (seconds)
updated_at*numberUnix timestamp (seconds)
last_rename_at*|nullcurl -X GET 'https://data.scalar.market/account/string/username'{
"username": "string",
"address": "string",
"chain_id": 0,
"created_at": 0,
"updated_at": 0,
"last_rename_at": 0
}List account trades GET
Returns paginated trades for the account, with side, price, quantity, fee and maker flag.
Get OHLC candles GET
Returns OHLC candlestick data for a feed. Reads from ClickHouse with gap detection; missing ranges are backfilled from the Pyth Lazer History API and the in-progress candle is appended from the live ingester. Set ema=true to include EMA-12 and EMA-26 arrays, bb=true to include Bollinger Bands. Live windows are cached for 5 seconds; fully historical windows for 10 minutes.