# Twitter API v2 ## API Docs - General [Returns the open api spec document.](https://twitterv2.apifox.cn/api-5362869.md): Full open api spec in JSON format. (See https://github.com/OAI/OpenAPI-Specification/blob/master/README.md) - Tweets [Tweet lookup by Tweet IDs](https://twitterv2.apifox.cn/api-5362870.md): Returns a variety of information about the Tweet specified by the requested ID - Tweets [Full archive search counts](https://twitterv2.apifox.cn/api-5362871.md): Returns Tweet Counts that match a search query. - Tweets [Recent search counts](https://twitterv2.apifox.cn/api-5362872.md): Returns Tweet Counts from the last 7 days that match a search query. - Tweets [Sample stream](https://twitterv2.apifox.cn/api-5362873.md): Streams a deterministic 1% of public Tweets. - Tweets [Full-archive search](https://twitterv2.apifox.cn/api-5362874.md): Returns Tweets that match a search query. - Tweets [Recent search](https://twitterv2.apifox.cn/api-5362875.md): Returns Tweets from the last 7 days that match a search query. - Tweets [Filtered stream](https://twitterv2.apifox.cn/api-5362876.md): Streams Tweets matching the stream's active rule set. - Tweets [Rules lookup](https://twitterv2.apifox.cn/api-5362877.md): Returns rules from a user's active rule set. Users can fetch all of their rules or a subset, specified by the provided rule ids. - Tweets [Add/Delete rules](https://twitterv2.apifox.cn/api-5362878.md): Add or delete rules from a user's active rule set. Users can provide unique, optionally tagged rules to add. Users can delete their entire rule set or a subset specified by rule ids or values. - Tweets [Tweet lookup by Tweet ID](https://twitterv2.apifox.cn/api-5362879.md): Returns a variety of information about the Tweet specified by the requested ID - Tweets [Hide replies](https://twitterv2.apifox.cn/api-5362880.md): Hides or unhides a reply to an owned conversation. - Tweets [Returns Tweet objects liked by the provided User ID](https://twitterv2.apifox.cn/api-5362881.md): Returns a list of Tweets liked by the provided User ID - Tweets [Causes the user (in the path) to like the specified tweet](https://twitterv2.apifox.cn/api-5362882.md): Causes the user (in the path) to like the specified tweet. The user in the path must match the user context authorizing the request. - Tweets [Causes the user (in the path) to unlike the specified tweet](https://twitterv2.apifox.cn/api-5362883.md): Causes the user (in the path) to unlike the specified tweet. The user must match the user context authorizing the request - Tweets [User mention timeline by User ID](https://twitterv2.apifox.cn/api-5362884.md): Returns Tweet objects that mention username associated to the provided User ID - Tweets [Causes the user (in the path) to retweet the specified tweet](https://twitterv2.apifox.cn/api-5362885.md): Causes the user (in the path) to retweet the specified tweet. The user in the path must match the user context authorizing the request. - Tweets [Causes the user (in the path) to unretweet the specified tweet](https://twitterv2.apifox.cn/api-5362886.md): Causes the user (in the path) to unretweet the specified tweet. The user must match the user context authorizing the request - Tweets [User Tweets timeline by User ID](https://twitterv2.apifox.cn/api-5362887.md): Returns a list of Tweets authored by the provided User ID - Users [Returns user objects that have liked the provided Tweet ID](https://twitterv2.apifox.cn/api-5362888.md): Returns a list of users that have liked the provided Tweet ID - Users [Returns user objects that have retweeted the provided Tweet ID](https://twitterv2.apifox.cn/api-5362889.md): Returns a list of users that have retweeted the provided Tweet ID - Users [User lookup by IDs](https://twitterv2.apifox.cn/api-5362890.md): This endpoint returns information about users. Specify users by their ID. - Users [User lookup by usernames](https://twitterv2.apifox.cn/api-5362891.md): This endpoint returns information about users. Specify users by their username. - Users [User lookup by username](https://twitterv2.apifox.cn/api-5362892.md): This endpoint returns information about a user. Specify user by username. - Users [User lookup by ID](https://twitterv2.apifox.cn/api-5362893.md): This endpoint returns information about a user. Specify user by ID. - Users [Returns user objects that are blocked by provided user ID](https://twitterv2.apifox.cn/api-5362894.md): Returns a list of users that are blocked by the provided user ID - Users [Block User by User ID](https://twitterv2.apifox.cn/api-5362895.md): Causes the user (in the path) to block the target user. The user (in the path) must match the user context authorizing the request - Users [Returns user objects that follow the provided user ID](https://twitterv2.apifox.cn/api-5362896.md): Returns a list of users that follow the provided user ID - Users [Following by User ID](https://twitterv2.apifox.cn/api-5362897.md): Returns a list of users that are being followed by the provided user ID - Users [Follow User](https://twitterv2.apifox.cn/api-5362898.md): Causes the user(in the path) to follow, or “request to follow” for protected users, the target user. The user(in the path) must match the user context authorizing the request - Users [Mute User by User ID](https://twitterv2.apifox.cn/api-5362899.md): Causes the user (in the path) to mute the target user. The user (in the path) must match the user context authorizing the request - Users [Unblock User by User ID](https://twitterv2.apifox.cn/api-5362900.md): Causes the source user to unblock the target user. The source user must match the user context authorizing the request - Users [Unfollow User](https://twitterv2.apifox.cn/api-5362901.md): Causes the source user to unfollow the target user. The source user must match the user context authorizing the request - Users [Unmute User by User ID](https://twitterv2.apifox.cn/api-5362902.md): Causes the source user to unmute the target user. The source user must match the user context authorizing the request ## Schemas - Schemas [AddOrDeleteRulesRequest](https://twitterv2.apifox.cn/schema-1045076.md): - Schemas [AddOrDeleteRulesResponse](https://twitterv2.apifox.cn/schema-1045077.md): - Schemas [AddRulesRequest](https://twitterv2.apifox.cn/schema-1045078.md): - Schemas [AddRulesResponse](https://twitterv2.apifox.cn/schema-1045079.md): - Schemas [AnimatedGif](https://twitterv2.apifox.cn/schema-1045080.md): - Schemas [CashtagEntity](https://twitterv2.apifox.cn/schema-1045081.md): - Schemas [CashtagFields](https://twitterv2.apifox.cn/schema-1045082.md): - Schemas [ClientDisconnectedProblem](https://twitterv2.apifox.cn/schema-1045083.md): - Schemas [ClientForbiddenProblem](https://twitterv2.apifox.cn/schema-1045084.md): - Schemas [CommonMediaFields](https://twitterv2.apifox.cn/schema-1045085.md): - Schemas [ConnectionExceptionProblem](https://twitterv2.apifox.cn/schema-1045086.md): - Schemas [ContextAnnotation](https://twitterv2.apifox.cn/schema-1045087.md): - Schemas [ContextAnnotationDomainFields](https://twitterv2.apifox.cn/schema-1045088.md): - Schemas [ContextAnnotationEntityFields](https://twitterv2.apifox.cn/schema-1045089.md): - Schemas [CountryCode](https://twitterv2.apifox.cn/schema-1045090.md): - Schemas [DeleteRulesRequest](https://twitterv2.apifox.cn/schema-1045091.md): - Schemas [DeleteRulesResponse](https://twitterv2.apifox.cn/schema-1045092.md): - Schemas [DisallowedResourceProblem](https://twitterv2.apifox.cn/schema-1045093.md): - Schemas [DuplicateRuleProblem](https://twitterv2.apifox.cn/schema-1045094.md): - Schemas [End](https://twitterv2.apifox.cn/schema-1045095.md): - Schemas [EntityIndicesInclusiveExclusive](https://twitterv2.apifox.cn/schema-1045096.md): - Schemas [EntityIndicesInclusiveInclusive](https://twitterv2.apifox.cn/schema-1045097.md): - Schemas [Error](https://twitterv2.apifox.cn/schema-1045098.md): - Schemas [Expansions](https://twitterv2.apifox.cn/schema-1045099.md): - Schemas [FieldUnauthorizedProblem](https://twitterv2.apifox.cn/schema-1045100.md): - Schemas [FilteredStreamingTweet](https://twitterv2.apifox.cn/schema-1045101.md): - Schemas [FullTextEntities](https://twitterv2.apifox.cn/schema-1045102.md): - Schemas [GenericMultipleUsersLookupResponse](https://twitterv2.apifox.cn/schema-1045103.md): - Schemas [GenericProblem](https://twitterv2.apifox.cn/schema-1045104.md): - Schemas [GenericTweetsTimelineResponse](https://twitterv2.apifox.cn/schema-1045105.md): - Schemas [Geo](https://twitterv2.apifox.cn/schema-1045106.md): - Schemas [Granularity](https://twitterv2.apifox.cn/schema-1045107.md): - Schemas [HTTPStatusCode](https://twitterv2.apifox.cn/schema-1045108.md): - Schemas [HashtagEntity](https://twitterv2.apifox.cn/schema-1045109.md): - Schemas [HashtagFields](https://twitterv2.apifox.cn/schema-1045110.md): - Schemas [InvalidRequestProblem](https://twitterv2.apifox.cn/schema-1045111.md): - Schemas [InvalidRuleProblem](https://twitterv2.apifox.cn/schema-1045112.md): - Schemas [List](https://twitterv2.apifox.cn/schema-1045113.md): - Schemas [ListId](https://twitterv2.apifox.cn/schema-1045114.md): - Schemas [Media](https://twitterv2.apifox.cn/schema-1045115.md): - Schemas [MediaHeight](https://twitterv2.apifox.cn/schema-1045116.md): - Schemas [MediaKey](https://twitterv2.apifox.cn/schema-1045117.md): - Schemas [MediaWidth](https://twitterv2.apifox.cn/schema-1045118.md): - Schemas [MentionEntity](https://twitterv2.apifox.cn/schema-1045119.md): - Schemas [MentionFields](https://twitterv2.apifox.cn/schema-1045120.md): - Schemas [MultiTweetLookupResponse](https://twitterv2.apifox.cn/schema-1045121.md): - Schemas [MultiUserLookupResponse](https://twitterv2.apifox.cn/schema-1045122.md): - Schemas [OperationalDisconnectProblem](https://twitterv2.apifox.cn/schema-1045123.md): - Schemas [Photo](https://twitterv2.apifox.cn/schema-1045124.md): - Schemas [Place](https://twitterv2.apifox.cn/schema-1045125.md): - Schemas [PlaceId](https://twitterv2.apifox.cn/schema-1045126.md): - Schemas [PlaceType](https://twitterv2.apifox.cn/schema-1045127.md): - Schemas [Point](https://twitterv2.apifox.cn/schema-1045128.md): - Schemas [Poll](https://twitterv2.apifox.cn/schema-1045129.md): - Schemas [PollId](https://twitterv2.apifox.cn/schema-1045130.md): - Schemas [PollOption](https://twitterv2.apifox.cn/schema-1045131.md): - Schemas [Position](https://twitterv2.apifox.cn/schema-1045132.md): - Schemas [Problem](https://twitterv2.apifox.cn/schema-1045133.md): - Schemas [ProblemFields](https://twitterv2.apifox.cn/schema-1045134.md): - Schemas [ReplySettings](https://twitterv2.apifox.cn/schema-1045135.md): - Schemas [ResourceNotFoundProblem](https://twitterv2.apifox.cn/schema-1045136.md): - Schemas [ResourceUnauthorizedProblem](https://twitterv2.apifox.cn/schema-1045137.md): - Schemas [ResourceUnavailableProblem](https://twitterv2.apifox.cn/schema-1045138.md): - Schemas [Rule](https://twitterv2.apifox.cn/schema-1045139.md): - Schemas [RuleId](https://twitterv2.apifox.cn/schema-1045140.md): - Schemas [RuleNoId](https://twitterv2.apifox.cn/schema-1045141.md): - Schemas [RuleTag](https://twitterv2.apifox.cn/schema-1045142.md): - Schemas [RuleValue](https://twitterv2.apifox.cn/schema-1045143.md): - Schemas [RulesCapProblem](https://twitterv2.apifox.cn/schema-1045144.md): - Schemas [RulesRequestSummary](https://twitterv2.apifox.cn/schema-1045145.md): - Schemas [RulesResponseMetadata](https://twitterv2.apifox.cn/schema-1045146.md): - Schemas [SearchCount](https://twitterv2.apifox.cn/schema-1045147.md): - Schemas [SingleTweetLookupResponse](https://twitterv2.apifox.cn/schema-1045148.md): - Schemas [SingleUserLookupResponse](https://twitterv2.apifox.cn/schema-1045149.md): - Schemas [Start](https://twitterv2.apifox.cn/schema-1045150.md): - Schemas [StreamingTweet](https://twitterv2.apifox.cn/schema-1045151.md): - Schemas [Tweet](https://twitterv2.apifox.cn/schema-1045152.md): - Schemas [TweetCount](https://twitterv2.apifox.cn/schema-1045153.md): - Schemas [TweetCountsResponse](https://twitterv2.apifox.cn/schema-1045154.md): - Schemas [TweetID](https://twitterv2.apifox.cn/schema-1045155.md): - Schemas [TweetSearchResponse](https://twitterv2.apifox.cn/schema-1045156.md): - Schemas [TweetWithheld](https://twitterv2.apifox.cn/schema-1045157.md): - Schemas [URL](https://twitterv2.apifox.cn/schema-1045158.md): - Schemas [URLFields](https://twitterv2.apifox.cn/schema-1045159.md): - Schemas [URLImage](https://twitterv2.apifox.cn/schema-1045160.md): - Schemas [UnsupportedAuthenticationProblem](https://twitterv2.apifox.cn/schema-1045161.md): - Schemas [UrlEntity](https://twitterv2.apifox.cn/schema-1045162.md): - Schemas [UsageCapExceededProblem](https://twitterv2.apifox.cn/schema-1045163.md): - Schemas [User](https://twitterv2.apifox.cn/schema-1045164.md): - Schemas [UserID](https://twitterv2.apifox.cn/schema-1045165.md): - Schemas [UserName](https://twitterv2.apifox.cn/schema-1045166.md): - Schemas [UserWithheld](https://twitterv2.apifox.cn/schema-1045167.md): - Schemas [UsersBlockingMutationResponse](https://twitterv2.apifox.cn/schema-1045168.md): - Schemas [UsersFollowingCreateResponse](https://twitterv2.apifox.cn/schema-1045169.md): - Schemas [UsersFollowingDeleteResponse](https://twitterv2.apifox.cn/schema-1045170.md): - Schemas [UsersFollowingLookupResponse](https://twitterv2.apifox.cn/schema-1045171.md): - Schemas [UsersLikesCreateRequest](https://twitterv2.apifox.cn/schema-1045172.md): - Schemas [UsersLikesCreateResponse](https://twitterv2.apifox.cn/schema-1045173.md): - Schemas [UsersLikesDeleteResponse](https://twitterv2.apifox.cn/schema-1045174.md): - Schemas [UsersMutingMutationResponse](https://twitterv2.apifox.cn/schema-1045175.md): - Schemas [UsersRetweetsCreateRequest](https://twitterv2.apifox.cn/schema-1045176.md): - Schemas [UsersRetweetsCreateResponse](https://twitterv2.apifox.cn/schema-1045177.md): - Schemas [UsersRetweetsDeleteResponse](https://twitterv2.apifox.cn/schema-1045178.md): - Schemas [Video](https://twitterv2.apifox.cn/schema-1045179.md): - Response [HttpErrorResponse](https://twitterv2.apifox.cn/schema-1045180.md):