FETCHAPI

Get an X Space's audio stream URL API

One call returns the audio stream info for one Twitter Space; the answer is a single object. No cursor.

1 live route on X, from $0.00019 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-api47RapidAPI listing
Stream URLGET v3/space/stream-url$0.00019$0.19 / 1k calls✓ 2026-10-06pricing ↗

What it returns

From a real call to the route: twitter-api47.

One call returns the audio stream info for one Twitter Space; the answer is a single object. No cursor.
data.hlsUrlHLS stream URLdata.statusstream status, e.g. LIVE_PUBLICdata.shareUrlpublic broadcast linkdata.streamTypestream format, HLS

Call it

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

GET /api/gw/rapidapi-twitter-api47/v3/space/stream-url$0.00019 / call✓ working · tested 2026-10-060.87 s latency
Parameters
ParameterTypeNotes
mediaKeystring · queryrequireddefault 28_1991353658102149130
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api47/v3/space/stream-url?mediaKey=28_1991353658102149130" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api47.stream_url", {"mediaKey": "28_1991353658102149130"})
Real example answer (trimmed) · 2026-10-03
{
  "data": {
    "hlsUrl": "https://prod-fastly-us-east-1.video.pscp.tv/Transcoding/v1/hls/0FoQIv-FMaRuteEiaTO7zltaOMy0F03j6OUIXN1b7jD4Pc3vSRQAHHBAShS4U2EKz_rhb7pRmCWzrHXHUHmMgg/non_transc…",
    "status": "LIVE_PUBLIC",
    "shareUrl": "https://x.com/i/broadcasts/1MnxnPmLRQBGO",
    "streamType": "HLS"
  }
}

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.