> ## Documentation Index
> Fetch the complete documentation index at: https://paperplane-justin-winter-s-projects.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Public site totals

> Currently just the running count of letters mailed (sandbox and live), the number the homepage footer counter reads.



## OpenAPI

````yaml /openapi.json get /v1/stats
openapi: 3.1.0
info:
  title: paperplane API
  version: 1.0.0
  summary: Send real physical mail from code.
  description: >-
    Upload a PDF or paste text; we print it and hand it to USPS the next
    business day. No account required — pay per letter with a Stripe link or a
    prepaid credit code, and use `sandbox: true` to exercise the whole flow for
    free.


    Every failure returns the same envelope: `status`, a stable machine-readable
    `code`, a human `reason`, and a `next` array of concrete recovery steps.


    This document is generated from the same zod schemas the server validates
    with, so it cannot describe an endpoint that does not exist.
  contact:
    name: paperplane support
    url: https://sendpaperplane.com/contact
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
  termsOfService: https://sendpaperplane.com/terms
servers:
  - url: https://sendpaperplane.com
    description: Production
security: []
tags:
  - name: Mail
    description: Quote, send, track, and cancel letters.
  - name: Credits
    description: Prepaid balances that pay for letters without a card.
  - name: Reviews
    description: Post-delivery feedback. Identity is derived from the order, not supplied.
  - name: Addresses
    description: >-
      Typeahead and reverse geocoding. Convenience only; USPS verification is
      authoritative.
  - name: Meta
    description: Machine-readable description of this API.
paths:
  /v1/stats:
    get:
      tags:
        - Meta
      summary: Public site totals
      description: >-
        Currently just the running count of letters mailed (sandbox and live),
        the number the homepage footer counter reads.
      operationId: getStats
      responses:
        '200':
          description: Site totals
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatsResponse'
              example:
                status: ok
                letters_mailed: 128
components:
  schemas:
    StatsResponse:
      type: object
      properties:
        status:
          type: string
          const: ok
        letters_mailed:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
      required:
        - status
        - letters_mailed

````