Get Twitter Space

Get an X Space (audio room) by URL or id.

GET/v1/twitter/spaces
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
urlstringrequiredquery

Space permalink or id.

min 1 chars · max 4096 chars

Response fields
104

Endpoint-specific response payload.

datalookupStatus
string

Whether the Space was found.

one of: found, not_found

Space details when available.

dataspaceid
string

Space identifier.

min 1 chars

dataspacetitle
string

Space title. May be empty when X has none.

dataspacestate
string

Current Space lifecycle: running, ended, scheduled, canceled, or unknown when upstream uses an unrecognized value.

one of: running, ended, scheduled, canceled, unknown

dataspaceurl
string

Canonical public Space URL (`https://x.com/i/spaces/{id}`).

min 1 chars

dataspacemediaKey
stringnullable

Media key for the Space stream when available.

dataspacecreatedAt
stringnullable

When the Space was created (ISO-8601).

dataspacescheduledStart
stringnullable

Scheduled start time (ISO-8601) when the Space is scheduled.

dataspacestartedAt
stringnullable

When the Space actually started (ISO-8601).

dataspaceendedAt
stringnullable

When the Space ended (ISO-8601).

dataspaceupdatedAt
stringnullable

Last update time (ISO-8601).

Host / creator compact user card when available.

dataspacecreatorid
string

Numeric X user id as a string.

dataspacecreatorhandle
string

X screen name (handle) without the leading @.

dataspacecreatordisplayName
stringnullable

Display name shown on the profile.

dataspacecreatordescription
stringnullable

Profile biography text.

dataspacecreatoravatarUrl
stringnullable

Best available square avatar image URL.

dataspacecreatorbannerUrl
stringnullable

Profile banner image URL when available.

dataspacecreatorlocation
stringnullable

Location string from the profile when provided.

dataspacecreatorwebsite
stringnullable

Primary outbound link (expanded URL) from the profile.

dataspacecreatorverified
boolean

Whether X marks the profile with legacy verification (not necessarily paid blue).

dataspacecreatorisBlueVerified
boolean

Whether the account has X blue (paid) verification.

dataspacecreatorisProtected
boolean

Whether the account is protected (private).

dataspacecreatorfollowerCount
integernullable

Follower count from X when available.

≥ 0

dataspacecreatorfollowingCount
integernullable

Following (friends) count from X when available.

≥ 0

dataspacecreatortweetCount
integernullable

Total post (status) count from X when available.

≥ 0

dataspacecreatorlistedCount
integernullable

Listed count when X provides it.

≥ 0

dataspacecreatorcreatedAt
stringnullable

Account creation time (ISO-8601) when derivable.

dataspacecreatorprofileUrl
string

Canonical public profile URL on x.com (`https://x.com/<handle>`).

dataspacecreatorprofileImageShape
stringnullableoptional

Avatar crop shape reported by X, such as Circle or Square.

dataspacecreatorverifiedType
stringnullableoptional

X verification type label when provided (for example a government or organization note).

Pinned tweet ids from X, in display order.

dataspacecreatorpinnedTweetIds[]
stringoptional

X professional-account metadata when the account is marked professional.

dataspacecreatorprofessionaltype
stringnullable

Professional account type from X, when present.

Professional category entries from X.

dataspacecreatorprofessionalcategory[]
nullableoptional
dataspacecreatorprofessionalrestId
stringnullable

Professional account rest id from X, when present.

Country codes where the profile is withheld.

dataspacecreatorwithheldInCountries[]
stringoptional
dataspacecreatorfavoritesCount
integernullableoptional

Total likes (favorites) on the profile when available.

≥ 0

dataspacecreatormediaCount
integernullableoptional

Media item count when X provides it.

≥ 0

dataspacetotalLiveListeners
integernullable

Peak or current live listener count when available.

≥ 0

dataspacetotalReplayWatched
integernullable

Replay watch count when available.

≥ 0

Admins, speakers, listeners, and reported total.

Admins currently or previously in the Space.

dataspaceparticipantsadmins[]userId
stringnullable

Numeric X user id as a string.

dataspaceparticipantsadmins[]handle
string

X screen name without the leading @.

min 1 chars

dataspaceparticipantsadmins[]displayName
string

Display name shown in the Space.

dataspaceparticipantsadmins[]avatarUrl
stringnullable

Avatar image URL when available.

dataspaceparticipantsadmins[]isVerified
booleannullableoptional

Whether X marks this participant with legacy verification. Omitted when unknown.

dataspaceparticipantsadmins[]isBlueVerified
booleannullableoptional

Whether this participant has X blue (paid) verification. Omitted when unknown.

dataspaceparticipantsadmins[]periscopeUserId
stringnullableoptional

Periscope user id for this participant when X provides one.

dataspaceparticipantsadmins[]isMutedByAdmin
booleannullableoptional

Whether an admin muted this participant.

dataspaceparticipantsadmins[]isMutedByGuest
booleannullableoptional

Whether a guest muted this participant.

dataspaceparticipantsadmins[]startedAt
stringnullableoptional

When this participant started speaking (ISO-8601).

Speakers currently or previously in the Space.

dataspaceparticipantsspeakers[]userId
stringnullable

Numeric X user id as a string.

dataspaceparticipantsspeakers[]handle
string

X screen name without the leading @.

min 1 chars

dataspaceparticipantsspeakers[]displayName
string

Display name shown in the Space.

dataspaceparticipantsspeakers[]avatarUrl
stringnullable

Avatar image URL when available.

dataspaceparticipantsspeakers[]isVerified
booleannullableoptional

Whether X marks this participant with legacy verification. Omitted when unknown.

dataspaceparticipantsspeakers[]isBlueVerified
booleannullableoptional

Whether this participant has X blue (paid) verification. Omitted when unknown.

dataspaceparticipantsspeakers[]periscopeUserId
stringnullableoptional

Periscope user id for this participant when X provides one.

dataspaceparticipantsspeakers[]isMutedByAdmin
booleannullableoptional

Whether an admin muted this participant.

dataspaceparticipantsspeakers[]isMutedByGuest
booleannullableoptional

Whether a guest muted this participant.

dataspaceparticipantsspeakers[]startedAt
stringnullableoptional

When this participant started speaking (ISO-8601).

Listeners currently or previously in the Space.

dataspaceparticipantslisteners[]userId
stringnullable

Numeric X user id as a string.

dataspaceparticipantslisteners[]handle
string

X screen name without the leading @.

min 1 chars

dataspaceparticipantslisteners[]displayName
string

Display name shown in the Space.

dataspaceparticipantslisteners[]avatarUrl
stringnullable

Avatar image URL when available.

dataspaceparticipantslisteners[]isVerified
booleannullableoptional

Whether X marks this participant with legacy verification. Omitted when unknown.

dataspaceparticipantslisteners[]isBlueVerified
booleannullableoptional

Whether this participant has X blue (paid) verification. Omitted when unknown.

dataspaceparticipantslisteners[]periscopeUserId
stringnullableoptional

Periscope user id for this participant when X provides one.

dataspaceparticipantslisteners[]isMutedByAdmin
booleannullableoptional

Whether an admin muted this participant.

dataspaceparticipantslisteners[]isMutedByGuest
booleannullableoptional

Whether a guest muted this participant.

dataspaceparticipantslisteners[]startedAt
stringnullableoptional

When this participant started speaking (ISO-8601).

dataspaceparticipantstotal
integernullable

Reported participant total when X provides one.

≥ 0

dataspaceisAvailableForReplay
booleannullableoptional

Whether a replay of this Space is available. Omitted when unknown.

Topics associated with this Space.

dataspacetopics[]id
stringnullable

Topic identifier when X provides one.

dataspacetopics[]name
string

Topic display name.

min 1 chars

dataspacetweetId
stringnullable

Tweet id that announced or is attached to this Space.

dataspaceisAvailableForClipping
booleannullableoptional

Whether clipping is available for this Space.

dataspacecontentType
stringnullableoptional

Space content type when X reports one, such as audio.

dataspacenarrowCastSpaceType
integernullableoptional

Narrow-cast Space type code when X reports one.

dataspaceconversationControls
integernullableoptional

Conversation-control code when X reports one.

dataspacedisallowJoin
booleannullableoptional

Whether joining this Space is disallowed.

dataspaceisLocked
booleannullableoptional

Whether this Space is locked.

dataspaceisMuted
booleannullableoptional

Whether this Space is muted.

dataspaceisEmployeeOnly
booleannullableoptional

Whether this Space is restricted to employees.

dataspacenoIncognito
booleannullableoptional

Whether incognito listening is disallowed.

dataspacemaxGuestSessions
integernullableoptional

Maximum guest sessions when X reports one.

≥ 0

dataspacemaxAdminCapacity
integernullableoptional

Maximum admin capacity when X reports one.

≥ 0

User ids mentioned in this Space when X provides them.

dataspacementionedUserIds[]
stringoptional

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metacached
booleanoptional

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?url=https://x.com/i/spaces/1YGNrbYyLROGw" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Space details.