FansquareAPI reference
Open the app

Fans

List the fans of an account

GET/v1/accounts/{account_id}/fans

Lists the fans this account has a conversation with, most recent first. Each item includes the current assignment, AI-lock state, tags, subscription, spend and presence. All filters are optional and combine with AND; values inside one list combine with OR. Spend and purchase filters count à-la-carte purchases only (tips, private media, pushes; subscriptions excluded, refunds excluded), and read the same figures as the spend object of each item. search finds a fan by username or nickname, within this account only.

Required scoperead:fans
Rate limit30 requests per minute
curl 'https://api.fansquare.so/v1/accounts/c851d9d6-b90b-4958-aed2-2fdaa2fe21a3/fans' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste"
{
  "data": [
    {
      "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"
    }
  ],
  "next_cursor": "KI7cfD0OLcWfeXZb1FTusJpz0nfKiYXPwHCZe-VXBaeQSX1w5BvO5UH-ua-dzNpXOTixzw"
}

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

Query

  • assigned_user_idsstring

    Restrict to relations assigned to these employees (Fansquare user ids from GET /v1/employees). Comma-separated, 50 max.

  • tag_idsstring

    Restrict to fans carrying at least one of these tags (Fansquare tag ids from GET /v1/tags). An id that is not a tag of the agency returns 422 unknown_tag. Comma-separated, 50 max.

  • exclude_tag_idsstring

    Exclude fans carrying any of these tags (Fansquare tag ids from GET /v1/tags). Fans without tags are kept. An id listed in both tag_ids and exclude_tag_ids returns 400. Comma-separated, 50 max.

  • has_tagsstring

    true: only fans with at least one tag. false: only fans without any tag (cannot be combined with tag_ids).

    Valuestruefalse
  • statusesstring

    Restrict to these subscription statuses. Values: active_subscriber, former_subscriber, interested. Comma-separated, 50 max.

  • min_spend_centsinteger

    Only fans whose total à-la-carte spend on this account is at least this amount, gross, in euro cents (5000 = 50 €).

    min 1
  • last_purchase_afterstring

    Only fans whose last à-la-carte purchase is at or after this date (ISO 8601).

    format date-time
  • last_purchase_beforestring

    Only fans whose last à-la-carte purchase is before this date (ISO 8601). Fans who never purchased are not included.

    format date-time
  • is_onlinestring

    true: only fans currently online on MYM. false: only fans currently offline.

    Valuestruefalse
  • searchstring

    Case-insensitive search (2-100 characters) in the MYM username of the fan and the nickname the creator gave the fan in Fansquare. Matches anywhere in the text; % and _ are matched literally.

    min length 2max length 100
  • cursorstring

    Opaque cursor from the previous page (next_cursor).

  • limitinteger

    Page size (1-200).

    Default 50min 1max 200

Response

OK, application/json

  • dataarray of objectsrequired
    • 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
  • next_cursorstring | nullrequired
curl 'https://api.fansquare.so/v1/accounts/c851d9d6-b90b-4958-aed2-2fdaa2fe21a3/fans' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste"
{
  "data": [
    {
      "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"
    }
  ],
  "next_cursor": "KI7cfD0OLcWfeXZb1FTusJpz0nfKiYXPwHCZe-VXBaeQSX1w5BvO5UH-ua-dzNpXOTixzw"
}