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.002USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 0 необязательных
100 бесплатных вызовов в деньПервые 100 вызовов в день — бесплатно (общий лимит для организации) · Сброс в 00:00 UTC. Далее оплата за каждый вызов.

Песочница

Ввод
User ID, for example: 67027868801, can be obtained from user profile API or post data
ВыходПример
Ответoutputs · 50 B · 7 строк
[
  {
    "data": {
      "user": null
    }
  }
]

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в playground.

README по API

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

Вопросы

FAQ

Как использовать API Threads User Info by ID?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/threads/web/user-info-by-id, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Threads User Info by ID?

$0.002 за вызов. Каждой организации предоставляется 100 бесплатных вызовов в сутки по UTC, общих для всех подходящих API SandBase, включая этот; после этого каждый вызов тарифицируется по этой цене и списывается с баланса SandBase. Подписка не требуется.

Какие параметры принимает API Threads User Info by ID?

Обязательные: user_id (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Threads User Info by ID?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Threads или API key?

Нет. Threads User Info by ID работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Threads.