> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sorsa.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Spaces 信息

> 按 ID 返回 Twitter Space 的详细信息，包括 Space 元数据（标题、当前状态、计划开始时间）、创建者完整资料，以及按管理员、发言者和听众划分的参与者信息。还提供访问设置，例如锁定状态、加入限制、是否支持回放或剪辑，以及总听众数、回放观看量等实时统计。



## OpenAPI

````yaml openapi-zh-Hans.json GET /spaces
openapi: 3.0.3
info:
  contact: {}
  title: Sorsa.io API
  version: '3.0'
servers:
  - url: https://api.sorsa.io/v3
security: []
paths:
  /spaces:
    get:
      tags:
        - 搜索
      summary: Spaces 信息
      description: >-
        按 ID 返回 Twitter Space 的详细信息，包括 Space
        元数据（标题、当前状态、计划开始时间）、创建者完整资料，以及按管理员、发言者和听众划分的参与者信息。还提供访问设置，例如锁定状态、加入限制、是否支持回放或剪辑，以及总听众数、回放观看量等实时统计。
      parameters:
        - description: Space 的唯一标识符（Space ID）
          in: query
          name: id
          schema:
            type: string
        - description: 完整的 Space 链接，例如 https://twitter.com/i/spaces/1lPKqBajQrWGb
          in: query
          name: link
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/common.Place'
          description: 成功
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 请求无效
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 未授权
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 禁止访问
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 未找到
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 服务器内部错误
      security:
        - ApiKeyAuth: []
components:
  schemas:
    common.Place:
      properties:
        created_at:
          type: integer
        creator:
          $ref: '#/components/schemas/common.User'
        id:
          type: string
        is_subscribed:
          type: boolean
        media_key:
          type: string
        participants:
          $ref: '#/components/schemas/common.PlaceParticipants'
        scheduled_start:
          type: integer
        settings:
          $ref: '#/components/schemas/common.PlaceSettings'
        state:
          type: string
        stats:
          $ref: '#/components/schemas/common.PlaceStats'
        title:
          type: string
        updated_at:
          type: integer
      type: object
    handler.ErrorResponse:
      properties:
        message:
          type: string
      type: object
    common.User:
      properties:
        bio_urls:
          description: 用户简介中的 URL。
          items:
            type: string
          type: array
        can_dm:
          description: 账号是否接受私信。
          example: false
          type: boolean
        created_at:
          description: 账号创建日期，采用 ISO 8601 格式。
          example: '2009-06-02T20:12:29Z'
          type: string
        description:
          description: 个人资料简介文本。
          example: Bio text
          type: string
        display_name:
          description: 用户的显示名称。
          example: Elon Musk
          type: string
        favourites_count:
          description: 此用户点赞的推文总数。
          example: 1200
          type: integer
        followers_count:
          description: 关注此用户的账号数。
          example: 100000
          type: integer
        followings_count:
          description: 此用户关注的账号数。
          example: 500
          type: integer
        id:
          description: 唯一 Twitter/X 用户 ID。
          example: '44196397'
          type: string
        location:
          description: 用户资料中的所在地文本。
          example: Austin, TX
          type: string
        media_count:
          description: 此用户发布的媒体总数。
          example: 300
          type: integer
        pinned_tweet_ids:
          description: 用户置顶推文的 ID。
          items:
            type: string
          type: array
        possibly_sensitive:
          description: 账号是否被标记为可能包含敏感内容。
          example: false
          type: boolean
        profile_background_image_url:
          description: 用户个人资料背景图片的 URL。
          example: https://pbs.twimg.com/profile_banners/44196397/123
          type: string
        profile_image_url:
          description: 用户头像图片的 URL。
          example: https://pbs.twimg.com/profile_images/123/photo.jpg
          type: string
        protected:
          description: 账号的推文是否受保护（私密）。
          example: false
          type: boolean
        tweets_count:
          description: 此用户发布的推文总数。
          example: 5000
          type: integer
        username:
          description: 当前 Twitter/X 用户名（不含 @）。
          example: elonmusk
          type: string
        verified:
          description: 账号是否有认证徽章。
          example: true
          type: boolean
      type: object
    common.PlaceParticipants:
      properties:
        admins:
          items:
            $ref: '#/components/schemas/common.PlaceParticipant'
          type: array
        listeners:
          items:
            $ref: '#/components/schemas/common.PlaceParticipant'
          type: array
        speakers:
          items:
            $ref: '#/components/schemas/common.PlaceParticipant'
          type: array
        total:
          type: integer
      type: object
    common.PlaceSettings:
      properties:
        conversation_controls:
          type: integer
        disallow_join:
          type: boolean
        is_employee_only:
          type: boolean
        is_locked:
          type: boolean
        is_muted:
          type: boolean
        is_space_available_for_clipping:
          type: boolean
        is_space_available_for_replay:
          type: boolean
        max_admin_capacity:
          type: integer
        max_guest_sessions:
          type: integer
        narrow_cast_space_type:
          type: integer
        no_incognito:
          type: boolean
      type: object
    common.PlaceStats:
      properties:
        total_live_listeners:
          type: integer
        total_participants:
          type: integer
        total_replay_watched:
          type: integer
      type: object
    common.PlaceParticipant:
      properties:
        avatar:
          type: string
        id:
          type: string
        is_muted_by_admin:
          type: boolean
        is_muted_by_guest:
          type: boolean
        is_verified:
          type: boolean
        name:
          type: string
        periscope_user_id:
          type: string
        start:
          type: integer
        username:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: ApiKey
      type: apiKey

````