> ## 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.

# スペース情報

> IDでTwitterスペースの詳細を返します。タイトル、現在の状態、予定開始時刻、作成者の完全なプロフィール、管理者・スピーカー・リスナー別の参加者を含みます。ロック状態、参加制限、リプレイ・クリップの可否などのアクセス設定と、累計リスナーやリプレイ再生数などの統計も返します。



## OpenAPI

````yaml /openapi-ja.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: スペース情報
      description: >-
        IDでTwitterスペースの詳細を返します。タイトル、現在の状態、予定開始時刻、作成者の完全なプロフィール、管理者・スピーカー・リスナー別の参加者を含みます。ロック状態、参加制限、リプレイ・クリップの可否などのアクセス設定と、累計リスナーやリプレイ再生数などの統計も返します。
      parameters:
        - description: スペースの一意の識別子（Space ID）
          in: query
          name: id
          schema:
            type: string
        - description: スペースへの完全なリンク（例：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: アカウントがDMを受け付けているか。
          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

````