Get Twitter Space stream URL
Get the HLS audio stream URL for an X Space by URL or id.
Headers
Get your API keyAPI key (`sfk_...`)
Space permalink or id.
min 1 chars · max 4096 chars
Endpoint-specific response payload.
Whether the Space stream was found.
one of: found, not_found, unavailable
Stream details when a playlist URL is available.
HLS playlist URL for the Space audio stream.
min 1 chars
Upstream stream status label when available.
Stream protocol label when available, typically HLS.
Public broadcast/share URL when available.
Space identifier used for the lookup.
min 1 chars
Space lifecycle from the Space details lookup.
one of: running, ended, scheduled, canceled, unknown
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.
Code example
curl "https://api.socialfetch.dev/v1/twitter/spaces/stream?url=https://x.com/i/spaces/1YGNrbYyLROGw" \
-H "x-api-key: YOUR_API_KEY"Responses
Space stream URL.