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

# Download Reddit video

> Use this operation to download one public Reddit video post as a playable MP4 file with the audio track already merged in. Pass a reddit.com post URL or a redd.it short link. The response contains the downloadable MP4 URL plus normalized post metadata.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/reddit/video/download
openapi: 3.1.0
info:
  description: >-
    Direct authenticated APIs for public social data, people data, transcripts,
    documents, text, and SEO. Send an API key as a Bearer token. Responses never
    include provider credentials or raw provider payloads.
  license:
    name: Proprietary
    url: https://agentbody.io
  title: AgentBody API
  version: 2026-10-09.1
servers:
  - url: https://api.agentbody.io
security:
  - bearerAuth: []
paths:
  /v1/reddit/video/download:
    post:
      tags:
        - reddit
      summary: Download Reddit video
      description: >-
        Use this operation to download one public Reddit video post as a
        playable MP4 file with the audio track already merged in. Pass a
        reddit.com post URL or a redd.it short link. The response contains the
        downloadable MP4 URL plus normalized post metadata.
      operationId: post_v1_reddit_video_download
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RedditVideoDownloadRequest'
        required: true
      responses:
        '200':
          $ref: '#/components/responses/RedditVideoDownloadSuccess'
        '400':
          content:
            application/json:
              example:
                error:
                  code: INVALID_ARGUMENT
                  message: example error
              schema:
                additionalProperties: false
                properties:
                  error:
                    additionalProperties: false
                    properties:
                      code:
                        const: INVALID_ARGUMENT
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                    type: object
                required:
                  - error
                type: object
          description: Correct the input; do not retry unchanged.
          headers:
            X-Request-Id:
              description: Gateway request identifier for support and audit.
              schema:
                format: uuid
                type: string
        '401':
          content:
            application/json:
              example:
                error:
                  code: UNAUTHENTICATED
                  message: example error
              schema:
                additionalProperties: false
                properties:
                  error:
                    additionalProperties: false
                    properties:
                      code:
                        const: UNAUTHENTICATED
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                    type: object
                required:
                  - error
                type: object
          description: Configure a valid API key; do not retry unchanged.
          headers:
            X-Request-Id:
              description: Gateway request identifier for support and audit.
              schema:
                format: uuid
                type: string
        '409':
          content:
            application/json:
              example:
                error:
                  code: CONFLICT
                  message: example error
              schema:
                additionalProperties: false
                properties:
                  error:
                    additionalProperties: false
                    properties:
                      code:
                        const: CONFLICT
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                    type: object
                required:
                  - error
                type: object
          description: Follow the documented Idempotency-Key behavior before retrying.
          headers:
            X-Request-Id:
              description: Gateway request identifier for support and audit.
              schema:
                format: uuid
                type: string
        '502':
          content:
            application/json:
              example:
                error:
                  code: UPSTREAM_INVALID_RESPONSE
                  message: example error
              schema:
                additionalProperties: false
                properties:
                  error:
                    additionalProperties: false
                    properties:
                      code:
                        const: UPSTREAM_INVALID_RESPONSE
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                    type: object
                required:
                  - error
                type: object
          description: Retry with backoff, then report temporary unavailability.
          headers:
            X-Request-Id:
              description: Gateway request identifier for support and audit.
              schema:
                format: uuid
                type: string
        '503':
          content:
            application/json:
              example:
                error:
                  code: UPSTREAM_UNAVAILABLE
                  message: example error
              schema:
                additionalProperties: false
                properties:
                  error:
                    additionalProperties: false
                    properties:
                      code:
                        const: UPSTREAM_UNAVAILABLE
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                    type: object
                required:
                  - error
                type: object
          description: Retry with backoff, then report temporary unavailability.
          headers:
            X-Request-Id:
              description: Gateway request identifier for support and audit.
              schema:
                format: uuid
                type: string
        '504':
          content:
            application/json:
              example:
                error:
                  code: UPSTREAM_TIMEOUT
                  message: example error
              schema:
                additionalProperties: false
                properties:
                  error:
                    additionalProperties: false
                    properties:
                      code:
                        const: UPSTREAM_TIMEOUT
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                    type: object
                required:
                  - error
                type: object
          description: Retry with backoff, then report temporary unavailability.
          headers:
            X-Request-Id:
              description: Gateway request identifier for support and audit.
              schema:
                format: uuid
                type: string
components:
  parameters:
    IdempotencyKey:
      description: Optional key for safely retrying a billable write request.
      example: request-20260819-001
      in: header
      name: Idempotency-Key
      required: false
      schema:
        maxLength: 255
        minLength: 1
        type: string
  schemas:
    RedditVideoDownloadRequest:
      additionalProperties: false
      properties:
        url:
          description: >-
            Public Reddit video post URL (reddit.com post link or redd.it short
            link).
          format: uri
          type: string
      required:
        - url
      type: object
    RedditVideoDownloadResult:
      additionalProperties: false
      properties:
        author:
          type: string
        permalink:
          format: uri
          type: string
        post_id:
          type: string
        resolution:
          description: Video resolution label, for example 1080x1920.
          type: string
        subreddit:
          type: string
        title:
          type: string
        video_url:
          description: Downloadable MP4 video URL with the audio track already merged in.
          format: uri
          type: string
      required:
        - post_id
        - title
        - author
        - subreddit
        - permalink
        - video_url
      type: object
  responses:
    RedditVideoDownloadSuccess:
      content:
        application/json:
          example:
            author: example_user
            permalink: https://www.reddit.com/r/videos/comments/abc123/example/
            post_id: abc123
            resolution: 1080x1920
            subreddit: videos
            title: Example video post
            video_url: https://example.com/video.mp4
          schema:
            $ref: '#/components/schemas/RedditVideoDownloadResult'
      description: >-
        Downloadable Reddit MP4 video link with the audio track merged in, plus
        post metadata.
      headers:
        X-Request-Id:
          description: Gateway request identifier for support and audit.
          schema:
            format: uuid
            type: string
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.