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

# Capture screenshot

> Take high-quality screenshots of any webpage with a simple URL input.



## OpenAPI

````yaml POST /public/v1/capture-screenshot
openapi: 3.1.0
info:
  title: OpenAPI Plant Store
  description: >-
    A sample API that uses a plant store as an example to demonstrate features
    in the OpenAPI specification
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.hobbo.ai
    description: Main API server
  - url: https://py-api.hobbo.ai
    description: Python API server for scraper endpoints
security:
  - ApiKeyAuth: []
paths:
  /public/v1/capture-screenshot:
    post:
      description: Take high-quality screenshots of any webpage with a simple URL input.
      requestBody:
        description: high-quality screenshots
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CaptureScreenshotRequest'
        required: true
      responses:
        '200':
          description: Screenshot captured successfully!
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaptureScreenshotResponse'
              examples:
                validationError:
                  value:
                    status: 200
                    data: <string>
                    success: true
                    message: <string>
        '400':
          description: Validation error or unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                validationError:
                  value:
                    status: 400
                    data: {}
                    success: false
                    message: <string>
      servers:
        - url: https://api.hobbo.ai
components:
  schemas:
    CaptureScreenshotRequest:
      type: object
      required:
        - url
      properties:
        url:
          type: string
          description: The URL of the webpage to capture
    CaptureScreenshotResponse:
      type: object
      properties:
        status:
          type: integer
          description: HTTP status code
        data:
          type: string
          description: >-
            Base64-encoded screenshot image with MIME type prefix (e.g.,
            data:image/png;base64,...)
        success:
          type: boolean
          description: Indicates if the screenshot was captured successfully
        message:
          type: string
          description: Response message
    Error:
      type: object
      properties:
        status:
          type: integer
          description: HTTP status code
        data:
          type: object
          description: Empty object or additional error data
        success:
          type: boolean
          description: Indicates operation failed
          example: false
        message:
          type: string
          description: Error message describing what went wrong

````