FETCHAPI

Get an X Space by id API

One call returns one Twitter/X Space (audio room) by id: state, times, creator, participants and replay links. The answer is a single Space, not a list; participants.speakers held 38 people (3 shown plus '… 35 more'). There is no cursor.

2 live routes on X, from $0.00009 per call. Every route below answered our last live test on 2026-10-06; the gateway re-tests them daily.

Get a keySee it in the catalogUse it from MCP

Price per call, by route

The upstream price you are metered at, cheapest first. A route without a published price says so.

ProviderEndpointPriceTested
twitter-api45RapidAPI listing
Spaces infoCHEAPESTGET spaces.php$0.00009$0.09 / 1k calls✓ 2026-10-06pricing ↗
twitter-api47RapidAPI listing
By IDGET v3/space/by-id$0.00019$0.19 / 1k calls✓ 2026-10-06pricing ↗

What it returns

From a real call to the cheapest route: twitter-api45.

One call returns one Twitter/X Space (audio room) by id: state, times, creator, participants and replay links. The answer is a single Space, not a list; participants.speakers held 38 people (3 shown plus '… 35 more'). There is no cursor.
idspace idstateRunning or Endedstartedstart time, epoch msendedend time, epoch mscreator.rest_idcreator user idcreator.screennamecreator handleparticipants.speakers[].screennamespeaker handleplaylistreplay HLS playlist urltotal_live_listenerspeak live listenerstotal_replay_watchedreplay views

Call it

HTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.

GET /api/gw/rapidapi-twitter-api45/spaces.php$0.00009 / call✓ working · tested 2026-10-061.58 s latency
Parameters
ParameterTypeNotes
idstring · queryrequireddefault 1yoJMwpbmaXKQ
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api45/spaces.php?id=1yoJMwpbmaXKQ" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api45.spaces_info", {"id": "1yoJMwpbmaXKQ"})
Real example answer (trimmed) · 2026-10-03
{
  "id": "1yoJMwpbmaXKQ",
  "ended": "1712035727255",
  "state": "Ended",
  "locked": false,
  "creator": {
    "avatar": null,
    "rest_id": "336348053",
    "screenname": "barkmeta",
    "display_name": "Bark",
    "followers_count": 289069,
    "is_blue_verified": true,
    "pinned_tweet_ids_str": [
      "2096269291712565268"
    ]
  },
  "started": 1712011212266,
  "playlist": "https://prod-fastly-us-east-1.video.pscp.tv/Transcoding/v1/hls/TuGZupq0IW3JTw2-slEt_jGrNF8Rs59Rp0HLJcqd-IDA1RsF8APHPdaJx8fo2bEt-PteyXGtm_mMM8LdxDw0NQ/non_transc…",
  "sharings": [],
  "community": false,
  "media_key": "28_1774929779223080960",
  "content_type": "visual_audio",
  "participants": {
    "admins": [
      {
        "avatar": "https://pbs.twimg.com/profile_images/2073768040299171840/duhnAwEg_normal.jpg",
        "rest_id": "336348053",
        "screenname": "barkmeta",
        "is_verified": true,
        "display_name": "Bark",
        "is_blue_verified": true,
        "periscope_user_id": "1zYKbeqYpyQex"
      }
    ],
    "speakers": [
      {
        "avatar": "https://pbs.twimg.com/profile_images/2089369779123478528/o3KwxZFt_normal.jpg",
        "rest_id": "1064982684060057606",
        "screenname": "Shilllin",
        "is_verified": true,
        "display_name": "Alex 🥷",
        "is_blue_verified": true,
        "periscope_user_id": "1ayjVrNWqmZjp"
      },
      {
        "avatar": "https://pbs.twimg.com/profile_images/2089373254561517568/pdMY-IKb_normal.jpg",
        "rest_id": "314560827",
        "screenname": "Booksey",
        "is_verified": true,
        "display_name": "Books",
        "is_blue_verified": true,
        "periscope_user_id": "1DZEoJOyMBYja"
      },
      "… 2 more"
    ]
  },
  "chunks_base_url": "https://prod-fastly-us-east-1.video.pscp.tv/Transcoding/v1/hls/TuGZupq0IW3JTw2-slEt_jGrNF8Rs59Rp0HLJcqd-IDA1RsF8APHPdaJx8fo2bEt-PteyXGtm_mMM8LdxDw0NQ/non_transc…",
  "replay_available": true,
  "…": "4 more fields"
}
Other routes for this job
twitter-api47 · By ID$0.00019
GET /api/gw/rapidapi-twitter-api47/v3/space/by-id$0.00019 / call✓ working · tested 2026-10-060.93 s latency
Parameters
ParameterTypeNotes
spaceIdstring · queryrequireddefault 1MnxnPmLRQBGO
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api47/v3/space/by-id?spaceId=1MnxnPmLRQBGO" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api47.by_id", {"spaceId": "1MnxnPmLRQBGO"})

Related X APIs

All 36 X jobs →

One key for every API on this page.

Call it over HTTP or from any MCP client. Each key has a rate limit and a monthly cap; calls are metered at the upstream price.