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

# List screenshots

> Returns screenshots captured by the authenticated account, most recent first.



## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/screenshots
openapi: 3.1.0
info:
  title: scrnshot API
  version: 1.0.0
  summary: Programmatic screenshot capture for developers.
  description: |
    scrnshot renders a URL and returns a hosted image. Authenticate with an
    API key (`X-API-Key`) for the endpoints under `/v1/screenshots` and
    `/v1/usage`. API-key management (`/v1/keys`) and billing endpoints use
    dashboard session cookies instead and are documented here for
    completeness — they are not part of the programmatic integration
    surface.

    Quotas are monthly (Free: 100/mo, Pro: 5,000/mo). Independently, requests
    are rate-limited per minute (Free: 5/min, Pro: 60/min). Exceeding the
    monthly quota returns `402`; exceeding the per-minute rate limit returns
    `429`.
servers:
  - url: https://api.scrnshot.site
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Screenshots
    description: Capture, list, and delete screenshots.
  - name: Usage
    description: Quota and rate-limit consumption.
  - name: API Keys
    description: |
      Dashboard-only. Authenticated with a session cookie, not an API key —
      a key cannot be used to mint or revoke other keys.
  - name: Billing
    description: Dashboard-only. Authenticated with a session cookie.
  - name: Demo
    description: |
      Unauthenticated, IP-rate-limited endpoint that powers the live demo on
      scrnshot.site. Not intended for integration — use `/v1/screenshots`
      with an API key instead.
paths:
  /v1/screenshots:
    get:
      tags:
        - Screenshots
      summary: List screenshots
      description: >-
        Returns screenshots captured by the authenticated account, most recent
        first.
      operationId: listScreenshots
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  screenshots:
                    type: array
                    items:
                      $ref: '#/components/schemas/ScreenshotSummary'
                required:
                  - screenshots
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/ServerError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ScreenshotSummary:
      type: object
      required:
        - id
        - url
        - image_url
        - format
        - created_at
        - expires_at
      properties:
        id:
          type: integer
        url:
          type: string
          format: uri
          description: The captured page URL.
        image_url:
          type: string
          format: uri
        format:
          type: string
          enum:
            - png
            - jpeg
            - webp
        width:
          type: integer
        height:
          type: integer
        full_page:
          type: boolean
        size:
          type: integer
          description: Image size in bytes.
        created_at:
          type: string
          format: date-time
        expires_at:
          type: string
          format: date-time
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable error message.
  responses:
    Unauthorized:
      description: Missing, malformed, or revoked credentials.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: unauthorized
    ServerError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |
        Programmatic auth for the `/v1/screenshots` and `/v1/usage`
        endpoints. Create a key from the dashboard (`POST /v1/keys`); the
        plaintext value is shown once at creation.

````