United States Postal Service · Schema
BaseRateRequest
Request parameters for base rate search.
GovernmentPostal ServiceShippingLogisticsAddress ValidationPackage Tracking
Properties
| Name | Type | Description |
|---|---|---|
| originZIPCode | string | 5-digit origin ZIP Code. |
| destinationZIPCode | string | 5-digit destination ZIP Code. |
| weight | number | Package weight in pounds. |
| length | number | Package length in inches. |
| width | number | Package width in inches. |
| height | number | Package height in inches. |
| mailClass | string | USPS mail class for the shipment. |
| processingCategory | string | Processing category for the package. |
| destinationEntryFacilityType | string | Type of destination entry facility. |
| rateIndicator | string | Rate indicator code for special rate categories. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/united-states-postal-service/refs/heads/main/json-schema/domestic-prices-base-rate-request-schema.json",
"title": "BaseRateRequest",
"description": "Request parameters for base rate search.",
"type": "object",
"properties": {
"originZIPCode": {
"type": "string",
"description": "5-digit origin ZIP Code.",
"example": "20212"
},
"destinationZIPCode": {
"type": "string",
"description": "5-digit destination ZIP Code.",
"example": "90210"
},
"weight": {
"type": "number",
"description": "Package weight in pounds.",
"example": 1.5
},
"length": {
"type": "number",
"description": "Package length in inches.",
"example": 12.0
},
"width": {
"type": "number",
"description": "Package width in inches.",
"example": 8.0
},
"height": {
"type": "number",
"description": "Package height in inches.",
"example": 4.0
},
"mailClass": {
"type": "string",
"description": "USPS mail class for the shipment.",
"enum": [
"PRIORITY_MAIL",
"PRIORITY_MAIL_EXPRESS",
"FIRST_CLASS_PACKAGE_SERVICE",
"PARCEL_SELECT",
"MEDIA_MAIL",
"LIBRARY_MAIL",
"BOUND_PRINTED_MATTER"
],
"example": "PRIORITY_MAIL"
},
"processingCategory": {
"type": "string",
"description": "Processing category for the package.",
"enum": [
"MACHINABLE",
"NON_MACHINABLE",
"IRREGULAR",
"LETTERS",
"FLATS"
],
"example": "MACHINABLE"
},
"destinationEntryFacilityType": {
"type": "string",
"description": "Type of destination entry facility.",
"enum": [
"NONE",
"DESTINATION_DELIVERY_UNIT",
"DESTINATION_SERVICE_FACILITY",
"DESTINATION_SECTIONAL_CENTER_FACILITY",
"DESTINATION_BULK_MAIL_CENTER"
],
"example": "NONE"
},
"rateIndicator": {
"type": "string",
"description": "Rate indicator code for special rate categories.",
"example": "DR"
}
},
"required": [
"originZIPCode",
"destinationZIPCode",
"weight",
"mailClass"
]
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/domestic-prices-base-rate-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.