Check one account against our catalog
https://api.handlesapi.com/v1/accounts/{platform}/{handle}The GET /v1/accounts/{platform}/{handle} endpoint of Handles API (Accounts): Check one account against our catalog. One call costs 1 credit (a catalog read) and needs the directory:read scope. A success returns JSON as { data, meta }.
Everything our crawlers know about one handle on one platform, in a shape that is identical across all seven: identity, audience, verification, creation date where the platform publishes one, and how old the reading is. This is the cheap check - one index probe, no upstream, bounded only by your tier. Add /live when you need the number as it is this second.
- exists is true when a source confirmed the account and null when nothing authoritative was asked. It is NEVER set to false by a catalog miss: our crawlers track the accounts worth ranking, which is a small slice of any platform, so catalog.state=absent means we have not indexed it and nothing more. Call /live for a real existence answer.
- Every count is number or null, and null means not measured. It never means zero.
- catalog.data_age_s is how stale the reading is. Telegram is the one platform whose freshness comes from a different column, and channels with no stored fetch timestamp report null rather than a guess.
- created_at is populated on X, Bluesky and YouTube. Instagram, TikTok and Telegram do not publish an account creation date on any surface we read, so it is null there rather than estimated.
- catalog.metrics carries only what that platform genuinely measures. Instagram is the one catalog whose crawl returns per-post like and comment counts, so it is the one that reports a measured engagement rate; Telegram is the one that gets average post views.
- Accounts flagged as adult content are excluded from every v2 catalog read, so one reports as absent here.
- This addresses accounts by HANDLE only. To look one up by its platform id - which survives a rename - use GET /directory/{platform}/{id}, which accepts either.
Request
curl "https://api.handlesapi.com/v1/accounts/instagram/nasa" \
-H "Authorization: Bearer $HANDLES_API_KEY"const res = await fetch("https://api.handlesapi.com/v1/accounts/instagram/nasa", {
headers: { Authorization: `Bearer ${process.env.HANDLES_API_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error.code);
const { data, meta } = await res.json();
console.log(data);import os
import requests
res = requests.get(
"https://api.handlesapi.com/v1/accounts/instagram/nasa",
headers={"Authorization": f"Bearer {os.environ['HANDLES_API_KEY']}"},
)
res.raise_for_status()
print(res.json()["data"])Set HANDLES_API_KEY to a key from your dashboard. Keys start with hk_live_.
Parameters
| Name | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| platform | path | enum | Required | Which platform the handle belongs to.xinstagramtiktokyoutubetelegramblueskykicktwitchlinkedin | |
| handle | path | string | Required | The account handle, with or without the @. Bluesky handles are domains and a bare name is completed to <name>.bsky.social. LinkedIn takes the company slug. | nasa |
Response
Success is always { data, meta }.
{
"data": {
"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.
| Header | Type | Description |
|---|---|---|
| X-Request-Id | string | Quote this to support. |
| X-RateLimit-Limit | integer | Requests allowed in the current one-minute window. |
| X-RateLimit-Remaining | integer | Requests left in the current one-minute window. |
| X-RateLimit-Reset | integer | Unix seconds at which the current window resets. |
| X-Credits-Cost | integer | Credits this call used. |
| X-Credits-Remaining | integer | Plan credits left in the current period. |
| X-Credits-Period-End | string | When the current period ends (ISO 8601). |
Errors
| Status | Error code | When |
|---|---|---|
| 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. |
| 404 | not_found | The addressed resource does not exist. |
| 422 | invalid_request | A parameter is malformed, out of range or mutually exclusive with another. details names the offending fields. |
| 429 | rate_limitedlive_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.Also sends Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. |
| 500 | internal_error | Something failed on our side. The call was not charged; quote the request_id to support. |
| 503 | upstream_timeoutupstream_errorplatform_unavailableservice_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. Branch on error.code, never on the message.