Sylvia API Live API

The Live API from Sylvia API — 1 operation(s) for live.

OpenAPI Specification

sylvia-api-live-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sylvia Live API
  version: 1.0.0
  description: Reddit data API - no OAuth, no rate limits, pay-per-request. Posts, comments, search, subreddits, users, live streams, datasets.
  contact:
    name: Sylvia API
    url: https://sylvia-api.com
    email: support@sylvia-api.com
  license:
    name: Proprietary
    url: https://sylvia-api.com/terms
servers:
- url: https://api.sylvia-api.com/v1
  description: Production API server
security:
- ApiKeyAuth: []
tags:
- name: Live
paths:
  /live/comments:
    get:
      summary: Live comment stream
      description: Server-Sent Events (SSE) stream of real-time Reddit comments. Filter by subreddit or globally.
      operationId: getLiveComments
      parameters:
      - name: subreddit
        in: query
        description: Limit to specific subreddit (omit for global firehose)
        schema:
          type: string
      responses:
        '200':
          description: SSE stream of Comment objects
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/Comment'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Live
components:
  responses:
    RateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    Comment:
      type: object
      properties:
        id:
          type: string
        body:
          type: string
        author:
          type: string
        subreddit:
          type: string
        score:
          type: integer
        created_utc:
          type: integer
          format: int64
        permalink:
          type: string
        parent_id:
          type: string
        link_id:
          type: string
        is_submitter:
          type: boolean
        gilded:
          type: integer
        depth:
          type: integer
        collapsed:
          type: boolean
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        code:
          type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication. Get yours at https://sylvia-api.com