Skip to content
Docs
Esc
↑↓navigate↵open⌘Jpreview

The rewards summary.

Answers the account’s points, tiers, referral earnings, quests and what is claimable; every rate and threshold is the stored setting, sent in the answer.

GET/v1/me/rewards
Authorization
sessionAPI key · cookierequired

An opaque, revocable INVICTUS session set by createSession.

Header parameters
X-Telegram-Userstring

With the service credential: the linked Telegram user the call acts for.

matches ^[0-9]{1,20}$
Responses
200

Success.

tiersobject[]required
min items 1 · max items 12
Show properties
Array of object
levelintegerrequired
min 1 · max 12
namestringrequired
min length 1 · max length 24
volumeUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
swapFeeDiscountPercentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
cashbackPercentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
pointsMultiplierDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
swapFeesobject[]required
min items 1 · max items 8
Show properties
Array of object
categorystringrequired
Allowed:peggedhighmidlowmicrofresh
bpsintegerrequired
min 0 · max 1000
platformFeeobjectrequired
Show properties
percentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
minimumUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
referralTiersobject[]required
min items 1 · max items 12
Show properties
Array of object
levelintegerrequired
min 1 · max 12
sharePercentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
volumeUsdDecimal | nullrequired
Show properties
Any of:
Decimal
string
null
null
indirectSharePercentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
referredDiscountobjectrequired
Show properties
percentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
daysintegerrequired

A count of items.

min 0 · max 9007199254740991
endsAtinteger | nullrequired
Show properties
Any of:
integer
integer
null
null
rewardsCapPercentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
claimMinimumUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
pointRulesobjectrequired
Show properties
pointsPerCentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
referralSharePercentobjectrequired
Show properties
directDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
indirectDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
profileobjectrequired
Show properties
publicIdstringrequired
matches ^[0-9a-f]{8}$
walletstringrequired
min length 1 · max length 64
listedbooleanrequired
pointsobjectrequired
Show properties
totalstringrequired
matches ^\d{1,20}$
tradingstringrequired
matches ^\d{1,20}$
referralstringrequired
matches ^\d{1,20}$
questsstringrequired
matches ^\d{1,20}$
earnedUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
meobjectrequired
Show properties
tierintegerrequired
min 1 · max 12
volumeUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
monthVolumeUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
monthFeesUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
monthPositionEndsintegerrequired

A count of items.

min 0 · max 9007199254740991
savedUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
referralobjectrequired
Show properties
codestringrequired

A referral code: 3 to 24 letters and digits.

matches ^[A-Za-z0-9]{3,24}$
linkstring<uri>required
changeableAtinteger | nullrequired
Show properties
Any of:
integer
integer
null
null
tierintegerrequired
min 1 · max 12
volumeUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
earnedUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
betaobject | nullrequired
Show properties
Any of:
object
sharePercentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
endsAtintegerrequired

A point in time: Unix time in whole seconds, UTC.

min 0 · max 9007199254740991
null
null
userCountintegerrequired

A count of items.

min 0 · max 9007199254740991
claimableobjectrequired
Show properties
cashbackUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
referralUsdDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
questsobject[]required
max items 12
Show properties
Array of object
idstringrequired
min length 1 · max length 64
titlestringrequired
min length 1 · max length 64
unitstringrequired
Allowed:usdcount
goalDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
progressDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
bonusPointsstringrequired
matches ^\d{1,20}$
completedAtinteger | nullrequired
Show properties
Any of:
integer
integer
null
null
asOfintegerrequired

A point in time: Unix time in whole seconds, UTC.

min 0 · max 9007199254740991
401

No session, or it ended.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
429

Too many requests; retryAfterSeconds says when to ask again.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
500

Server error.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
Try it
Server
Authorization
Parameters
Request
curl -X GET '/v1/me/rewards' \
  -H 'Cookie: session=YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "tiers": [
    {
      "level": 1,
      "name": "string",
      "volumeUsd": "1234.56",
      "swapFeeDiscountPercent": "1234.56",
      "cashbackPercent": "1234.56",
      "pointsMultiplier": "1234.56"
    }
  ],
  "swapFees": [
    {
      "category": "pegged",
      "bps": 0
    }
  ],
  "platformFee": {
    "percent": "1234.56",
    "minimumUsd": "1234.56"
  },
  "referralTiers": [
    {
      "level": 1,
      "sharePercent": "1234.56",
      "volumeUsd": "1234.56"
    }
  ],
  "indirectSharePercent": "1234.56",
  "referredDiscount": {
    "percent": "1234.56",
    "days": 0,
    "endsAt": 1793145600
  },
  "rewardsCapPercent": "1234.56",
  "claimMinimumUsd": "1234.56",
  "pointRules": {
    "pointsPerCent": "1234.56",
    "referralSharePercent": {
      "direct": "1234.56",
      "indirect": "1234.56"
    }
  },
  "profile": {
    "publicId": "string",
    "wallet": "string",
    "listed": true
  },
  "points": {
    "total": "string",
    "trading": "string",
    "referral": "string",
    "quests": "string"
  },
  "earnedUsd": "1234.56",
  "me": {
    "tier": 1,
    "volumeUsd": "1234.56",
    "monthVolumeUsd": "1234.56",
    "monthFeesUsd": "1234.56",
    "monthPositionEnds": 0,
    "savedUsd": "1234.56"
  },
  "referral": {
    "code": "LPMAXI",
    "link": "http://example.com",
    "changeableAt": 1793145600,
    "tier": 1,
    "volumeUsd": "1234.56",
    "earnedUsd": "1234.56",
    "beta": {
      "sharePercent": "1234.56",
      "endsAt": 1793145600
    },
    "userCount": 0
  },
  "claimable": {
    "cashbackUsd": "1234.56",
    "referralUsd": "1234.56"
  },
  "quests": [
    {
      "id": "string",
      "title": "string",
      "unit": "usd",
      "goal": "1234.56",
      "progress": "1234.56",
      "bonusPoints": "string",
      "completedAt": 1793145600
    }
  ],
  "asOf": 1793145600
}