{"@context": "https://schema.org", "@type": "WebAPI", "name": "Twitter API API", "description": "Twitter API, an HTTP API described by an OpenAPI document.", "provider": {"@type": "Organization", "name": "twitter.com"}, "documentation": "http://api.apigee.com/v1/consoles/twitter/apidescription?format=wadl"}
Index / APIs / twitter.com

Twitter API API

Twitter API, an HTTP API described by an OpenAPI document.

Every row below was read from the vendor's own OpenAPI document. The summary text is theirs. What this registry adds is that each operation is indexed with its method, path, base URL and auth scheme, so a search for a capability can answer with a call rather than a name, and that the endpoint is probed on a schedule.

Specifications as held by the APIs.guru corpus, whose newest record is 2023-04-21. Operations the vendor has added since are not listed here; the origin links above are the vendor's own current documents.

base URLs: https://api.twitter.com/1.1 https://api.twitter.com

auth: b e a r ,

find it by capability: POST /search {"query":{"text":"..."}} returns these operations with their invocation detail. Connect any agent client.

Twitter API v1.1

Twitter API, an HTTP API described by an OpenAPI document.

methodpathwhat the vendor says it does
GET/account/settings.jsonReturns settings (including current trend, geo and sleep time information) for the authenticating user.
POST/account/settings.jsonUpdates the authenticating user's settings.
POST/account/update_delivery_device.jsonSets which device Twitter delivers updates to for the authenticating user. Sending none as the device paramete
POST/account/update_profile.jsonSets values that users are able to set under the Account tab of their settings page. Only the parameters speci
POST/account/update_profile_background_image.jsonUpdates the authenticating user's profile background image. This method can also be used to enable or disable
POST/account/update_profile_colors.jsonSets one or more hex values that control the color scheme of the authenticating user's profile page on twitter
POST/account/update_profile_image.jsonUpdates the authenticating user's profile image. Note that this method expects raw multipart data, not a URL t
GET/application/rate_limit_status.jsonReturns the current rate limits for methods belonging to the specified resource families. Each 1.1 API resour
POST/blocks/create.jsonBlocks the specified user from following the authenticating user. In addition the blocked user will not show i
POST/blocks/destroy.jsonUn-blocks the user specified in the ID parameter for the authenticating user. Returns the un-blocked user in t
GET/blocks/ids.jsonReturns an array of numeric user ids the authenticating user is blocking.
GET/blocks/list.jsonAllows one to enable or disable retweets and device notifications from the specified user.
GET/direct_messages.jsonReturns the 20 most recent direct messages sent to the authenticating user. Includes detailed information abou
POST/direct_messages/destroy.jsonDestroys the direct message specified in the required ID parameter. The authenticating user must be the recipi
POST/direct_messages/new.jsonSends a new direct message to the specified user from the authenticating user. Requires both the user and text
GET/direct_messages/sent.jsonReturns the 20 most recent direct messages sent by the authenticating user. Includes detailed information abou
GET/direct_messages/show.jsonReturns a single direct message, specified by an id parameter. Like the /1.1/direct_messages.format request, t
POST/favorites/create.jsonFavorites the status specified in the ID parameter as the authenticating user. Returns the favorite status whe
POST/favorites/destroy.jsonUn-favorites the status specified in the ID parameter as the authenticating user. Returns the un-favorited sta
GET/favorites/list.jsonReturns the 20 most recent Tweets favorited by the authenticating or specified user.
GET/followers/ids.jsonReturns a cursored collection of user IDs for every user following the specified user. At this time, results
GET/friends/ids.jsonReturns a cursored collection of user IDs for every user the specified user is following (otherwise known as t
POST/friendships/create.jsonAllows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user
POST/friendships/destroy.jsonAllows the authenticating user to unfollow the user specified in the ID parameter. Returns the unfollowed use
GET/friendships/incoming.jsonReturns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or
GET/friendships/lookup.jsonReturns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or
GET/friendships/outgoing.jsonReturns a collection of numeric IDs for every protected user for whom the authenticating user has a pending fo
GET/friendships/show.jsonReturns detailed information about the relationship between two arbitrary users.
POST/friendships/update.jsonAllows one to enable or disable retweets and device notifications from the specified user.
GET/geo/id/{place_id}.jsonReturns all the information about a known place.Example Values: df51dec6f4ee2b2c
POST/geo/places.jsonCreates a new place object at the given latitude and longitude. Before creating a place you need to query GET
GET/geo/reverse_geocode.jsonGiven a latitude and a longitude, searches for up to 20 places that can be used as a place_id when updating a
GET/geo/search.jsonSearch for places that can be attached to a statuses/update. Given a latitude and a longitude pair, an IP addr
GET/geo/similar_places.jsonLocates places near the given coordinates which are similar in name. Conceptually you would use this method t
GET/help/configuration.jsonReturns the current configuration used by Twitter including twitter.com slugs which are not usernames, maximum
GET/help/languages.jsonReturns the list of languages supported by Twitter along with their ISO 639-1 code. The ISO 639-1 code is the
GET/help/privacy.jsonReturns Twitter's Privacy Policy
GET/help/tos.jsonReturns the Twitter Terms of Service in the requested format. These are not the same as the Developer Rules of
POST/lists/create.jsonCreates a new list for the authenticated user. Note that you can't create more than 20 lists per account.
POST/lists/destroy.jsonDeletes the specified list. The authenticated user must own the list to be able to destroy it.

and 43 more operation(s) in this specification, all searchable.

specification origin: http://api.apigee.com/v1/consoles/twitter/apidescription?format=wadl

Twitter API v2 v2.61

Twitter API v2 available endpoints

methodpathwhat the vendor says it does
GET/2/compliance/jobsList Compliance Jobs Returns recent Compliance Jobs for a given job type and optional job status Compliance
POST/2/compliance/jobsCreate compliance job Creates a compliance for the given job type Compliance
GET/2/compliance/jobs/{id}Get Compliance Job Returns a single Compliance Job by ID Compliance
POST/2/dm_conversationsCreate a new DM Conversation Creates a new DM Conversation. Direct Messages
GET/2/dm_conversations/with/{participant_id}/dm_eventsGet DM Events for a DM Conversation Returns DM Events for a DM Conversation Direct Messages
POST/2/dm_conversations/with/{participant_id}/messagesSend a new message to a user Creates a new message for a DM Conversation with a participant user by ID Direct
POST/2/dm_conversations/{dm_conversation_id}/messagesSend a new message to a DM Conversation Creates a new message for a DM Conversation specified by DM Conversati
GET/2/dm_conversations/{id}/dm_eventsGet DM Events for a DM Conversation Returns DM Events for a DM Conversation Direct Messages
GET/2/dm_eventsGet recent DM Events Returns recent DM Events across DM conversations Direct Messages
POST/2/listsCreate List Creates a new List. Lists
GET/2/lists/{id}List lookup by List ID. Returns a List. Lists
PUT/2/lists/{id}Update List. Update a List that you own. Lists
DELETE/2/lists/{id}Delete List Delete a List that you own. Lists
GET/2/lists/{id}/followersReturns User objects that follow a List by the provided List ID Returns a list of Users that follow a List by
GET/2/lists/{id}/membersReturns User objects that are members of a List by the provided List ID. Returns a list of Users that are memb
POST/2/lists/{id}/membersAdd a List member Causes a User to become a member of a List. Lists
DELETE/2/lists/{id}/members/{user_id}Remove a List member Causes a User to be removed from the members of a List. Lists
GET/2/lists/{id}/tweetsList Tweets timeline by List ID. Returns a list of Tweets associated with the provided List ID. Tweets
GET/2/openapi.jsonReturns the OpenAPI Specification document. Full OpenAPI Specification in JSON format. (See https://github.com
GET/2/spacesSpace lookup up Space IDs Returns a variety of information about the Spaces specified by the requested IDs Spa
GET/2/spaces/by/creator_idsSpace lookup by their creators Returns a variety of information about the Spaces created by the provided User
GET/2/spaces/searchSearch for Spaces Returns Spaces that match the provided query. Spaces
GET/2/spaces/{id}Space lookup by Space ID Returns a variety of information about the Space specified by the requested ID Spaces
GET/2/spaces/{id}/buyersRetrieve the list of Users who purchased a ticket to the given space Retrieves the list of Users who purchased
GET/2/spaces/{id}/tweetsRetrieve Tweets from a Space. Retrieves Tweets shared in the specified Space. Spaces Tweets
GET/2/tweetsTweet lookup by Tweet IDs Returns a variety of information about the Tweet specified by the requested ID. Twee
POST/2/tweetsCreation of a Tweet Causes the User to create a Tweet under the authorized account. Tweets
GET/2/tweets/compliance/streamTweets Compliance stream Streams 100% of compliance data for Tweets Compliance
GET/2/tweets/counts/allFull archive search counts Returns Tweet Counts that match a search query. Tweets
GET/2/tweets/counts/recentRecent search counts Returns Tweet Counts from the last 7 days that match a search query. Tweets
GET/2/tweets/firehose/streamFirehose stream Streams 100% of public Tweets. Tweets
GET/2/tweets/label/streamTweets Label stream Streams 100% of labeling events applied to Tweets Compliance
GET/2/tweets/sample/streamSample stream Streams a deterministic 1% of public Tweets. Tweets
GET/2/tweets/sample10/streamSample 10% stream Streams a deterministic 10% of public Tweets. Tweets
GET/2/tweets/search/allFull-archive search Returns Tweets that match a search query. Tweets
GET/2/tweets/search/recentRecent search Returns Tweets from the last 7 days that match a search query. Tweets
GET/2/tweets/search/streamFiltered stream Streams Tweets matching the stream's active rule set. Tweets
GET/2/tweets/search/stream/rulesRules lookup Returns rules from a User's active rule set. Users can fetch all of their rules or a subset, spec
POST/2/tweets/search/stream/rulesAdd/Delete rules Add or delete rules from a User's active rule set. Users can provide unique, optionally tagge
GET/2/tweets/{id}Tweet lookup by Tweet ID Returns a variety of information about the Tweet specified by the requested ID. Tweet

and 40 more operation(s) in this specification, all searchable.

specification origin: https://api.twitter.com/2/openapi.json

nothing on this page is a rating, an endorsement or a claim about quality. Reachability is what our probes observed from one network; answering is a floor under usefulness, not a measure of it.