Handles API

How often an account posts, and whether it has gone quiet

GEThttps://api.handlesapi.com/v1/insights/instagram/{handle}/cadence
1 creditinsights:read

The GET /v1/insights/instagram/{handle}/cadence endpoint of Handles API (Insights): How often an account posts, and whether it has gone quiet. One call costs 1 credit (a catalog read) and needs the insights:read scope. A success returns JSON as { data, meta }.

Posting rhythm measured from real post timestamps: how often, how regularly, how long since the last one, and whether that is normal for this account. This is the only account-level Instagram insight that works across the whole catalog, because it needs timestamps rather than a follower count.

  • The rhythm figures come from the most recent 30 posts only, and window says exactly which ones. The crawl keeps the posts it has seen rather than a complete history, so an older stretch can contain long holes that are crawl artefacts and not quiet periods. primevideo holds 101 posts reaching back to 2021 with a 960-day hole in the middle, which is why no longest-gap figure is published.
  • activity compares the account with its own median gap, not with a fixed number of days: active within twice the median gap, slowing within six times it, dormant beyond that, with floors of 3 and 14 days. activity_basis states the arithmetic on every response.
  • profile_complete is false for 8,409 of the 10,947 catalog rows. Instagram's profile endpoint stopped answering anonymous callers, so those accounts reached us through the feed fallback: posts and timestamps arrive, follower count and bio do not. Cadence still works on them, which is the point of this endpoint; followers is null there and null means unknown, never zero.
  • timing.by_hour_utc and by_weekday are returned only for accounts holding at least 20 posts, which is 568 of 10,918. Below that the block is null and timing.note says so rather than returning a histogram of six posts across 24 buckets.
  • No best hour to post is named anywhere in this response. Which hour an account posts in is a count we can make; which hour earns more is a claim about engagement that 30 posts across 24 hours cannot support. The per-hour interaction averages are returned so a caller can look for themselves.
  • data_age_s is the age of the crawl, not of the posts. Read it before trusting days_since_last_post: if the crawl last looked a week ago, the account may have posted since.

Request

curl "https://api.handlesapi.com/v1/insights/instagram/nasa/cadence" \
  -H "Authorization: Bearer $HANDLES_API_KEY"

Set HANDLES_API_KEY to a key from your dashboard. Keys start with hk_live_.

Parameters

NameInTypeRequiredDescriptionExample
handlepathstringRequiredInstagram handle, without the @.nasa

Response

Success is always { data, meta }.

200 OK
{
  "data": {
    "handle": "primevideo",
    "user_id": "1684102154",
    "followers": 7003795,
    "profile_complete": true,
    "crawled_at": "2026-08-29T14:56:49.216Z",
    "data_age_s": 164582,
    "posts_held": 101,
    "window": {
      "from": "2026-08-26T14:00:06.000Z",
      "to": "2026-08-30T17:00:08.000Z",
      "posts": 30,
      "span_days": 4.13
    },
    "posts_per_week": 49.21,
    "gap_hours": {
      "p25": 0.33,
      "p50": 0.99,
      "p75": 2.14
    },
    "days_since_last_post": 0.82,
    "activity": "active",
    "activity_basis": "Last post was 0.82 days ago against a median gap of 0.04 days across the last 30 posts.",
    "timing": {
      "sample": 101,
      "sufficient": true,
      "busiest_hour_utc": 17,
      "busiest_weekday": 4,
      "by_hour_utc": [
        {
          "hour_utc": 15,
          "posts": 10,
          "avg_interactions": 30993
        },
        {
          "hour_utc": 17,
          "posts": 17,
          "avg_interactions": 25955
        },
        {
          "hour_utc": 19,
          "posts": 11,
          "avg_interactions": 15036
        }
      ],
      "by_weekday": [
        {
          "weekday": 4,
          "name": "Thursday",
          "posts": 19,
          "avg_interactions": 21408
        }
      ],
      "note": "Hours are UTC. busiest_hour_utc is where this account posts most often, which is a count. No best hour is named: which hour earns more is a claim about engagement and this sample cannot support it."
    }
  },
  "meta": {
    "request_id": "req_9f2c41a8b3d5",
    "generated_at": "2026-08-23T09:14:02.317Z",
    "took_ms": 42
  }
}

Response headers

Every successful response carries these headers.

HeaderTypeDescription
X-Request-IdstringQuote this to support.
X-RateLimit-LimitintegerRequests allowed in the current one-minute window.
X-RateLimit-RemainingintegerRequests left in the current one-minute window.
X-RateLimit-ResetintegerUnix seconds at which the current window resets.
X-Credits-CostintegerCredits this call used.
X-Credits-RemainingintegerPlan credits left in the current period.
X-Credits-Period-EndstringWhen the current period ends (ISO 8601).

Errors

StatusError codeWhen
401unauthorizedNo key was sent, or the key is unknown or revoked.
402quota_exceededYour 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.
404not_foundThe addressed resource does not exist.
422invalid_requestA parameter is malformed, out of range or mutually exclusive with another. details names the offending fields.
429rate_limitedlive_limit_reachedToo many requests. rate_limited clears when the minute window resets (see Retry-After); live_limit_reached (Free plan) clears at 00:00 UTC.Also sends Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.
500internal_errorSomething failed on our side. The call was not charged; quote the request_id to support.
503upstream_timeoutupstream_errorplatform_unavailableservice_unavailableThe 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. Branch on error.code, never on the message.