# Project how long a follower target takes

`POST https://api.handlesapi.com/v1/tools/growth-simulator`

The POST /v1/tools/growth-simulator endpoint of Handles API (Tools): Project how long a follower target takes. One call costs 1 credit (a catalog read) and needs the `tools:use` scope. A success returns JSON as `{ data, meta }`.

Runs the growth model behind the website's simulator: a daily gain derived from content quality, niche weighting, posting cadence and an audience-size scaling ladder, compounded until the target is hit. Returns the time to target, the milestones passed on the way, and the model inputs so the projection can be audited.

This is a sensitive scope. Keys are not granted it by default, and calls are audited.

- Free: this endpoint reaches no upstream and spends no credit. It is metered as a normal call, not a live one.
- The website's version multiplies each simulated day by a random 0.8-1.2 jitter. The API runs the same model at the jitter's expected value so identical input always returns an identical answer.
- The model stops after 30 simulated years. An unreachable target returns projection.reached_target = false with null durations rather than a fabricated number.
- This is a planning heuristic, not a forecast of any specific account.

## Request

```bash
curl -X POST "https://api.handlesapi.com/v1/tools/growth-simulator" \
  -H "Authorization: Bearer $HANDLES_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "current_followers": 1200,
  "target_followers": 100000,
  "niche": "crypto",
  "quality": "professional",
  "posts_per_day": 5
}'
```

`HANDLES_API_KEY` is a key from your dashboard; send it as `Authorization: Bearer` or `x-api-key`.

## Request body

JSON, sent with `Content-Type: application/json`.

- `current_followers` (integer, required): Follower count today. 0 to 100000000.
- `target_followers` (integer, required): Follower goal. Must be greater than current_followers.
- `niche` (enum, optional): Topic weighting applied to daily growth.
- `quality` (enum, optional): Content quality tier. Sets the baseline daily gain and the minutes spent per post.
- `posts_per_day` (integer, optional): Posting cadence, 1 to 100. Applied as a log2 bonus, so doubling output is worth less each time.

```json
{
  "current_followers": 1200,
  "target_followers": 100000,
  "niche": "crypto",
  "quality": "professional",
  "posts_per_day": 5
}
```

## Response

```json
{
  "data": {
    "input": {
      "current_followers": 1200,
      "target_followers": 100000,
      "niche": "crypto",
      "quality": "professional",
      "posts_per_day": 5
    },
    "projection": {
      "total_days": 892,
      "years": 2,
      "months": 5,
      "total_posts": 4460,
      "total_hours": 2230,
      "reached_target": true
    },
    "daily_followers_gained_at_start": 6.53,
    "milestones": [
      {
        "followers": 2500,
        "days_from_start": 199
      },
      {
        "followers": 5000,
        "days_from_start": 359
      }
    ],
    "model": {
      "niche_multiplier": 1.4,
      "quality_base_followers_per_day": 25,
      "posting_bonus": 1.697,
      "deterministic": true
    }
  },
  "meta": {
    "request_id": "req_9f2c41a8b3d5",
    "generated_at": "2026-08-23T09:14:02.317Z",
    "took_ms": 42
  }
}
```

Long arrays and strings in this example are shortened.

## Errors

- 401 unauthorized: No key was sent, or the key is unknown or revoked.
- 402 quota_exceeded: Your plan's credits for this period are used up and overage is off (or its cap is reached). Waiting does not help: upgrade, or turn on overage in the dashboard.
- 422 invalid_request: A parameter is malformed, out of range or mutually exclusive with another. details names the offending fields.
- 429 rate_limited, live_limit_reached: Too many requests. rate_limited clears when the minute window resets (see Retry-After); live_limit_reached (Free plan) clears at 00:00 UTC.
- 500 internal_error: Something failed on our side. The call was not charged; quote the request_id to support.
- 503 upstream_timeout, upstream_error, platform_unavailable, service_unavailable: The call could not be served right now and was not charged. upstream_timeout / upstream_error: a data source was slow or failed, retry with backoff. platform_unavailable: live reads for that platform are paused. service_unavailable: retry shortly.

Failures use the error envelope `{ error: { code, message, request_id } }`: https://handlesapi.com/docs/errors

Source: https://handlesapi.com/docs/reference/tools-growth-simulator
