# Check up to 50 accounts at once

`POST https://api.handlesapi.com/v1/accounts/check`

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

```bash
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"
    }
  ]
}'
```

`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`.

- `targets` (array of object, required): Array of { platform, handle } objects, at most 50. Duplicate pairs are collapsed.

```json
{
  "targets": [
    {
      "platform": "x",
      "handle": "nasa"
    },
    {
      "platform": "instagram",
      "handle": "nasa"
    }
  ]
}
```

## Response

```json
{
  "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
  }
}
```

## 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/accounts-bulk
