Handles API

Check up to 50 accounts at once

POSThttps://api.handlesapi.com/v1/accounts/check
1 creditdirectory:read

The POST /v1/accounts/check endpoint of Handles API (Accounts): Check up to 50 accounts at once. One call costs 1 credit (a catalog read) and needs the directory:read scope. A success returns JSON as { data, meta }.

The bulk form of the catalog check: an array of { platform, handle } pairs, each answered independently in the same shape. Built for enriching a list - a CRM export, an influencer roster, a due-diligence sheet - in one round trip instead of fifty.

  • One request is one request against your rate limit however many targets it carries. The database work is real per target, so batch to be efficient rather than to evade the limit.
  • The cap is 50 because each target is a probe on a different table and the read pool is shared with every directory page on the site.
  • The envelope stays 200 whenever the request was well formed, even if every target failed. Branch on results[].ok and on check.catalog.state, not on the status code.
  • found counts the targets whose catalog state is present. A target that is merely not indexed is not an error.
  • This is the catalog check only. There is no bulk live check, and that is deliberate: fifty upstream reads in one call would spend more of a source's per-minute budget than any single caller is allowed to hold.

Request

curl -X POST "https://api.handlesapi.com/v1/accounts/check" \
  -H "Authorization: Bearer $HANDLES_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "targets": [
    {
      "platform": "x",
      "handle": "nasa"
    },
    {
      "platform": "instagram",
      "handle": "nasa"
    }
  ]
}'

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

Request body

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

FieldTypeRequiredDescription
targetsarray of objectRequiredArray of { platform, handle } objects, at most 50. Duplicate pairs are collapsed.
Example body
{
  "targets": [
    {
      "platform": "x",
      "handle": "nasa"
    },
    {
      "platform": "instagram",
      "handle": "nasa"
    }
  ]
}

Response

Success is always { data, meta }.

200 OK
{
  "data": {
    "requested": 2,
    "found": 2,
    "results": [
      {
        "platform": "x",
        "handle": "nasa",
        "ok": true,
        "check": {
          "platform": "x",
          "handle": "nasa",
          "checked_at": "2026-08-30T09:14:02.113Z",
          "exists": true,
          "evidence": "catalog",
          "identity": {
            "id": "528817151",
            "handle": "nasa",
            "name": "NASA",
            "avatar_url": "https://scontent.cdninstagram.com/v/t51.2885-19/...",
            "url": "https://www.instagram.com/nasa/",
            "object": "account"
          },
          "audience": {
            "count": 104443318,
            "metric": "followers",
            "precision": "exact"
          },
          "flags": {
            "verified": true,
            "private": false,
            "nsfw": false
          },
          "created_at": null,
          "catalog": {
            "state": "present",
            "status": "active",
            "tier": "a",
            "category": "science",
            "language": "en",
            "country": null,
            "last_seen": "2026-08-30T04:02:11.000Z",
            "data_age_s": 18711,
            "directory_url": "/best-instagram-accounts/nasa",
            "metrics": {
              "engagement_rate": 0.4213,
              "avg_likes": 402118,
              "avg_comments": 2904,
              "posts_analyzed": 12,
              "citation_score": 91
            }
          }
        }
      },
      {
        "platform": "instagram",
        "handle": "nasa",
        "ok": true,
        "check": {
          "platform": "instagram",
          "handle": "nasa",
          "checked_at": "2026-08-30T09:14:02.113Z",
          "exists": true,
          "evidence": "catalog",
          "identity": {
            "id": "528817151",
            "handle": "nasa",
            "name": "NASA",
            "avatar_url": "https://scontent.cdninstagram.com/v/t51.2885-19/...",
            "url": "https://www.instagram.com/nasa/",
            "object": "account"
          },
          "audience": {
            "count": 104443318,
            "metric": "followers",
            "precision": "exact"
          },
          "flags": {
            "verified": true,
            "private": false,
            "nsfw": false
          },
          "created_at": null,
          "catalog": {
            "state": "present",
            "status": "active",
            "tier": "a",
            "category": "science",
            "language": "en",
            "country": null,
            "last_seen": "2026-08-30T04:02:11.000Z",
            "data_age_s": 18711,
            "directory_url": "/best-instagram-accounts/nasa",
            "metrics": {
              "engagement_rate": 0.4213,
              "avg_likes": 402118,
              "avg_comments": 2904,
              "posts_analyzed": 12,
              "citation_score": 91
            }
          }
        }
      }
    ]
  },
  "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.
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.