United States Postal Service · JSON Structure

Domestic Prices Base Rate Request Structure

Request parameters for base rate search.

Type: object Properties: 10 Required: 4
GovernmentPostal ServiceShippingLogisticsAddress ValidationPackage Tracking

BaseRateRequest is a JSON Structure definition published by United States Postal Service, describing 10 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

originZIPCode destinationZIPCode weight length width height mailClass processingCategory destinationEntryFacilityType rateIndicator

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/united-states-postal-service/refs/heads/main/json-structure/domestic-prices-base-rate-request-structure.json",
  "name": "BaseRateRequest",
  "description": "Request parameters for base rate search.",
  "properties": {
    "originZIPCode": {
      "description": "5-digit origin ZIP Code.",
      "example": "20212",
      "type": "string"
    },
    "destinationZIPCode": {
      "description": "5-digit destination ZIP Code.",
      "example": "90210",
      "type": "string"
    },
    "weight": {
      "description": "Package weight in pounds.",
      "example": 1.5,
      "type": "double"
    },
    "length": {
      "description": "Package length in inches.",
      "example": 12.0,
      "type": "double"
    },
    "width": {
      "description": "Package width in inches.",
      "example": 8.0,
      "type": "double"
    },
    "height": {
      "description": "Package height in inches.",
      "example": 4.0,
      "type": "double"
    },
    "mailClass": {
      "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",
      "type": "string"
    },
    "processingCategory": {
      "description": "Processing category for the package.",
      "enum": [
        "MACHINABLE",
        "NON_MACHINABLE",
        "IRREGULAR",
        "LETTERS",
        "FLATS"
      ],
      "example": "MACHINABLE",
      "type": "string"
    },
    "destinationEntryFacilityType": {
      "description": "Type of destination entry facility.",
      "enum": [
        "NONE",
        "DESTINATION_DELIVERY_UNIT",
        "DESTINATION_SERVICE_FACILITY",
        "DESTINATION_SECTIONAL_CENTER_FACILITY",
        "DESTINATION_BULK_MAIL_CENTER"
      ],
      "example": "NONE",
      "type": "string"
    },
    "rateIndicator": {
      "description": "Rate indicator code for special rate categories.",
      "example": "DR",
      "type": "string"
    }
  },
  "required": [
    "originZIPCode",
    "destinationZIPCode",
    "weight",
    "mailClass"
  ],
  "type": "object"
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/domestic-prices-base-rate-request-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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