FansquareAPI reference
Open the app

Fans

Get a fan

GET/v1/accounts/{account_id}/fans/{fan_id}

Returns the CRM state Fansquare holds for this fan on this account. Returns 404 if the account has no relation with this fan.

Required scoperead:fans
Rate limit60 requests per minute
curl 'https://api.fansquare.so/v1/accounts/c851d9d6-b90b-4958-aed2-2fdaa2fe21a3/fans/a6df8022-e509-4575-ad28-e29c2d1d42dc' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste"
{
  "fan_id": "a6df8022-e509-4575-ad28-e29c2d1d42dc",
  "fan_username": "alex_92",
  "assigned_user_id": "ki9DZXxpgGz7KiDqHj88eCxHg56W",
  "ai_active": true,
  "tags": [
    {
      "id": "58368a92-838b-4cb0-ab37-d54ce826ea11",
      "name": "VIP"
    }
  ],
  "nickname": "string",
  "language": "string",
  "subscription": {
    "status": "active_subscriber",
    "started_at": "2026-10-12T21:14:00.000Z",
    "expires_at": "2026-10-12T21:19:00.000Z",
    "is_free": true
  },
  "spend": {
    "total_cents": 5000,
    "purchase_count": 12,
    "currency": "EUR",
    "last_purchase_at": "2026-10-12T21:14:00.000Z"
  },
  "is_online": true,
  "last_seen_at": "2026-10-12T21:14:00.000Z"
}

Parameters

Headers

  • Fansquare-Versionstringrequired

    API version to pin. Accepts the mineral name or the release date of a version.

Path

  • account_idstringrequired

    MYM account id (account.external_id in GET /v1/creators).

    min length 1
  • fan_idstringrequired

    MYM fan id.

    format uuid

Response

OK, application/json

  • fan_idstringrequired

    MYM fan id.

  • fan_usernamestring | nullrequired

    MYM username of the fan, when available.

  • assigned_user_idstring | nullrequired

    Fansquare id of the assigned employee, or null. Resolve names with GET /v1/employees.

  • ai_activebooleanrequired

    true while an AI currently holds the lock on this fan.

  • tagsarray of objectsrequired

    Tags set on this fan in Fansquare. Empty when the fan has no tag. Full catalog with colors: GET /v1/tags.

    • idstringrequired

      Fansquare tag id, from GET /v1/tags.

    • namestringrequired

      Tag label, as shown on the fan card in Fansquare.

  • nicknamestring | nullrequired

    Nickname the creator gave this fan, as shown in Fansquare, or null.

  • languagestring | nullrequired

    Language of the conversation detected by Fansquare, as an ISO 639-1 code (fr, en), or null when not detected yet.

  • subscriptionobjectrequired

    Subscription of the fan to this account. Same source as the statuses filter.

    • statusstringrequired

      Subscription status, in the vocabulary of the statuses filter: active_subscriber, former_subscriber, interested (follows the creator without subscribing), or none when the fan was never classified.

      Valuesactive_subscriberformer_subscriberinterestednone
    • started_atstring | nullrequired

      Start of the current subscription, or of the last one for a former subscriber (ISO 8601). Null when unknown.

      format date-time
    • expires_atstring | nullrequired

      End of the current subscription period, or of the last one for a former subscriber (ISO 8601). Null for a free subscription, which never ends, and null when unknown.

      format date-time
    • is_freeboolean | nullrequired

      true for a free subscription (it never ends, expires_at is null), false for a paid one. Null when unknown: no subscription, or not determined yet.

  • spendobjectrequired

    À-la-carte purchases of the fan on this account (tips, private media, pushes): subscriptions and refunded orders are excluded.

    • total_centsintegerrequired

      Total à-la-carte spend of the fan on this account, in euro cents. GROSS: what the fan paid, before the MYM commission, whereas the revenue analytics are NET. Same figure the min_spend_cents filter reads.

    • purchase_countintegerrequired

      Number of paid à-la-carte purchases of the fan on this account: approved orders with an amount. Free unlocks, pending, declined and refunded orders are not counted.

    • currency"EUR"required

      Currency of total_cents: always EUR, Fansquare converts every order to euros.

    • last_purchase_atstring | nullrequired

      Date of the last à-la-carte purchase (ISO 8601), or null when the fan never purchased. Same date the last_purchase_* filters read.

      format date-time
  • is_onlinebooleanrequired

    true while the fan is online on MYM. Same value the is_online filter reads.

  • last_seen_atstring | nullrequired

    Last time MYM reported the fan online (ISO 8601), or null when the fan was never seen online.

    format date-time
curl 'https://api.fansquare.so/v1/accounts/c851d9d6-b90b-4958-aed2-2fdaa2fe21a3/fans/a6df8022-e509-4575-ad28-e29c2d1d42dc' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste"
{
  "fan_id": "a6df8022-e509-4575-ad28-e29c2d1d42dc",
  "fan_username": "alex_92",
  "assigned_user_id": "ki9DZXxpgGz7KiDqHj88eCxHg56W",
  "ai_active": true,
  "tags": [
    {
      "id": "58368a92-838b-4cb0-ab37-d54ce826ea11",
      "name": "VIP"
    }
  ],
  "nickname": "string",
  "language": "string",
  "subscription": {
    "status": "active_subscriber",
    "started_at": "2026-10-12T21:14:00.000Z",
    "expires_at": "2026-10-12T21:19:00.000Z",
    "is_free": true
  },
  "spend": {
    "total_cents": 5000,
    "purchase_count": 12,
    "currency": "EUR",
    "last_purchase_at": "2026-10-12T21:14:00.000Z"
  },
  "is_online": true,
  "last_seen_at": "2026-10-12T21:14:00.000Z"
}