Handles API

Value an X account

POSThttps://api.handlesapi.com/v1/tools/valuation
2 creditstools:useLive call

The POST /v1/tools/valuation endpoint of Handles API (Tools): Value an X account. One call costs 2 credits (a live read of the platform) and needs the tools:use scope. A success returns JSON as { data, meta }.

Estimates what an X account is worth in dollars. Reads the profile plus a sample of recent posts, scores followers, engagement, account age, authority, activity and profile completeness, and returns a low/expected/high range with the multiplier behind each factor.

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

Metered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.

  • Values are USD, not cents.
  • Results are cached in-process for a short window, so two calls on the same handle within that window may return the same numbers without a second upstream charge.

Request

curl -X POST "https://api.handlesapi.com/v1/tools/valuation" \
  -H "Authorization: Bearer $HANDLES_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "handle": "elonmusk"
}'

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
handlestringRequiredX handle. Accepts a bare name, @name, or a profile URL. Also accepted as username.
Example body
{
  "handle": "elonmusk"
}

Response

Success is always { data, meta }.

200 OK
{
  "data": {
    "profile": {
      "handle": "naval",
      "twitter_id": "745273",
      "name": "Naval",
      "avatar_url": "https://pbs.twimg.com/profile_images/1256841238298292232/ycqwaMI2.jpg",
      "verified": true,
      "banner_url": "https://pbs.twimg.com/profile_banners/745273/1584485471",
      "bio": "Angel Philosopher",
      "location": "San Francisco",
      "created_at": "2007-02-05T18:07:40.000Z",
      "account_age_days": 7139
    },
    "metrics": {
      "followers": 2418702,
      "following": 2114,
      "total_posts": 32180,
      "total_likes": 12844,
      "media_count": 1290,
      "follower_following_ratio": 1144.1,
      "posts_per_day": 4.5
    },
    "engagement": {
      "engagement_rate": 0.4172,
      "avg_likes": 8940,
      "avg_retweets": 1216,
      "avg_replies": 934,
      "avg_views": 412800,
      "posts_sampled": 20
    },
    "valuation": {
      "estimated_value_usd": 48600,
      "value_low_usd": 36450,
      "value_high_usd": 65610,
      "score": 88,
      "rating": "exceptional"
    },
    "scores": {
      "follower": 100,
      "engagement": 82,
      "age": 100,
      "authority": 95,
      "activity": 74,
      "profile": 100
    },
    "factors": {
      "base_follower_value_usd": 36000,
      "engagement_multiplier": 1.25,
      "age_multiplier": 1.15,
      "authority_multiplier": 1.1,
      "activity_multiplier": 0.95,
      "profile_multiplier": 1.05
    },
    "summary": {
      "size_category": "Mega Account",
      "engagement_rating": "Good",
      "strengths": [
        "Very large, established audience",
        "Account is over 15 years old",
        "Strong follower to following ratio"
      ],
      "weaknesses": [
        "Posting cadence has slowed in the last 30 days"
      ]
    }
  },
  "meta": {
    "request_id": "req_9f2c41a8b3d5",
    "generated_at": "2026-08-23T09:14:02.317Z",
    "took_ms": 42,
    "cache_age_s": 0
  }
}

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.