Get Space By ID
tweetapi_space_by_idFetch a Twitter Space's details by ID or link, including the media key required to build its stream URL. Use it to resolve Space metadata and streaming access without extra lookup steps.
Instructions
Fetch details for a Space by its space ID or Space link, including the media key needed for tweetapi_space_stream_url. Read-only. Needs a TweetAPI API key and makes one TweetAPI request per call, usually costing 1 unit; each result includes a cost estimate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaceId | Yes | Space ID, or a Space link such as https://x.com/i/spaces/1ABCdefGHIjkl. |
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. |