Skip to main content
GET
/
auth
/
account
Get account
curl --request GET \
  --url https://sandbox.api.fantasyfutbol.app/v1/auth/account \
  --header 'x-api-key: <api-key>'
{
  "statusCode": 123,
  "message": "<string>",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "tier": "free",
    "is_active": true,
    "api_key_active": true,
    "config": {
      "rate_limit": {
        "per_minute": {
          "limit": 123,
          "window": "minute",
          "used": 123,
          "remaining": 123,
          "reset_at": "2023-11-07T05:31:56Z"
        },
        "per_day": {
          "limit": 123,
          "window": "minute",
          "used": 123,
          "remaining": 123,
          "reset_at": "2023-11-07T05:31:56Z"
        }
      },
      "pricing": {
        "currency": "<string>",
        "per_month": 1,
        "per_year": 1
      },
      "features": {
        "fantasy_leagues": {
          "max": 1,
          "used": 1,
          "remaining": 1,
          "state": "ok",
          "is_blocked": true
        },
        "mini_leagues": {
          "max": 1,
          "used": 1,
          "remaining": 1,
          "state": "ok",
          "is_blocked": true
        },
        "squads": {
          "max": 1,
          "used": 1,
          "remaining": 1,
          "state": "ok",
          "is_blocked": true
        },
        "contests": {
          "max": 1,
          "used": 1,
          "remaining": 1,
          "state": "ok",
          "is_blocked": true
        },
        "users": {
          "max": 1,
          "used": 1,
          "remaining": 1,
          "state": "ok",
          "is_blocked": true
        }
      }
    }
  }
}

Authorizations

x-api-key
string
header
required

Response

Account retrieved

statusCode
integer
required
message
string
required
data
object
required