X (Twitter)X (Twitter)Social

X user profile by username — followers, bio, verified

x.x.user.profile.by_username

Get any public X user's profile by handle

Price
$0.01/resultプロバイダー原価
Success rate
100%Last 30 days · 78 calls
Latency p50
146 msp95 369 ms
Last verified
2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/x.x.user.profile.by_username?user.fields=id%2Cname%2Cusername%2Cdescription%2Cpublic_metrics%2Cverified%2Ccreated_atPreview
Try online近日公開Provider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

パラメータ

for several handles at once use GET /2/users/by?usernames=a,b,c (up to 100) — one request against the cap instead of 100

パラメータ型必須説明例
パスパラメータ
username文字列必須handle without the '@'elonmusk
クエリパラメータ
user.fields文字列任意id,name,username,description,public_metrics,verified,created_at
  • パスパラメータ
  • username文字列必須

    handle without the '@'

    例:elonmusk

  • クエリパラメータ
  • user.fields文字列任意

    例:id,name,username,description,public_metrics,verified,created_at

コード例

$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/x.x.user.profile.by_username?user.fields=id%2Cname%2Cusername%2Cdescription%2Cpublic_metrics%2Cverified%2Ccreated_at' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.01/result です。サービス料を含みます。