# Collect X Space listener counts for event reports

**Use case:** 

Collect listener and participant totals exposed for selected X Spaces, with the session state and reported replay availability. Use these records in your own event reports. A replay flag is metadata: it does not include an audio recording or guarantee that playback is available.

## Input

```json
{
  "inputList": [
    "https://x.com/i/spaces/1OdKrOOnlQvGX"
  ]
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "id": {
    "label": "ID",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "type": {
    "label": "Type",
    "format": "string"
  },
  "narrow_cast_type": {
    "label": "Narrow Cast Type",
    "format": "string"
  },
  "creator.id": {
    "label": "Creator / ID",
    "format": "text"
  },
  "creator.username": {
    "label": "Creator / Username",
    "format": "text"
  },
  "creator.name": {
    "label": "Creator / Name",
    "format": "text"
  },
  "creator.profile_url": {
    "label": "Creator / Profile URL",
    "format": "link"
  },
  "creator.description": {
    "label": "Creator / Description",
    "format": "text"
  },
  "creator.location": {
    "label": "Creator / Location",
    "format": "text"
  },
  "creator.created_at": {
    "label": "Creator / Created At",
    "format": "date"
  },
  "creator.created_timestamp": {
    "label": "Creator / Created Timestamp",
    "format": "number"
  },
  "creator.followers_count": {
    "label": "Creator / Followers Count",
    "format": "number"
  },
  "creator.following_count": {
    "label": "Creator / Following Count",
    "format": "number"
  },
  "creator.posts_count": {
    "label": "Creator / Posts Count",
    "format": "number"
  },
  "creator.media_posts_count": {
    "label": "Creator / Media Posts Count",
    "format": "number"
  },
  "creator.likes_given_count": {
    "label": "Creator / Likes Given Count",
    "format": "number"
  },
  "creator.highlights_count": {
    "label": "Creator / Highlights Count",
    "format": "number"
  },
  "creator.avatar_url": {
    "label": "Creator / Avatar URL",
    "format": "image"
  },
  "creator.avatar_url_hd": {
    "label": "Creator / Avatar URL HD",
    "format": "image"
  },
  "creator.banner_url": {
    "label": "Creator / Banner URL",
    "format": "image"
  },
  "creator.website.url": {
    "label": "Creator / Website / URL",
    "format": "link"
  },
  "creator.website.expanded_url": {
    "label": "Creator / Website / Expanded URL",
    "format": "link"
  },
  "creator.bio_links.url": {
    "label": "Creator / Bio Links / URL",
    "format": "array"
  },
  "creator.bio_links.expanded_url": {
    "label": "Creator / Bio Links / Expanded URL",
    "format": "array"
  },
  "creator.bio_links.display_url": {
    "label": "Creator / Bio Links / Display URL",
    "format": "array"
  },
  "creator.is_verified": {
    "label": "Creator / Is Verified",
    "format": "boolean"
  },
  "creator.verified_type": {
    "label": "Creator / Verified Type",
    "format": "text"
  },
  "creator.is_blue_verified": {
    "label": "Creator / Is Blue Verified",
    "format": "boolean"
  },
  "creator.is_identity_verified": {
    "label": "Creator / Is Identity Verified",
    "format": "boolean"
  },
  "creator.verification_description": {
    "label": "Creator / Verification Description",
    "format": "text"
  },
  "creator.verified_since_at": {
    "label": "Creator / Verified Since At",
    "format": "date"
  },
  "creator.is_protected": {
    "label": "Creator / Is Protected",
    "format": "boolean"
  },
  "creator.possibly_sensitive": {
    "label": "Creator / Possibly Sensitive",
    "format": "boolean"
  },
  "creator.professional_type": {
    "label": "Creator / Professional Type",
    "format": "text"
  },
  "creator.affiliates_count": {
    "label": "Creator / Affiliates Count",
    "format": "number"
  },
  "creator.creator_subscriptions_count": {
    "label": "Creator / Creator Subscriptions Count",
    "format": "number"
  },
  "creator.can_highlight_posts": {
    "label": "Creator / Can Highlight Posts",
    "format": "boolean"
  },
  "creator.can_receive_messages": {
    "label": "Creator / Can Receive Messages",
    "format": "boolean"
  },
  "creator.can_be_media_tagged": {
    "label": "Creator / Can Be Media Tagged",
    "format": "boolean"
  },
  "creator.description_language": {
    "label": "Creator / Description Language",
    "format": "text"
  },
  "creator.profile_image_shape": {
    "label": "Creator / Profile Image Shape",
    "format": "text"
  },
  "creator.pinned_post_ids": {
    "label": "Creator / Pinned Post Ids",
    "format": "array"
  },
  "creator.birthdate.day": {
    "label": "Creator / Birthdate / Day",
    "format": "number"
  },
  "creator.birthdate.month": {
    "label": "Creator / Birthdate / Month",
    "format": "number"
  },
  "creator.birthdate.year": {
    "label": "Creator / Birthdate / Year",
    "format": "number"
  },
  "creator.birthdate.visibility": {
    "label": "Creator / Birthdate / Visibility",
    "format": "text"
  },
  "creator.birthdate.year_visibility": {
    "label": "Creator / Birthdate / Year Visibility",
    "format": "text"
  },
  "scheduled_at": {
    "label": "Scheduled At",
    "format": "string"
  },
  "scheduled_at_timestamp": {
    "label": "Scheduled At Timestamp",
    "format": "integer"
  },
  "started_at": {
    "label": "Started At",
    "format": "string"
  },
  "started_at_timestamp": {
    "label": "Started At Timestamp",
    "format": "integer"
  },
  "ended_at": {
    "label": "Ended At",
    "format": "string"
  },
  "ended_at_timestamp": {
    "label": "Ended At Timestamp",
    "format": "integer"
  },
  "is_replay_available": {
    "label": "Is Replay Available",
    "format": "boolean"
  },
  "total_live_listeners": {
    "label": "Total Live Listeners",
    "format": "integer"
  },
  "total_participants": {
    "label": "Total Participants",
    "format": "integer"
  },
  "admins.id": {
    "label": "Admins / ID",
    "format": "array"
  },
  "admins.username": {
    "label": "Admins / Username",
    "format": "array"
  },
  "admins.name": {
    "label": "Admins / Name",
    "format": "array"
  },
  "admins.profile_url": {
    "label": "Admins / Profile URL",
    "format": "array"
  },
  "admins.description": {
    "label": "Admins / Description",
    "format": "array"
  },
  "admins.location": {
    "label": "Admins / Location",
    "format": "array"
  },
  "admins.created_at": {
    "label": "Admins / Created At",
    "format": "array"
  },
  "admins.created_timestamp": {
    "label": "Admins / Created Timestamp",
    "format": "array"
  },
  "admins.followers_count": {
    "label": "Admins / Followers Count",
    "format": "array"
  },
  "admins.following_count": {
    "label": "Admins / Following Count",
    "format": "array"
  },
  "admins.posts_count": {
    "label": "Admins / Posts Count",
    "format": "array"
  },
  "admins.media_posts_count": {
    "label": "Admins / Media Posts Count",
    "format": "array"
  },
  "admins.likes_given_count": {
    "label": "Admins / Likes Given Count",
    "format": "array"
  },
  "admins.highlights_count": {
    "label": "Admins / Highlights Count",
    "format": "array"
  },
  "admins.avatar_url": {
    "label": "Admins / Avatar URL",
    "format": "array"
  },
  "admins.avatar_url_hd": {
    "label": "Admins / Avatar URL HD",
    "format": "array"
  },
  "admins.banner_url": {
    "label": "Admins / Banner URL",
    "format": "array"
  },
  "admins.website.url": {
    "label": "Admins / Website / URL",
    "format": "array"
  },
  "admins.website.expanded_url": {
    "label": "Admins / Website / Expanded URL",
    "format": "array"
  },
  "admins.bio_links.url": {
    "label": "Admins / Bio Links / URL",
    "format": "array"
  },
  "admins.bio_links.expanded_url": {
    "label": "Admins / Bio Links / Expanded URL",
    "format": "array"
  },
  "admins.bio_links.display_url": {
    "label": "Admins / Bio Links / Display URL",
    "format": "array"
  },
  "admins.is_verified": {
    "label": "Admins / Is Verified",
    "format": "array"
  },
  "admins.verified_type": {
    "label": "Admins / Verified Type",
    "format": "array"
  },
  "admins.is_blue_verified": {
    "label": "Admins / Is Blue Verified",
    "format": "array"
  },
  "admins.is_identity_verified": {
    "label": "Admins / Is Identity Verified",
    "format": "array"
  },
  "admins.verification_description": {
    "label": "Admins / Verification Description",
    "format": "array"
  },
  "admins.verified_since_at": {
    "label": "Admins / Verified Since At",
    "format": "array"
  },
  "admins.is_protected": {
    "label": "Admins / Is Protected",
    "format": "array"
  },
  "admins.possibly_sensitive": {
    "label": "Admins / Possibly Sensitive",
    "format": "array"
  },
  "admins.professional_type": {
    "label": "Admins / Professional Type",
    "format": "array"
  },
  "admins.affiliates_count": {
    "label": "Admins / Affiliates Count",
    "format": "array"
  },
  "admins.creator_subscriptions_count": {
    "label": "Admins / Creator Subscriptions Count",
    "format": "array"
  },
  "admins.can_highlight_posts": {
    "label": "Admins / Can Highlight Posts",
    "format": "array"
  },
  "admins.can_receive_messages": {
    "label": "Admins / Can Receive Messages",
    "format": "array"
  },
  "admins.can_be_media_tagged": {
    "label": "Admins / Can Be Media Tagged",
    "format": "array"
  },
  "admins.description_language": {
    "label": "Admins / Description Language",
    "format": "array"
  },
  "admins.profile_image_shape": {
    "label": "Admins / Profile Image Shape",
    "format": "array"
  },
  "admins.pinned_post_ids": {
    "label": "Admins / Pinned Post Ids",
    "format": "array"
  },
  "admins.birthdate.day": {
    "label": "Admins / Birthdate / Day",
    "format": "array"
  },
  "admins.birthdate.month": {
    "label": "Admins / Birthdate / Month",
    "format": "array"
  },
  "admins.birthdate.year": {
    "label": "Admins / Birthdate / Year",
    "format": "array"
  },
  "admins.birthdate.visibility": {
    "label": "Admins / Birthdate / Visibility",
    "format": "array"
  },
  "admins.birthdate.year_visibility": {
    "label": "Admins / Birthdate / Year Visibility",
    "format": "array"
  },
  "speakers.id": {
    "label": "Speakers / ID",
    "format": "array"
  },
  "speakers.username": {
    "label": "Speakers / Username",
    "format": "array"
  },
  "speakers.name": {
    "label": "Speakers / Name",
    "format": "array"
  },
  "speakers.profile_url": {
    "label": "Speakers / Profile URL",
    "format": "array"
  },
  "speakers.description": {
    "label": "Speakers / Description",
    "format": "array"
  },
  "speakers.location": {
    "label": "Speakers / Location",
    "format": "array"
  },
  "speakers.created_at": {
    "label": "Speakers / Created At",
    "format": "array"
  },
  "speakers.created_timestamp": {
    "label": "Speakers / Created Timestamp",
    "format": "array"
  },
  "speakers.followers_count": {
    "label": "Speakers / Followers Count",
    "format": "array"
  },
  "speakers.following_count": {
    "label": "Speakers / Following Count",
    "format": "array"
  },
  "speakers.posts_count": {
    "label": "Speakers / Posts Count",
    "format": "array"
  },
  "speakers.media_posts_count": {
    "label": "Speakers / Media Posts Count",
    "format": "array"
  },
  "speakers.likes_given_count": {
    "label": "Speakers / Likes Given Count",
    "format": "array"
  },
  "speakers.highlights_count": {
    "label": "Speakers / Highlights Count",
    "format": "array"
  },
  "speakers.avatar_url": {
    "label": "Speakers / Avatar URL",
    "format": "array"
  },
  "speakers.avatar_url_hd": {
    "label": "Speakers / Avatar URL HD",
    "format": "array"
  },
  "speakers.banner_url": {
    "label": "Speakers / Banner URL",
    "format": "array"
  },
  "speakers.website.url": {
    "label": "Speakers / Website / URL",
    "format": "array"
  },
  "speakers.website.expanded_url": {
    "label": "Speakers / Website / Expanded URL",
    "format": "array"
  },
  "speakers.bio_links.url": {
    "label": "Speakers / Bio Links / URL",
    "format": "array"
  },
  "speakers.bio_links.expanded_url": {
    "label": "Speakers / Bio Links / Expanded URL",
    "format": "array"
  },
  "speakers.bio_links.display_url": {
    "label": "Speakers / Bio Links / Display URL",
    "format": "array"
  },
  "speakers.is_verified": {
    "label": "Speakers / Is Verified",
    "format": "array"
  },
  "speakers.verified_type": {
    "label": "Speakers / Verified Type",
    "format": "array"
  },
  "speakers.is_blue_verified": {
    "label": "Speakers / Is Blue Verified",
    "format": "array"
  },
  "speakers.is_identity_verified": {
    "label": "Speakers / Is Identity Verified",
    "format": "array"
  },
  "speakers.verification_description": {
    "label": "Speakers / Verification Description",
    "format": "array"
  },
  "speakers.verified_since_at": {
    "label": "Speakers / Verified Since At",
    "format": "array"
  },
  "speakers.is_protected": {
    "label": "Speakers / Is Protected",
    "format": "array"
  },
  "speakers.possibly_sensitive": {
    "label": "Speakers / Possibly Sensitive",
    "format": "array"
  },
  "speakers.professional_type": {
    "label": "Speakers / Professional Type",
    "format": "array"
  },
  "speakers.affiliates_count": {
    "label": "Speakers / Affiliates Count",
    "format": "array"
  },
  "speakers.creator_subscriptions_count": {
    "label": "Speakers / Creator Subscriptions Count",
    "format": "array"
  },
  "speakers.can_highlight_posts": {
    "label": "Speakers / Can Highlight Posts",
    "format": "array"
  },
  "speakers.can_receive_messages": {
    "label": "Speakers / Can Receive Messages",
    "format": "array"
  },
  "speakers.can_be_media_tagged": {
    "label": "Speakers / Can Be Media Tagged",
    "format": "array"
  },
  "speakers.description_language": {
    "label": "Speakers / Description Language",
    "format": "array"
  },
  "speakers.profile_image_shape": {
    "label": "Speakers / Profile Image Shape",
    "format": "array"
  },
  "speakers.pinned_post_ids": {
    "label": "Speakers / Pinned Post Ids",
    "format": "array"
  },
  "speakers.birthdate.day": {
    "label": "Speakers / Birthdate / Day",
    "format": "array"
  },
  "speakers.birthdate.month": {
    "label": "Speakers / Birthdate / Month",
    "format": "array"
  },
  "speakers.birthdate.year": {
    "label": "Speakers / Birthdate / Year",
    "format": "array"
  },
  "speakers.birthdate.visibility": {
    "label": "Speakers / Birthdate / Visibility",
    "format": "array"
  },
  "speakers.birthdate.year_visibility": {
    "label": "Speakers / Birthdate / Year Visibility",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Twitter Spaces Scraper – X Sessions, Hosts & Speakers](https://apify.com/scrapingmonkey/twitter-space-details-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapingmonkey/twitter-space-details-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/scrapingmonkey/twitter-space-details-scraper.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
