REST APIAccount

Get account by address

GET
/account/{address}

Get the public profile of any wallet address: its display name, its profile image once it has passed moderation, and its leaderboard points and rank. A wallet that never set up a profile has a null name. An address with no wallet returns 404.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key authentication via the x-api-key header.

Path Parameters

address*string

The wallet's address. For a Predict account, use the account's address.

Response Body

application/json; charset=utf-8
  1. response

Response for GET /v1/account/{address}

success*boolean
data*

The public profile of a wallet

Example Request
curl -X GET 'https://api.predict.fun/v1/account/string'
Example Response
{  "success": true,  "data": {    "name": "string",    "address": "string",    "imageUrl": "string",    "points": {      "total": 0.1,      "rank": 0,      "season": 0    }  }}