Sign in

Get Users by Usernames

documented

Retrieve multiple users by their usernames.

GET /2/users/byUsersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.x.com/2/users/by?usernames={{$usernames}}&user.fields={{$user_fields}}&expansions={{$expansions}}&tweet.fields={{$tweet_fields}}" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"