Value an X account
https://api.handlesapi.com/v1/tools/valuationThe 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"
}'const res = await fetch("https://api.handlesapi.com/v1/tools/valuation", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HANDLES_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"handle": "elonmusk"
}),
});
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.post(
"https://api.handlesapi.com/v1/tools/valuation",
headers={"Authorization": f"Bearer {os.environ['HANDLES_API_KEY']}"},
json={
"handle": "elonmusk",
},
)
res.raise_for_status()
print(res.json()["data"])Set HANDLES_API_KEY to a key from your dashboard. Keys start with hk_live_.
Request body
JSON, sent with Content-Type: application/json.
| Field | Type | Required | Description |
|---|---|---|---|
| handle | string | Required | X handle. Accepts a bare name, @name, or a profile URL. Also accepted as username. |
{
"handle": "elonmusk"
}Response
Success is always { data, meta }.
{
"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.
| 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. |
| 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.