Search Lists
tweetapi_list_searchSearch X Lists by keyword and retrieve one page of matching Lists with IDs and a next cursor. Use returned List IDs for member or tweet lookups.
Instructions
Search X Lists by keyword and fetch one page of matching Lists. A page can be short without being the last one. Use the List IDs with tweetapi_list_tweets or tweetapi_list_members. Read-only. Needs a TweetAPI API key and makes one TweetAPI request per call, usually costing 1 unit; each result includes a cost estimate. Returns one page: to get the next one, call again with cursor set to this result's completeness.nextCursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Keywords to find Lists by, 1 to 512 characters, as in X's List search. | |
| cursor | No | completeness.nextCursor from the previous page. Omit it for the first page. | |
| responseFormat | No | full (default) returns TweetAPI's JSON unchanged. compact keeps full post text, IDs, links, original dates, counts, and cursors but drops bulky fields; output.fieldsOmitted lists what was dropped. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | ||
| mode | Yes | ||
| tool | Yes | ||
| notice | Yes | ||
| output | Yes | ||
| result | Yes | ||
| endpoint | Yes | ||
| usageDocs | No | ||
| pagination | No | Pagination exactly as TweetAPI returned it. | |
| statusCode | Yes | ||
| retrievedAt | Yes | When the MCP server received this response (ISO 8601). Not the post or profile date, and not a promise that X's data was fresh at that moment. | |
| completeness | Yes | ||
| resolvedInput | No | Identifiers the MCP server parsed from links or @handles before calling TweetAPI. |