Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Threads User Info by ID

API 文档
https://api.sandbase.ai/v1/api/threads/web/user-info-by-id

Returns detailed Threads user profile information based on a specified user ID. Ideal for retrieving public account metadata directly through web identifiers.

价格
$0.002美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 0 个可选
每天 100 次免费调用每天前 100 次调用免费(按组织共享)· UTC 00:00 重置。之后按次计费。

Playground

输入
User ID, for example: 67027868801, can be obtained from user profile API or post data
输出示例
响应outputs · 50 B · 7 行
[
  {
    "data": {
      "user": null
    }
  }
]

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Threads User Info by ID API

Returns the public Threads profile for one account. You send the numeric user_id and get the username, full name, follower count, verification flag, and profile picture URLs.

Use cases

  • Turn a user_id found in post data into a username and display name.
  • Track the follower count of a public figure's Threads account over time.
  • Check whether an account is verified or private before you pull its posts.
  • Download profile pictures in more than one size for a profile card.

Request

curl -X POST "https://api.sandbase.ai/v1/api/threads/web/user-info-by-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "67027868801"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
user_idstringYesUser ID, for example: 67027868801, can be obtained from user profile API or post data

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "user": {
    "account_badges": [],
    "account_warning": null,
    "bio_links": [],
    "biography": "",
    "eligible_for_text_app_activation_badge": false,
    "follower_count": 15705343,
    "friendship_status": null,
    "full_name": "Justin Bieber",
    "gating": null,
    "hd_profile_pic_versions": [
      {
        "height": 320,
        "url": "https://scontent-phx1-1.cdninstagram.com/v/t51.2885-19/573323465_121982546330221…",
        "width": 320
      }
    ],
    "hide_text_app_activation_badge_on_text_app": false,
    "id": "67027868801"
  }
}

Response fields

FieldMeaning
user.id / user.pkThe numeric ID of the account, returned as a string. Both fields hold the same value in this response.
user.usernameThe account handle on Threads, for example lilbieber.
user.full_nameThe display name shown on the profile.
user.follower_countThe number of followers the account has.
user.is_verifiedtrue when the account carries a verified badge.
user.text_post_app_is_privatetrue when the Threads account is private.
user.biographyThe profile bio text. It can be an empty string when the account has no bio.
user.profile_pic_urlURL of the profile picture.
user.hd_profile_pic_versions[].urlURL of a larger profile picture version. Each item also gives width and height in the same object.
user.is_threads_only_usertrue when the account exists only on Threads.

Notes

  • Get user_id from a post object or from the Threads User Profile API.
  • Pass user_id as a string of digits, for example 67027868801.
  • To list what the account has published, call Threads User Posts next.
  • Some fields, such as friendship_status and gating, can be null, and bio_links can be an empty list.

Pricing

$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
Threads$0.002 每次调用JSON
Threads$0.002 每次调用JSON
Threads$0.002 每次调用JSON
Threads$0.003 每次调用JSON
Threads$0.002 每次调用JSON
Threads$0.002 每次调用JSON

指南:Best Threads API in 2026: Pricing Compared

问题

常见问题

如何使用 Threads User Info by ID API?

向 https://api.sandbase.ai/v1/api/threads/web/user-info-by-id 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Threads User Info by ID API 的价格是多少?

每次调用 $0.002。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。

Threads User Info by ID API 接受哪些参数?

必填:user_id (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Threads User Info by ID API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Threads 开发者账户或 API key 吗?

不需要。Threads User Info by ID 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Threads API 访问权限。