Piloxa Quote API

The Quote API from Piloxa — 1 operation(s) for quote.

GitHub OpenAPI

Operations 1

GET /api/v1/quote Price a certified letter #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/piloxa-com:piloxa-com-quote-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

piloxa-com-quote-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Piloxa Certified Mail Quote API
  version: 0.31.0
  description: 'Piloxa, the physical-mail action layer for AI agents: prepare, purchase, send and track USPS Certified Mail to any U.S. address. Human approval is required before payment or mailing. Turn a letter an assistant wrote into USPS Certified Mail. This HTTP API only PREPARES a letter and returns a review link: the person opens it, reads the exact document, sees the total, pays by card and authorizes. Nothing is printed, mailed or charged by any call here. No API key, no account and no OAuth. The same operations are available as a remote MCP server at https://piloxa.com/mcp. Capabilities and current prices: https://piloxa.com/agent-capabilities.json.'
  contact:
    name: Piloxa support
    email: support@piloxa.com
    url: https://piloxa.com/support
  termsOfService: https://piloxa.com/terms
servers:
- url: https://piloxa.com
tags:
- name: Quote
paths:
  /api/v1/quote:
    get:
      operationId: quoteCertifiedLetter
      summary: Price a certified letter
      description: 'Read only. Returns the exact all-in total for a certified letter: printing, envelope and postage included, nothing added at checkout. Safe to call just to answer "what would that cost". Prepares, stores, mails and charges nothing.'
      parameters:
      - name: page_count
        in: query
        required: false
        description: Number of printed pages in the letter, 1 to 10, the most the printer accepts in one letter. Defaults to 1.
        schema:
          type: integer
      - name: service
        in: query
        required: false
        description: 'CERTIFIED is Certified Mail with USPS tracking. CERTIFIED_ERR adds the Electronic Return Receipt (the record of who signed, kept when USPS reports it back). CERTIFIED_EVIDENCE is CERTIFIED_ERR plus the Evidence Pack: a Certificate of Mailing and 7 years of retention. CERTIFIED_DEADLINE is CERTIFIED_EVIDENCE plus a same-day First-Class copy and an unclaimed-letter warning. Left out, a letter of one or two pages is priced as a first letter (CERTIFIED at the first-letter price, when that offer runs) and anything longer as CERTIFIED_ERR, the same defaults prepare_certified_letter uses.'
        schema:
          type: string
          enum:
          - CERTIFIED
          - CERTIFIED_ERR
          - CERTIFIED_EVIDENCE
          - CERTIFIED_DEADLINE
      responses:
        '200':
          description: The price.
          content:
            application/json:
              schema:
                type: object
                properties:
                  service:
                    type: string
                    enum:
                    - CERTIFIED
                    - CERTIFIED_ERR
                    - CERTIFIED_EVIDENCE
                    - CERTIFIED_DEADLINE
                  evidence_pack:
                    type: boolean
                  page_count:
                    type: integer
                  total_cents:
                    type: integer
                    description: The whole price in cents. Nothing else is added at checkout.
                  transaction_state:
                    type: string
                    enum:
                    - QUOTED
                    description: 'Always QUOTED: a price only, nothing exists yet.'
                  promotion:
                    type:
                    - object
                    - 'null'
                    description: Present when the first-letter promotion could lower this total for a person’s first letter. It is applied by the same rule on the review page and in authorize_certified_letter once the payer is known; total_cents is the standard price and is what to quote until then.
                  price_source:
                    type: string
                  total:
                    type: string
                    description: The same total, formatted for a person, with a dollar sign and cents.
                  currency:
                    type: string
                  postage_and_print_cents:
                    type: integer
                    description: The part that goes to printing and USPS.
                  service_fee_cents:
                    type: integer
                    description: 'The rest of the total: the Piloxa service fee, including the card cost.'
                  includes_printing_envelope_and_postage:
                    type: boolean
                  account_required:
                    type: boolean
                  subscription_required:
                    type: boolean
                  minimum_order:
                    type: boolean
                  mailed:
                    type: boolean
                    description: 'Always false: this tool never mails.'
                  charged:
                    type: boolean
                    description: 'Always false: this tool never charges.'
                required:
                - service
                - page_count
                - total_cents
                - total
                - currency
                - mailed
                - charged
        '400':
          description: The request was refused; nothing was prepared, mailed or charged.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                        description: What was wrong, in words that can be read straight to the person, and how to fix the call.
                    required:
                    - code
                    - message
                required:
                - error
        '429':
          description: Too many requests from this address. Wait a few minutes.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                        description: What was wrong, in words that can be read straight to the person, and how to fix the call.
                    required:
                    - code
                    - message
                required:
                - error
      tags:
      - Quote
externalDocs:
  description: What Piloxa does and refuses to do, for assistants and agents
  url: https://piloxa.com/for-ai-agents