# USPS integrations: addresses, tracking and prices

> Schedule a carrier pickup in USPS. Connect USPS to the rest of your supply chain stack with Tray.ai.

**Canonical page:** https://tray.ai/connectors/usps-integrations/
**Categories:** Supply chain
**Connects through:** HTTP Connector

## Overview

USPS, the United States Postal Service, offers shipping APIs for address validation, postage prices, package tracking, carrier pickups, labels and Post Office locations. Tray.ai connects to USPS through the HTTP Connector, so your workflows can call the USPS API alongside the rest of your stack.

## Use cases

### Addresses

Read and manage addresses in USPS from any Tray.ai workflow. The USPS API covers calls such as standardize an address and look up city and state.

- Standardize an address
- Look up city and state
- Look up a ZIP Code

### Tracking

Read tracking in USPS from any Tray.ai workflow. The USPS API covers calls such as get tracking summary and get tracking details.

- Get tracking summary
- Get tracking details

### Prices

Read prices in USPS from any Tray.ai workflow. The USPS API covers calls such as search base rates and search extra service rates.

- Search base rates
- Search extra service rates
- Search total rates

### Carrier pickups

Read, create, update, and delete carrier pickups in USPS from any Tray.ai workflow. The USPS API covers calls such as check pickup eligibility and schedule a carrier pickup.

- Check pickup eligibility
- Schedule a carrier pickup
- Get a carrier pickup

### Locations

Read locations in USPS from any Tray.ai workflow. The USPS API covers calls such as find drop-off locations and find Post Office locations.

- Find drop-off locations
- Find Post Office locations

### Service standards

Read service standards in USPS from any Tray.ai workflow. The USPS API covers calls such as get delivery estimates and get service standards.

- Get delivery estimates
- Get service standards

## Challenges Tray.ai solves

### Keeping USPS credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store USPS credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the USPS API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the USPS API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to USPS?

Yes. Tray.ai connects to USPS through the HTTP Connector, which calls the USPS API directly. Any call the USPS API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with USPS?

The USPS API uses OAuth 2.0 and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated USPS connector?

USPS runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated USPS connector from the USPS API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
