twitterapi-io-mcp 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/docs.json +62 -6
- package/index.js +1 -1
- package/package.json +1 -1
package/data/docs.json
CHANGED
|
@@ -133,7 +133,8 @@
|
|
|
133
133
|
"{\n \"status\": \"<string>\",\n \"msg\": \"<string>\",\n \"data\": {\n \"create_tweet\": {\n \"tweet_result\": {\n \"result\": {\n \"rest_id\": \"<string>\"\n }\n }\n }\n }\n}"
|
|
134
134
|
],
|
|
135
135
|
"curl_example": "curl --request POST \\\n --url https://api.twitterapi.io/twitter/create_tweet \\\n --header 'Content-Type: application/json' \\\n --header 'X-API-Key: <api-key>' \\\n --data '\n{\n \"auth_session\": \"<string>\",\n \"tweet_text\": \"<string>\",\n \"proxy\": \"<string>\",\n \"quote_tweet_id\": \"<string>\",\n \"in_reply_to_tweet_id\": \"<string>\",\n \"media_id\": \"<string>\"\n}\n'",
|
|
136
|
-
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Tweet Action Endpoint--deprecated Post/reply/quote a tweet Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/create_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_text\": \"<string>\", \"proxy\": \"<string>\", \"quote_tweet_id\": \"<string>\", \"in_reply_to_tweet_id\": \"<string>\", \"media_id\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"data\" : { \"create_tweet\" : { \"tweet_result\" : { \"result\" : { \"rest_id\" : \"<string>\" } } } } } Tweet Action Endpoint--deprecated Post/reply/quote a tweet Create a tweet.Need to login first.Trial operation price: $0.001 per call. POST / twitter / create_tweet Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/create_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_text\": \"<string>\", \"proxy\": \"<string>\", \"quote_tweet_id\": \"<string>\", \"in_reply_to_tweet_id\": \"<string>\", \"media_id\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"data\" : { \"create_tweet\" : { \"tweet_result\" : { \"result\" : { \"rest_id\" : \"<string>\" } } } } } Authorizations X-API-Key string header required Body application/json auth_session string required The session of the login. It's returned by /twitter/login_by_2fa tweet_text string required The text of the tweet. proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port.You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 quote_tweet_id string The id of the tweet to quote.Optional in_reply_to_tweet_id string The id of the tweet to reply to.Optional media_id string The id of the media to attach.Optional Response 200 application/json Create tweet response status string Status of the request.success or error msg string Message of the request.error message data object The data of the tweet Show child attributes Upload Image Like a tweet ⌘ I telegram Powered by Mintlify"
|
|
136
|
+
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Tweet Action Endpoint--deprecated Post/reply/quote a tweet Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/create_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_text\": \"<string>\", \"proxy\": \"<string>\", \"quote_tweet_id\": \"<string>\", \"in_reply_to_tweet_id\": \"<string>\", \"media_id\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"data\" : { \"create_tweet\" : { \"tweet_result\" : { \"result\" : { \"rest_id\" : \"<string>\" } } } } } Tweet Action Endpoint--deprecated Post/reply/quote a tweet Create a tweet.Need to login first.Trial operation price: $0.001 per call. POST / twitter / create_tweet Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/create_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_text\": \"<string>\", \"proxy\": \"<string>\", \"quote_tweet_id\": \"<string>\", \"in_reply_to_tweet_id\": \"<string>\", \"media_id\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"data\" : { \"create_tweet\" : { \"tweet_result\" : { \"result\" : { \"rest_id\" : \"<string>\" } } } } } Authorizations X-API-Key string header required Body application/json auth_session string required The session of the login. It's returned by /twitter/login_by_2fa tweet_text string required The text of the tweet. proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port.You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 quote_tweet_id string The id of the tweet to quote.Optional in_reply_to_tweet_id string The id of the tweet to reply to.Optional media_id string The id of the media to attach.Optional Response 200 application/json Create tweet response status string Status of the request.success or error msg string Message of the request.error message data object The data of the tweet Show child attributes Upload Image Like a tweet ⌘ I telegram Powered by Mintlify",
|
|
137
|
+
"deprecation_notice": "ℹ️ LEGACY VERSION: This v1 endpoint uses auth_session from the legacy login flow. For the newer authentication using login_cookies, see create_tweet_v2."
|
|
137
138
|
},
|
|
138
139
|
"create_tweet_v2": {
|
|
139
140
|
"name": "create_tweet_v2",
|
|
@@ -694,7 +695,8 @@
|
|
|
694
695
|
"{\n \"status\": \"<string>\",\n \"msg\": \"<string>\"\n}"
|
|
695
696
|
],
|
|
696
697
|
"curl_example": "curl --request POST \\\n --url https://api.twitterapi.io/twitter/like_tweet \\\n --header 'Content-Type: application/json' \\\n --header 'X-API-Key: <api-key>' \\\n --data '\n{\n \"auth_session\": \"<string>\",\n \"tweet_id\": \"<string>\",\n \"proxy\": \"<string>\"\n}\n'",
|
|
697
|
-
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Tweet Action Endpoint--deprecated Like a tweet Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/like_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_id\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Tweet Action Endpoint--deprecated Like a tweet Like a tweet.Need to login first. Trial operation price: $0.001 per call. POST / twitter / like_tweet Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/like_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_id\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Authorizations X-API-Key string header required Body application/json auth_session string required The session of the login. It's returned by /twitter/login_by_2fa tweet_id string required The id of the tweet to like proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port.You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 Response 200 application/json Like tweet response status string Status of the request.success or error msg string Message of the request.error message Post/reply/quote a tweet Reweet a tweet ⌘ I telegram Powered by Mintlify"
|
|
698
|
+
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Tweet Action Endpoint--deprecated Like a tweet Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/like_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_id\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Tweet Action Endpoint--deprecated Like a tweet Like a tweet.Need to login first. Trial operation price: $0.001 per call. POST / twitter / like_tweet Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/like_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_id\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Authorizations X-API-Key string header required Body application/json auth_session string required The session of the login. It's returned by /twitter/login_by_2fa tweet_id string required The id of the tweet to like proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port.You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 Response 200 application/json Like tweet response status string Status of the request.success or error msg string Message of the request.error message Post/reply/quote a tweet Reweet a tweet ⌘ I telegram Powered by Mintlify",
|
|
699
|
+
"deprecation_notice": "ℹ️ LEGACY VERSION: This v1 endpoint uses auth_session from the legacy login flow. For the newer authentication using login_cookies, see like_tweet_v2."
|
|
698
700
|
},
|
|
699
701
|
"like_tweet_v2": {
|
|
700
702
|
"name": "like_tweet_v2",
|
|
@@ -728,7 +730,8 @@
|
|
|
728
730
|
"{\n \"session\": \"<string>\",\n \"status\": \"<string>\",\n \"msg\": \"<string>\",\n \"user\": {\n \"id_str\": \"<string>\",\n \"screen_name\": \"<string>\",\n \"name\": \"<string>\"\n }\n}"
|
|
729
731
|
],
|
|
730
732
|
"curl_example": "curl --request POST \\\n --url https://api.twitterapi.io/twitter/login_by_2fa \\\n --header 'Content-Type: application/json' \\\n --header 'X-API-Key: <api-key>' \\\n --data '\n{\n \"login_data\": \"<string>\",\n \"2fa_code\": \"<string>\",\n \"proxy\": \"<string>\"\n}\n'",
|
|
731
|
-
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Login Endpoint--deprecated Login Step 2: by 2fa code Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/login_by_2fa \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"login_data\": \"<string>\", \"2fa_code\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"session\" : \"<string>\" , \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"user\" : { \"id_str\" : \"<string>\" , \"screen_name\" : \"<string>\" , \"name\" : \"<string>\" } } Login Endpoint--deprecated Login Step 2: by 2fa code Deprecated soon. Please use login V2 instead, as it is more stable.Login Step 2: by 2fa code.Trial operation price: $0.003 per call. POST / twitter / login_by_2fa Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/login_by_2fa \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"login_data\": \"<string>\", \"2fa_code\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"session\" : \"<string>\" , \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"user\" : { \"id_str\" : \"<string>\" , \"screen_name\" : \"<string>\" , \"name\" : \"<string>\" } } Authorizations X-API-Key string header required Body application/json login_data string required The login data returned by /twitter/login_by_email_or_username 2fa_code string required The 2fa code of the user. get 2fa code from https://2fa.fb.rip/ proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port .You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 Response 200 application/json Login Step 2(2fa) response session string The session of the login.Use this session to call other endpoints.eg. /twitter/create_tweet /twitter/like_tweet status string Status of the request.success or error msg string Message of the request.error message user object The user info of the login. Show child attributes Login Step 1: by email or username Upload Image ⌘ I telegram Powered by Mintlify"
|
|
733
|
+
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Login Endpoint--deprecated Login Step 2: by 2fa code Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/login_by_2fa \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"login_data\": \"<string>\", \"2fa_code\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"session\" : \"<string>\" , \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"user\" : { \"id_str\" : \"<string>\" , \"screen_name\" : \"<string>\" , \"name\" : \"<string>\" } } Login Endpoint--deprecated Login Step 2: by 2fa code Deprecated soon. Please use login V2 instead, as it is more stable.Login Step 2: by 2fa code.Trial operation price: $0.003 per call. POST / twitter / login_by_2fa Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/login_by_2fa \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"login_data\": \"<string>\", \"2fa_code\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"session\" : \"<string>\" , \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"user\" : { \"id_str\" : \"<string>\" , \"screen_name\" : \"<string>\" , \"name\" : \"<string>\" } } Authorizations X-API-Key string header required Body application/json login_data string required The login data returned by /twitter/login_by_email_or_username 2fa_code string required The 2fa code of the user. get 2fa code from https://2fa.fb.rip/ proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port .You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 Response 200 application/json Login Step 2(2fa) response session string The session of the login.Use this session to call other endpoints.eg. /twitter/create_tweet /twitter/like_tweet status string Status of the request.success or error msg string Message of the request.error message user object The user info of the login. Show child attributes Login Step 1: by email or username Upload Image ⌘ I telegram Powered by Mintlify",
|
|
734
|
+
"deprecation_notice": "⚠️ DEPRECATED: This endpoint is deprecated. Please use user_login_v2 instead for a more stable authentication flow."
|
|
732
735
|
},
|
|
733
736
|
"login_by_email_or_username": {
|
|
734
737
|
"name": "login_by_email_or_username",
|
|
@@ -745,7 +748,8 @@
|
|
|
745
748
|
"{\n \"hint\": \"<string>\",\n \"login_data\": \"<string>\",\n \"status\": \"<string>\",\n \"msg\": \"<string>\"\n}"
|
|
746
749
|
],
|
|
747
750
|
"curl_example": "curl --request POST \\\n --url https://api.twitterapi.io/twitter/login_by_email_or_username \\\n --header 'Content-Type: application/json' \\\n --header 'X-API-Key: <api-key>' \\\n --data '\n{\n \"username_or_email\": \"<string>\",\n \"password\": \"<string>\",\n \"proxy\": \"<string>\"\n}\n'",
|
|
748
|
-
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Login Endpoint--deprecated Login Step 1: by email or username Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/login_by_email_or_username \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"username_or_email\": \"<string>\", \"password\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"hint\" : \"<string>\" , \"login_data\" : \"<string>\" , \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Login Endpoint--deprecated Login Step 1: by email or username Login Step 1: by email or username.Recommend to use email.Trial operation price: $0.003 per call. Please read the guide: https://twitterapi.io/blog/twitter-login-and-post-api-guide POST / twitter / login_by_email_or_username Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/login_by_email_or_username \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"username_or_email\": \"<string>\", \"password\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"hint\" : \"<string>\" , \"login_data\" : \"<string>\" , \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Authorizations X-API-Key string header required Body application/json username_or_email string required User name or email.If you can't log in with your email, use your username. If you can't log in with your username, use your email instead.ref: https://twitterapi.io/blog/twitter-login-and-post-api-guide password string required The password of the user proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 Response 200 application/json Login response hint string Hint of the login.eg. \"Please use second endpoint /login_2fa to continue login.\" login_data string Use this data to call /twitter/login_2fa to continue login. status string Status of the request.success or error msg string Message of the request.error message Remove a user from monitor list Login Step 2: by 2fa code ⌘ I telegram Powered by Mintlify"
|
|
751
|
+
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Login Endpoint--deprecated Login Step 1: by email or username Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/login_by_email_or_username \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"username_or_email\": \"<string>\", \"password\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"hint\" : \"<string>\" , \"login_data\" : \"<string>\" , \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Login Endpoint--deprecated Login Step 1: by email or username Login Step 1: by email or username.Recommend to use email.Trial operation price: $0.003 per call. Please read the guide: https://twitterapi.io/blog/twitter-login-and-post-api-guide POST / twitter / login_by_email_or_username Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/login_by_email_or_username \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"username_or_email\": \"<string>\", \"password\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"hint\" : \"<string>\" , \"login_data\" : \"<string>\" , \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Authorizations X-API-Key string header required Body application/json username_or_email string required User name or email.If you can't log in with your email, use your username. If you can't log in with your username, use your email instead.ref: https://twitterapi.io/blog/twitter-login-and-post-api-guide password string required The password of the user proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 Response 200 application/json Login response hint string Hint of the login.eg. \"Please use second endpoint /login_2fa to continue login.\" login_data string Use this data to call /twitter/login_2fa to continue login. status string Status of the request.success or error msg string Message of the request.error message Remove a user from monitor list Login Step 2: by 2fa code ⌘ I telegram Powered by Mintlify",
|
|
752
|
+
"deprecation_notice": "⚠️ LEGACY: This is the first step of the legacy 2FA login flow. Consider using user_login_v2 for the newer, recommended authentication method."
|
|
749
753
|
},
|
|
750
754
|
"remove_user_to_monitor_tweet": {
|
|
751
755
|
"name": "remove_user_to_monitor_tweet",
|
|
@@ -779,7 +783,8 @@
|
|
|
779
783
|
"{\n \"status\": \"<string>\",\n \"msg\": \"<string>\"\n}"
|
|
780
784
|
],
|
|
781
785
|
"curl_example": "curl --request POST \\\n --url https://api.twitterapi.io/twitter/retweet_tweet \\\n --header 'Content-Type: application/json' \\\n --header 'X-API-Key: <api-key>' \\\n --data '\n{\n \"auth_session\": \"<string>\",\n \"tweet_id\": \"<string>\",\n \"proxy\": \"<string>\"\n}\n'",
|
|
782
|
-
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Tweet Action Endpoint--deprecated Reweet a tweet Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/retweet_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_id\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Tweet Action Endpoint--deprecated Reweet a tweet Retweet a tweet.Need to login first. Trial operation price: $0.001 per call. POST / twitter / retweet_tweet Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/retweet_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_id\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Authorizations X-API-Key string header required Body application/json auth_session string required The session of the login. It's returned by /twitter/login_by_2fa tweet_id string required The id of the tweet to retweet proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port.You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 Response 200 application/json Retweet tweet response status string Status of the request.success or error msg string Message of the request.error message Like a tweet ⌘ I telegram Powered by Mintlify"
|
|
786
|
+
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Tweet Action Endpoint--deprecated Reweet a tweet Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/retweet_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_id\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Tweet Action Endpoint--deprecated Reweet a tweet Retweet a tweet.Need to login first. Trial operation price: $0.001 per call. POST / twitter / retweet_tweet Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/retweet_tweet \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"tweet_id\": \"<string>\", \"proxy\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Authorizations X-API-Key string header required Body application/json auth_session string required The session of the login. It's returned by /twitter/login_by_2fa tweet_id string required The id of the tweet to retweet proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port.You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 Response 200 application/json Retweet tweet response status string Status of the request.success or error msg string Message of the request.error message Like a tweet ⌘ I telegram Powered by Mintlify",
|
|
787
|
+
"deprecation_notice": "ℹ️ LEGACY VERSION: This v1 endpoint uses auth_session from the legacy login flow. For the newer authentication using login_cookies, see retweet_tweet_v2."
|
|
783
788
|
},
|
|
784
789
|
"retweet_tweet_v2": {
|
|
785
790
|
"name": "retweet_tweet_v2",
|
|
@@ -933,7 +938,8 @@
|
|
|
933
938
|
"{\n \"status\": \"<string>\",\n \"msg\": \"<string>\",\n \"media_id\": \"<string>\"\n}"
|
|
934
939
|
],
|
|
935
940
|
"curl_example": "curl --request POST \\\n --url https://api.twitterapi.io/twitter/upload_image \\\n --header 'Content-Type: application/json' \\\n --header 'X-API-Key: <api-key>' \\\n --data '\n{\n \"auth_session\": \"<string>\",\n \"proxy\": \"<string>\",\n \"image_url\": \"<string>\"\n}\n'",
|
|
936
|
-
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Tweet Action Endpoint--deprecated Upload Image Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/upload_image \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"proxy\": \"<string>\", \"image_url\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"media_id\" : \"<string>\" } Tweet Action Endpoint--deprecated Upload Image upload image to twitter.Need to login first. Trial operation price: $0.001 per call. POST / twitter / upload_image Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/upload_image \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"proxy\": \"<string>\", \"image_url\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"media_id\" : \"<string>\" } Authorizations X-API-Key string header required Body application/json auth_session string required The session of the login. It's returned by /twitter/login_by_2fa proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port image_url string The url of the image to upload Response 200 application/json Upload image response status string Status of the request.success or error msg string Message of the request.error message media_id string The id of the uploaded image Login Step 2: by 2fa code Post/reply/quote a tweet ⌘ I telegram Powered by Mintlify"
|
|
941
|
+
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Tweet Action Endpoint--deprecated Upload Image Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/upload_image \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"proxy\": \"<string>\", \"image_url\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"media_id\" : \"<string>\" } Tweet Action Endpoint--deprecated Upload Image upload image to twitter.Need to login first. Trial operation price: $0.001 per call. POST / twitter / upload_image Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/upload_image \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"auth_session\": \"<string>\", \"proxy\": \"<string>\", \"image_url\": \"<string>\" } ' 200 400 Copy { \"status\" : \"<string>\" , \"msg\" : \"<string>\" , \"media_id\" : \"<string>\" } Authorizations X-API-Key string header required Body application/json auth_session string required The session of the login. It's returned by /twitter/login_by_2fa proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port image_url string The url of the image to upload Response 200 application/json Upload image response status string Status of the request.success or error msg string Message of the request.error message media_id string The id of the uploaded image Login Step 2: by 2fa code Post/reply/quote a tweet ⌘ I telegram Powered by Mintlify",
|
|
942
|
+
"deprecation_notice": "ℹ️ LEGACY VERSION: Consider using upload_media_v2 for the newer authentication method."
|
|
937
943
|
},
|
|
938
944
|
"user_login_v2": {
|
|
939
945
|
"name": "user_login_v2",
|
|
@@ -951,6 +957,56 @@
|
|
|
951
957
|
],
|
|
952
958
|
"curl_example": "curl --request POST \\\n --url https://api.twitterapi.io/twitter/user_login_v2 \\\n --header 'Content-Type: application/json' \\\n --header 'X-API-Key: <api-key>' \\\n --data '\n{\n \"user_name\": \"<string>\",\n \"email\": \"<string>\",\n \"password\": \"<string>\",\n \"proxy\": \"<string>\",\n \"totp_secret\": \"<string>\"\n}\n'",
|
|
953
959
|
"raw_text": "twitterapi.io - Twitter data, 96% cheaper. No auth, no limits, just API. Skip to main content KaitoTwitterAPI home page Search... ⌘ K Support Start Now Start Now Search... Navigation Post & Action Endpoint V2 Log in Get Started Introduction Authentication User Endpoint GET Get User Profile About GET Batch Get User Info By UserIds GET Get User Info GET Get User Last Tweets GET Get User Followers GET Get User Followings GET Get User Mentions GET Check Follow Relationship GET Search user by keyword GET Get User Verified Followers Tweet Endpoint GET Get Tweets by IDs GET Get Tweet Replies GET Get Tweet Quotations GET Get Tweet Retweeters GET Get Tweet Thread Context GET Get Article GET Advanced Search List Endpoint GET Get List Followers GET Get List Members Communities Endpoint GET Get Community Info By Id GET Get Community Members GET Get Community Moderators GET Get Community Tweets GET Search Tweets From All Community Trend Endpoint GET Get Trends Spaces Endpoint GET Get Space Detail My Endpoint GET Get My Account Info Post & Action Endpoint V2 POST Log in POST Upload media POST Create tweet v2 GET Get History Messages By UserID POST Send DM V2 POST Retweet Tweet POST Dlete Tweet POST Follow User POST Unfollow User POST Like Tweet POST Unlike Tweet POST Create Community V2 POST Delete Community V2 POST Join Community v2 POST Leave Community V2 Webhook/Websocket Filter Rule POST Add Webhook/Websocket Tweet Filter Rule GET Get ALL test Webhook/Websocket Tweet Filter Rules POST Update Webhook/Websocket Tweet Filter Rule DEL Delete Webhook/Websocket Tweet Filter Rule Stream Endpoint POST Add a twitter user to monitor his tweets POST Remove a user from monitor list Login Endpoint--deprecated POST Login Step 1: by email or username POST Login Step 2: by 2fa code Tweet Action Endpoint--deprecated POST Upload Image POST Post/reply/quote a tweet POST Like a tweet POST Reweet a tweet cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/user_login_v2 \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"user_name\": \"<string>\", \"email\": \"<string>\", \"password\": \"<string>\", \"proxy\": \"<string>\", \"totp_secret\": \"<string>\" } ' 200 400 Copy { \"login_cookie\" : \"<string>\" , \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Post & Action Endpoint V2 Log in Log in directly using your email, username, password, and 2FA secret key. And obtain the Login_cookie, to post tweets, etc. Please note that the Login_cookie obtained through login_v2 can only be used for APIs with the “v2” suffix, such as create_tweet_v2. Trial operation price: $0.003 per call. POST / twitter / user_login_v2 Try it cURL cURL Copy curl --request POST \\ --url https://api.twitterapi.io/twitter/user_login_v2 \\ --header 'Content-Type: application/json' \\ --header 'X-API-Key: <api-key>' \\ --data ' { \"user_name\": \"<string>\", \"email\": \"<string>\", \"password\": \"<string>\", \"proxy\": \"<string>\", \"totp_secret\": \"<string>\" } ' 200 400 Copy { \"login_cookie\" : \"<string>\" , \"status\" : \"<string>\" , \"msg\" : \"<string>\" } Authorizations X-API-Key string header required Body application/json user_name string required User name.Must be set email string required Email.Must be set password string required The password of the user proxy string required The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 totp_secret string The totp secret of the user.If you don't have it, you can get it from the user's profile page.This field is required because it will make your login more reliable and less likely to be banned. Response 200 application/json Login response login_cookie string The login cookie of the user.Use this cookie to post tweets, etc.You can only call v2 APIs with this cookie.If your account is in good standing and you're using residential proxies, the cookies will generally remain valid indefinitely. status string Status of the request.success or error msg string Message of the request.error message Get My Account Info Upload media ⌘ I telegram Powered by Mintlify"
|
|
960
|
+
},
|
|
961
|
+
"update_avatar_v2": {
|
|
962
|
+
"name": "update_avatar_v2",
|
|
963
|
+
"title": "Update Avatar V2",
|
|
964
|
+
"path": "/twitter/update_avatar_v2",
|
|
965
|
+
"type": "PATCH",
|
|
966
|
+
"url": "https://docs.twitterapi.io/api-reference/endpoint/update_avatar_v2",
|
|
967
|
+
"description": "Update Twitter profile picture. Requires login_cookies from user_login_v2. Trial price: $0.003/call. Image: JPG/PNG, 400x400px recommended, max 700KB.",
|
|
968
|
+
"raw_text": "PATCH /twitter/update_avatar_v2 - Update profile picture. Parameters: login_cookies (required), proxy (required), file (binary, required). Response: {status, message}",
|
|
969
|
+
"scraped_at": "2026-01-26T10:24:36.597Z"
|
|
970
|
+
},
|
|
971
|
+
"update_banner_v2": {
|
|
972
|
+
"name": "update_banner_v2",
|
|
973
|
+
"title": "Update Banner V2",
|
|
974
|
+
"path": "/twitter/update_banner_v2",
|
|
975
|
+
"type": "PATCH",
|
|
976
|
+
"url": "https://docs.twitterapi.io/api-reference/endpoint/update_banner_v2",
|
|
977
|
+
"description": "Update Twitter banner/header image. Requires login_cookies from user_login_v2. Trial price: $0.003/call. Image: JPG/PNG, 1500x500px recommended, max 2MB.",
|
|
978
|
+
"raw_text": "PATCH /twitter/update_banner_v2 - Update banner image. Parameters: login_cookies (required), proxy (required), file (binary, required). Response: {status, message}",
|
|
979
|
+
"scraped_at": "2026-01-26T10:24:36.598Z"
|
|
980
|
+
},
|
|
981
|
+
"update_profile_v2": {
|
|
982
|
+
"name": "update_profile_v2",
|
|
983
|
+
"title": "Update Profile V2",
|
|
984
|
+
"path": "/twitter/update_profile_v2",
|
|
985
|
+
"type": "PATCH",
|
|
986
|
+
"url": "https://docs.twitterapi.io/api-reference/endpoint/update_profile_v2",
|
|
987
|
+
"description": "Update Twitter profile info (name, bio, location, url). Requires login_cookies from user_login_v2. Trial price: $0.003/call.",
|
|
988
|
+
"raw_text": "PATCH /twitter/update_profile_v2 - Update profile info. Parameters: login_cookies (required), proxy (required), name (optional, max 50 chars), description (optional, max 160 chars), location (optional, max 30 chars), url (optional). Response: {status, message}",
|
|
989
|
+
"scraped_at": "2026-01-26T10:24:36.598Z"
|
|
990
|
+
},
|
|
991
|
+
"get_tweet_replies_v2": {
|
|
992
|
+
"name": "get_tweet_replies_v2",
|
|
993
|
+
"title": "Get Tweet Replies V2",
|
|
994
|
+
"path": "/twitter/tweet/replies/v2",
|
|
995
|
+
"type": "GET",
|
|
996
|
+
"url": "https://docs.twitterapi.io/api-reference/endpoint/get_tweet_replies_v2",
|
|
997
|
+
"description": "Get tweet replies by tweet ID (V2). Returns up to 20 replies per page. Supports pagination and sorting by Relevance, Latest, or Likes.",
|
|
998
|
+
"raw_text": "GET /twitter/tweet/replies/v2 - Get tweet replies. Parameters: tweetId (required), cursor (optional), queryType (optional: Relevance/Latest/Likes). Response: {replies[], has_next_page, next_cursor, status, message}",
|
|
999
|
+
"scraped_at": "2026-01-26T10:24:36.598Z"
|
|
1000
|
+
},
|
|
1001
|
+
"get_user_to_monitor_tweet": {
|
|
1002
|
+
"name": "get_user_to_monitor_tweet",
|
|
1003
|
+
"title": "Get Users to Monitor Tweet",
|
|
1004
|
+
"path": "/oapi/x_user_stream/get_user_to_monitor_tweet",
|
|
1005
|
+
"type": "GET",
|
|
1006
|
+
"url": "https://docs.twitterapi.io/api-reference/endpoint/get_user_to_monitor_tweet",
|
|
1007
|
+
"description": "Get all users that have been added for tweet monitoring. Returns list of monitored users with their settings.",
|
|
1008
|
+
"raw_text": "GET /oapi/x_user_stream/get_user_to_monitor_tweet - Get monitored users. No parameters required. Response: {status, msg, data[{id_for_user, x_user_id, x_user_name, x_user_screen_name, is_monitor_tweet, is_monitor_profile, ...}]}",
|
|
1009
|
+
"scraped_at": "2026-01-26T10:24:36.598Z"
|
|
954
1010
|
}
|
|
955
1011
|
},
|
|
956
1012
|
"pages": {
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twitterapi-io-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"mcpName": "io.github.dorukardahan/twitterapi-io-mcp",
|
|
5
5
|
"description": "TwitterAPI.io MCP server providing offline access to docs (endpoints, pages, blogs) for Claude and other AI assistants",
|
|
6
6
|
"main": "index.js",
|