> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Zernio: Get Follower Stats

> Get follower counts and follower growth over time for connected Zernio accounts, daily, weekly or monthly. Includes SDK V2 examples, schemas, and cost.

Get follower counts and follower growth over time for connected Zernio accounts, daily, weekly or monthly.

> [!NOTE]
>
> Tool ID: `zernio_get_follower_stats`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'zernio_get_follower_stats',
  {
    "accountIds": "account_123",
    "profileId": "profile_123",
    "fromDate": "2026-01-15"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run zernio_get_follower_stats --input '{
  "accountIds": "account_123",
  "profileId": "profile_123",
  "fromDate": "2026-01-15"
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "accounts": [
      {
        "_id": "_123",
        "platform": "tiktok",
        "profileId": "profile_123",
        "isActive": true
      }
    ],
    "stats": {},
    "dateRange": {
      "from": "2026-01-15T12:00:00Z",
      "to": "2026-01-15T12:00:00Z"
    }
  }
}
```

Use `deepline describe zernio_get_follower_stats --json` for the latest machine-readable contract.

## Input reference

Returns follower count history and growth metrics for connected accounts. Requires analytics access. Follower counts are refreshed once per day. ### Limits - At most 25 accounts per request: up to 25 `accountIds`, or a page of accounts. More than 25 `accountIds` returns 400. - Without `accountIds`, the response is the first page of 25 accounts even when `limit` and `cursor` are omitted. Pass `pagination.nextCursor` back as `cursor` for the next one. - When that default page cuts the list, the response also carries a `warning` and the headers `X-Result-Truncated: true` and `X-Result-Limit: 25`. - At most 1 year between `fromDate` and `toDate`. A longer range is cut to the year before `toDate`: `dateRange.from` shows where the data starts and the response carries a `warning`. The newer way to read this is `GET /v1/metrics/accounts` with `metrics=followers,followersGrowth` and the See the live schema below for the complete notes.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.accountIds` | `string` | No | — | Comma-separated list of up to 25 account IDs. Optional: without it, the response pages through all your accounts. |
| `payload.profileId` | `string` | No | — | Filter by profile ID |
| `payload.fromDate` | `string` | No | — | Start date in YYYY-MM-DD format (defaults to one year before toDate). An earlier date is moved to one year before toDate. Format: `date`. |
| `payload.toDate` | `string` | No | — | End date in YYYY-MM-DD format (defaults to today) Format: `date`. |
| `payload.granularity` | `"daily" \| "weekly" \| "monthly"` | No | `"daily"` | Data aggregation level Allowed: `daily`, `weekly`, `monthly`. |
| `payload.limit` | `integer` | No | — | Accounts per page, ordered by account id. The response carries `pagination.nextCursor`. Without limit or cursor, a request without accountIds still gets a first page of 25. Minimum: 1. Maximum: 25. |
| `payload.cursor` | `string` | No | — | Opaque cursor from a previous response's `pagination.nextCursor`. Returns the next page of `limit` accounts (25 when limit is omitted). A cursor we cannot parse returns 400. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Returns follower count history and growth metrics for connected accounts. Requires analytics access. Follower counts are refreshed once per day. ### Limits - At most 25 accounts per request: up to 25 `accountIds`, or a page of accounts. More than 25 `accountIds` returns 400. - Without `accountIds`, the response is the first page of 25 accounts even when `limit` and `cursor` are omitted. Pass `pagination.nextCursor` back as `cursor` for the next one. - When that default page cuts the list, the response also carries a `warning` and the headers `X-Result-Truncated: true` and `X-Result-Limit: 25`. - At most 1 year between `fromDate` and `toDate`. A longer range is cut to the year before `toDate`: `dateRange.from` shows where the data starts and the response carries a `warning`. The newer way to read this is `GET /v1/metrics/accounts` with `metrics=followers,followersGrowth` and the granularity you need.",
    "properties": {
      "accountIds": {
        "type": "string",
        "description": "Comma-separated list of up to 25 account IDs. Optional: without it, the response pages through all your accounts."
      },
      "profileId": {
        "type": "string",
        "description": "Filter by profile ID"
      },
      "fromDate": {
        "type": "string",
        "description": "Start date in YYYY-MM-DD format (defaults to one year before toDate). An earlier date is moved to one year before toDate.",
        "format": "date"
      },
      "toDate": {
        "type": "string",
        "description": "End date in YYYY-MM-DD format (defaults to today)",
        "format": "date"
      },
      "granularity": {
        "type": "string",
        "description": "Data aggregation level",
        "default": "daily",
        "enum": [
          "daily",
          "weekly",
          "monthly"
        ]
      },
      "limit": {
        "type": "integer",
        "description": "Accounts per page, ordered by account id; the response carries `pagination.nextCursor`. Without limit or cursor, a request without accountIds still gets a first page of 25.",
        "minimum": 1,
        "maximum": 25,
        "pageSize": {
          "next": "cursor"
        }
      },
      "cursor": {
        "type": "string",
        "description": "Opaque cursor from a previous response's `pagination.nextCursor`; returns the next page of `limit` accounts (25 when limit is omitted). A cursor we cannot parse returns 400."
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.accounts` | `array` | No | — | — |
| `result.data.accounts[]._id` | `string` | Yes | — | — |
| `result.data.accounts[].platform` | `"tiktok" \| "instagram" \| "facebook" \| "youtube" \| "linkedin" \| "twitter" \| "threads" \| "pinterest" \| "reddit" \| "bluesky" \| "googlebusiness" \| "telegram" \| "snapchat" \| "discord" \| "slack" \| "whatsapp" \| "shopify" \| "wordpress" \| "wix" \| "linkedinads" \| "metaads" \| "pinterestads" \| "tiktokads" \| "xads" \| "googleads" \| "openaiads" \| "redditads" \| "sms" \| "phone" \| "rcs" \| "whopads" \| "applovinads" \| "snapchatads" \| "taboolaads" \| "outbrainads" \| "criteoads" \| "spotifyads" \| "klaviyo" \| "attentive" \| "mailchimp" \| "customendpoint" \| "impact" \| "awin" \| "google" \| "microsoft" \| "imap" \| "hubspot" \| "salesforce" \| "webflow" \| "googleanalytics" \| "imessage" \| "tiktokshop" \| "microsoftads" \| "line" \| "wechat" \| "googletagmanager" \| "stripe" \| "paddle" \| "chargebee" \| "googlesearchconsole" \| "campaignmanager360" \| "tradedeskads" \| "tradedeskdsp" \| "amazonads" \| "gohighlevel"` | Yes | — | Allowed: `tiktok`, `instagram`, `facebook`, `youtube`, `linkedin`, `twitter`, `threads`, `pinterest`, `reddit`, `bluesky`, `googlebusiness`, `telegram`, `snapchat`, `discord`, `slack`, `whatsapp`, `shopify`, `wordpress`, `wix`, `linkedinads`, `metaads`, `pinterestads`, `tiktokads`, `xads`, `googleads`, `openaiads`, `redditads`, `sms`, `phone`, `rcs`, `whopads`, `applovinads`, `snapchatads`, `taboolaads`, `outbrainads`, `criteoads`, `spotifyads`, `klaviyo`, `attentive`, `mailchimp`, See the live schema for the complete constraint. |
| `result.data.accounts[].profileId` | `string \| object` | Yes | — | — |
| `result.data.accounts[].profileId._id` | `string` | No | — | — |
| `result.data.accounts[].profileId.userId` | `string` | No | — | — |
| `result.data.accounts[].profileId.name` | `string` | No | — | — |
| `result.data.accounts[].profileId.description` | `string` | No | — | — |
| `result.data.accounts[].profileId.color` | `string` | No | — | — |
| `result.data.accounts[].profileId.timezone` | `string \| null` | No | — | IANA timezone new posts on this profile use when the request names no `timezone`. Null means UTC. |
| `result.data.accounts[].profileId.externalId` | `string \| null` | No | — | Your own identifier for this profile, set on create or update. Null when none is set. |
| `result.data.accounts[].profileId.contentRetention` | `"standard" \| "none"` | No | — | This profile's own zero content retention setting. `none` stores identifiers and metadata only for this profile. Change it with `contentRetention` on update. Only the team owner can. |
| `result.data.accounts[].profileId.effectiveContentRetention` | `"standard" \| "none"` | No | — | The mode that applies to this profile: `none` when the profile or the whole team uses zero content retention. |
| `result.data.accounts[].profileId.maxOutboundCallsPerHour` | `integer \| null` | No | — | Most outbound calls placed from this profile's numbers in any rolling hour. Null means only the team limits apply. |
| `result.data.accounts[].profileId.maxDailyCallSpendUsd` | `number \| null` | No | — | Most billed spend, in USD, on outbound calls and calls forwarded to a phone from this profile's numbers in any rolling 24 hours. Null means only the team limits apply. |
| `result.data.accounts[].profileId.maxForwardedMinutesPerDay` | `integer \| null` | No | — | Most minutes of inbound calls forwarded to a phone from this profile's numbers in any rolling 24 hours. Null means only the team limits apply. |
| `result.data.accounts[].profileId.isDefault` | `boolean` | No | — | — |
| `result.data.accounts[].profileId.isOverLimit` | `boolean` | No | — | Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit. |
| `result.data.accounts[].profileId.accountCount` | `integer` | No | — | In the profile list. Connected accounts on the profile, including ones that need reconnecting. phone and SMS number internals and posting accounts hidden by an ads connect are not counted. |
| `result.data.accounts[].profileId.createdAt` | `string` | No | — | — |
| `result.data.accounts[].username` | `string` | No | — | — |
| `result.data.accounts[].displayName` | `string` | No | — | — |
| `result.data.accounts[].capabilities` | `object` | No | — | On Google, Microsoft and IMAP accounts with email access: what this mailbox provider can do, so you can branch before calling. |
| `result.data.accounts[].capabilities.sync` | `object` | No | — | — |
| `result.data.accounts[].capabilities.sync.mode` | `"push" \| "poll"` | No | — | Allowed: `push`, `poll`. |
| `result.data.accounts[].capabilities.sync.typicalDelaySeconds` | `integer` | No | — | — |
| `result.data.accounts[].capabilities.sentItems` | `object` | No | — | Outlook only: how mail sent from the user's own mail client reaches you (`message.sent`). `poll` while Microsoft will not give Zernio a Sent Items subscription for this mailbox. It switches back to `push` by itself. |
| `result.data.accounts[].capabilities.sentItems.mode` | `"push" \| "poll"` | No | — | Allowed: `push`, `poll`. |
| `result.data.accounts[].capabilities.sentItems.typicalDelaySeconds` | `integer` | No | — | — |
| `result.data.accounts[].capabilities.drafts` | `object` | No | — | — |
| `result.data.accounts[].capabilities.drafts.supported` | `boolean` | No | — | — |
| `result.data.accounts[].capabilities.drafts.clientEditsVisible` | `boolean` | No | — | Edits the user makes in their mail client show up in the draft you read back. |
| `result.data.accounts[].capabilities.drafts.versioned` | `boolean` | No | — | Drafts carry a `version` for `If-Match`. |
| `result.data.accounts[].capabilities.forward` | `object` | No | — | — |
| `result.data.accounts[].capabilities.forward.native` | `boolean` | No | — | The provider forwards itself (Outlook's createForward). Otherwise Zernio builds the forward. |
| `result.data.accounts[].capabilities.forward.asAttachment` | `boolean` | No | — | — |
| `result.data.accounts[].capabilities.sendAs` | `object` | No | — | — |
| `result.data.accounts[].capabilities.sendAs.list` | `"provider" \| "partial" \| "declared"` | No | — | `provider`: `GET /v1/email/send-as` lists every address the provider accepts. `partial`: shared mailboxes are not listed. declare them with `POST /v1/email/send-as`. Allowed: `provider`, `partial`, `declared`. |
| `result.data.accounts[].capabilities.sendAs.sharedMailboxes` | `boolean` | No | — | — |
| `result.data.accounts[].capabilities.signatures` | `object` | No | — | — |
| `result.data.accounts[].capabilities.signatures.provider` | `"read" \| "none"` | No | — | `read`: `appendSignature` falls back to the provider signature when no Zernio default exists. Allowed: `read`, `none`. |
| `result.data.accounts[].capabilities.signatures.zernio` | `boolean` | No | — | Zernio-stored signatures (`/v1/email/signatures`) work on this mailbox. |
| `result.data.accounts[].capabilities.labels` | `object` | No | — | — |
| `result.data.accounts[].capabilities.labels.model` | `"labels" \| "categories" \| "folders"` | No | — | Allowed: `labels`, `categories`, `folders`. |
| `result.data.accounts[].capabilities.bounces` | `object` | No | — | — |
| `result.data.accounts[].capabilities.bounces.detection` | `boolean` | No | — | — |
| `result.data.accounts[].capabilities.scheduledSend` | `object` | No | — | — |
| `result.data.accounts[].capabilities.scheduledSend.holdAsDraft` | `boolean` | No | — | — |
| `result.data.accounts[].capabilities.tracking` | `boolean` | No | — | — |

The table shows the first 50 fields. Use the live contract below for every field.

> [!NOTE]
>
> This output schema is too large for an inline display. Read the complete live contract with `deepline describe zernio_get_follower_stats --json`.

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.