---
title: "Space details"
method: GET
path: "/spaces/{spaceId}"
tags: ["Misc"]
---

# Space details

`GET /spaces/{spaceId}`

## Request

- Base URL: `https://api.twittrapi.com`
- URL: `https://api.twittrapi.com/spaces/{spaceId}`
- Auth: API key in header `X-API-KEY`

One X Space by ID: title, state, host and participants, and whether a replay is available.

No simple format: with format=simple the response is the same as without it.

Reference: https://www.twittrapi.com/docs/reference/spaces-spaceid

## Path parameters

- `spaceId` string, required

## Response `200`

Raw JSON of X's AudioSpaceById query.

- RawPassthrough: X's own JSON (raw format, the default), passed through unchanged. The shape is X's and can change; see https://www.twittrapi.com/docs/response-format.

## Other responses

- `401`: Missing or unknown API key. Not charged.
- `402`: No balance left, or the trial expired. Not charged. Top up in the dashboard.
- `403`: Key deactivated, or the endpoint is not in your plan (trial keys and account actions). Not charged.
- `422`: spaceId is not letters and digits, or longer than 32 characters.
- `429`: Rate limit for your key exceeded. Not charged. No Retry-After header: back off exponentially.
- `500`: Something failed on our side or between us and X. Refunded (400, 407, 408, 409 or a 5xx error are refunded). Retry with backoff.

---

[API](https://skmtc.dev/twittrapi/apis/twittrapi-api.md) · [All operations](https://skmtc.dev/twittrapi/apis/twittrapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/twittrapi/apis/twittrapi-api/revisions/0618e38b54c2?raw)
