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

# Información de Spaces

> Devuelve información detallada de un Space de Twitter a partir de su ID. Incluye metadatos (título, estado actual y hora de inicio programada), perfil completo del creador y participantes por rol: administradores, hablantes y oyentes. También incluye opciones de acceso, como bloqueo, restricciones de participación y disponibilidad de repeticiones o recortes, además de estadísticas como el total de oyentes y las reproducciones de la grabación.



## OpenAPI

````yaml /openapi-es.json get /spaces
openapi: 3.0.3
info:
  contact: {}
  title: API Sorsa.io
  version: '3.0'
servers:
  - url: https://api.sorsa.io/v3
security: []
paths:
  /spaces:
    get:
      tags:
        - Búsqueda
      summary: Información de Spaces
      description: >-
        Devuelve información detallada de un Space de Twitter a partir de su ID.
        Incluye metadatos (título, estado actual y hora de inicio programada),
        perfil completo del creador y participantes por rol: administradores,
        hablantes y oyentes. También incluye opciones de acceso, como bloqueo,
        restricciones de participación y disponibilidad de repeticiones o
        recortes, además de estadísticas como el total de oyentes y las
        reproducciones de la grabación.
      parameters:
        - description: Identificador único del Space (Space ID).
          in: query
          name: id
          schema:
            type: string
        - description: >-
            Enlace completo del Space (por ejemplo,
            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: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: Solicitud incorrecta
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: No autorizado
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: Acceso prohibido
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: No encontrado
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: Error interno del servidor
      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: URLs encontradas en la biografía del usuario.
          items:
            type: string
          type: array
        can_dm:
          description: Indica si la cuenta acepta mensajes directos.
          example: false
          type: boolean
        created_at:
          description: Fecha de creación de la cuenta en formato ISO 8601.
          example: '2009-06-02T20:12:29Z'
          type: string
        description:
          description: Texto de la biografía del perfil.
          example: Bio text
          type: string
        display_name:
          description: Nombre visible del usuario.
          example: Elon Musk
          type: string
        favourites_count:
          description: Número total de publicaciones que le han gustado al usuario.
          example: 1200
          type: integer
        followers_count:
          description: Número de cuentas que siguen a este usuario.
          example: 100000
          type: integer
        followings_count:
          description: Número de cuentas que sigue este usuario.
          example: 500
          type: integer
        id:
          description: ID único del usuario de Twitter/X.
          example: '44196397'
          type: string
        location:
          description: Texto de ubicación del perfil del usuario.
          example: Austin, TX
          type: string
        media_count:
          description: Número total de elementos multimedia publicados por este usuario.
          example: 300
          type: integer
        pinned_tweet_ids:
          description: IDs de las publicaciones fijadas del usuario.
          items:
            type: string
          type: array
        possibly_sensitive:
          description: >-
            Indica si la cuenta está marcada como posible fuente de contenido
            sensible.
          example: false
          type: boolean
        profile_background_image_url:
          description: URL de la imagen de fondo del perfil del usuario.
          example: https://pbs.twimg.com/profile_banners/44196397/123
          type: string
        profile_image_url:
          description: URL de la imagen de avatar del usuario.
          example: https://pbs.twimg.com/profile_images/123/photo.jpg
          type: string
        protected:
          description: >-
            Indica si las publicaciones de la cuenta están protegidas (son
            privadas).
          example: false
          type: boolean
        tweets_count:
          description: Número total de publicaciones de este usuario.
          example: 5000
          type: integer
        username:
          description: Nombre de usuario actual en Twitter/X (sin @).
          example: elonmusk
          type: string
        verified:
          description: Indica si la cuenta tiene una insignia de verificación.
          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

````