Skip to content

Your recent interests

GET
/api/players/interests/sent
curl --request GET \
--url https://foxleague.ai/api/players/interests/sent \
--header 'Authorization: Bearer <token>'

Answers what you sent lately: today’s count (UTC), the limits and the cards whose current owner you told during the repeat window, which you cannot ask about again yet.

Who: a signed-in player with a team.

Refusals: none.

Success or a refusal: read success (the refusals are in the description).

Media type application/json
object
code

A machine-readable reason next to error, set only where the caller must act differently. tx_pending: the payment was not refused but could not be verified yet; keep the transaction hash and confirm again with the same hash, never pay twice.

string | null
data

The answer. Present when success is true.

object
enabled
required

Whether the feature is on. Off, the rest reads empty.

boolean
nonces
required

The cards whose current owner you told during the last repeat_days days. A card that changed hands since is not listed: you can tell its new owner.

Array<integer>
per_day
required

How many interests you can send in a UTC day.

integer format: int64
repeat_days
required

Days before you can show interest in the same card to the same owner again.

integer format: int64
sent_today
required

Interests you sent today (UTC).

integer format: int64
error

Why the request was refused, in plain words. Present when success is false.

string | null
success
required

true when the request did what it asked. false is a refusal: read error.

boolean
Example
{
"data": {
"enabled": true,
"nonces": [
4242,
5150
],
"per_day": 5,
"repeat_days": 7,
"sent_today": 2
},
"success": true
}

No valid session. The body is plain text: Missing Authorization header, Invalid Authorization format, Invalid session token or Session expired or invalid. Sign in again.

Media type text/plain
string
Example
Session expired or invalid