Generated by API Evangelist
Written by API Evangelist tooling for United States Postal Service's API. It is a proposal applied on top of the contract, not a document United States Postal Service publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for USPS Domestic Prices API
version: 1.0.0
extends: openapi/usps-domestic-prices-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/prices/v3/base-rates/search'].post
update:
x-apievangelist-phrasing:
intent: Get base postage rates for a domestic shipment
effect: read
questions:
- What is the base postage rate for a package from one ZIP code to another?
- Can I get base rates for a package of a given weight and dimensions?
instructions:
- text: Get base rates for {mailClass} from {originZIPCode} to {destinationZIPCode} weighing {weight}.
slots:
mailClass: requestBody.mailClass
originZIPCode: requestBody.originZIPCode
destinationZIPCode: requestBody.destinationZIPCode
weight: requestBody.weight
- text: Find base postage for {mailClass} from {originZIPCode} to {destinationZIPCode} with dimensions {length} x {width} x {height} and weight {weight}.
slots:
mailClass: requestBody.mailClass
originZIPCode: requestBody.originZIPCode
destinationZIPCode: requestBody.destinationZIPCode
length: requestBody.length
width: requestBody.width
height: requestBody.height
weight: requestBody.weight
method: generated
generated: '2026-11-16'
- target: $.paths['/prices/v3/extra-service-rates/search'].post
update:
x-apievangelist-phrasing:
intent: Get rates for extra services like insurance or signature
effect: read
questions:
- How much does certified mail or signature confirmation cost?
- Can I look up the price of an extra service for a mail class?
instructions:
- text: Get the rate for extra service {extraServiceCode} on {mailClass}.
slots:
extraServiceCode: requestBody.extraServiceCode
mailClass: requestBody.mailClass
- text: Price {extraServiceCode} for {mailClass} from {originZIPCode} to {destinationZIPCode} at {weight}.
slots:
extraServiceCode: requestBody.extraServiceCode
mailClass: requestBody.mailClass
originZIPCode: requestBody.originZIPCode
destinationZIPCode: requestBody.destinationZIPCode
weight: requestBody.weight
method: generated
generated: '2026-11-16'
- target: $.paths['/prices/v3/total-rates/search'].post
update:
x-apievangelist-phrasing:
intent: Get the total postage price including extra services
effect: read
questions:
- What is the total price to ship a package including extra services?
- Can I get one total rate instead of base and extra services separately?
instructions:
- text: Get the total rate for {mailClass} from {originZIPCode} to {destinationZIPCode} weighing {weight}.
slots:
mailClass: requestBody.mailClass
originZIPCode: requestBody.originZIPCode
destinationZIPCode: requestBody.destinationZIPCode
weight: requestBody.weight
- text: Price {mailClass} from {originZIPCode} to {destinationZIPCode} with weight {weight} and extra services {extraServices}.
slots:
mailClass: requestBody.mailClass
originZIPCode: requestBody.originZIPCode
destinationZIPCode: requestBody.destinationZIPCode
weight: requestBody.weight
extraServices: requestBody.extraServices
method: generated
generated: '2026-11-16'
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.