Loading...
Loading...
Interact with the X (Twitter) API v2 using curl commands. Use this skill to look up user profiles, search recent posts, retrieve tweets, get user timelines, and explore other public X API v2 endpoints.
npx skill4agent add superconductor/superconductor-plugin-marketplace x-apiX_BEARER_TOKENcurl "<endpoint_url>" \
-H "Authorization: Bearer $X_BEARER_TOKEN"note_tweettweet.fieldscurl "https://api.x.com/2/users/by/username/xdevelopers" \
-H "Authorization: Bearer $X_BEARER_TOKEN"curl "https://api.x.com/2/users/by/username/xdevelopers?user.fields=created_at,description,public_metrics" \
-H "Authorization: Bearer $X_BEARER_TOKEN"user.fieldscreated_atdescriptionentitiesidlocationnamepinned_tweet_idprofile_image_urlprotectedpublic_metricsurlusernameverifiedwithheldcurl "https://api.x.com/2/tweets/1460323737035677698?tweet.fields=note_tweet,created_at,public_metrics" \
-H "Authorization: Bearer $X_BEARER_TOKEN"tweet.fieldsnote_tweetattachmentsauthor_idconversation_idcreated_atentitiesidin_reply_to_user_idlangpublic_metricsreferenced_tweetssourcetextwithheldcurl "https://api.x.com/2/tweets/search/recent?query=from:xdevelopers&tweet.fields=note_tweet,created_at" \
-H "Authorization: Bearer $X_BEARER_TOKEN"queryfrom:usernameto:username"exact phrase"keyword1 keyword2keyword1 OR keyword2#hashtaghas:mediahas:linkslang:encurl "https://api.x.com/2/users/2244994945/tweets?max_results=5&tweet.fields=note_tweet" \
-H "Authorization: Bearer $X_BEARER_TOKEN"tweet.fieldsmax_resultsnote_tweetcurl "https://api.x.com/2/users/2244994945/mentions?max_results=5&tweet.fields=note_tweet,created_at,author_id" \
-H "Authorization: Bearer $X_BEARER_TOKEN"curl "https://api.x.com/2/users/by?usernames=xdevelopers,twitterdev&user.fields=description,public_metrics" \
-H "Authorization: Bearer $X_BEARER_TOKEN"curl "https://api.x.com/2/tweets/counts/recent?query=from:xdevelopers" \
-H "Authorization: Bearer $X_BEARER_TOKEN"curl "https://api.x.com/2/users/2244994945/followers?max_results=10&user.fields=description,public_metrics" \
-H "Authorization: Bearer $X_BEARER_TOKEN"curl "https://api.x.com/2/users/2244994945/following?max_results=10&user.fields=description,public_metrics" \
-H "Authorization: Bearer $X_BEARER_TOKEN"# Get list details
curl "https://api.x.com/2/lists/84839422" \
-H "Authorization: Bearer $X_BEARER_TOKEN"
# Get list members
curl "https://api.x.com/2/lists/84839422/members?user.fields=description,public_metrics" \
-H "Authorization: Bearer $X_BEARER_TOKEN"idexpansionsexpansions=author_idnext_tokenpagination_tokenX_BEARER_TOKEN