Skip to content

USPS API: Estimate postage

Estimates domestic USPS Post Office retail postage between two ZIP Codes for a letter, large envelope, package or flat-rate packaging, by weight and mailing date. Media Mail is left out; a zero-weight letter counts as one ounce. Prices are retail, cheapest first, with each service's estimated delivery.

usps.com (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by USPS.

Inputs

Values from the run on Oct 31, 2026, shown under Output.

Width in optionalwidth_in

Package width in inches, for example 6; defaults to a small box.

6 (default)

Number.

Height in optionalheight_in

Package height in inches, for example 4; defaults to a small box.

4 (default)

Number.

Length in optionallength_in

Package length in inches, for example 8; defaults to a small box.

8 (default)

Number.

Ship Date optionalship_date

Planned mailing date in YYYY-MM-DD, for example 2026-10-01; defaults to today (New York time).

Not set

Weight (lb), requiredweight_lb

Weight in pounds, for example 2; enter 0 for a letter under a pound.

2

Number 0 or more.

Weight Oz optionalweight_oz

Additional ounces beyond the whole pounds, for example 8.

0 (default)

Number 0 or more.

Origin Zip, requiredorigin_zip

Five-digit ZIP Code where the item is mailed, for example 10001.

60601

Exactly 5 characters.

Package Type optionalpackage_type

Mailpiece or USPS flat-rate packaging type, for example package.

flat_rate_box

One of letter, large_envelope, package, flat_rate_envelope, flat_rate_box. Default package.

Destination Zip, requireddestination_zip

Five-digit destination ZIP Code, for example 94105.

90001

Exactly 5 characters.

Output

From a run on Oct 31, 2026.
{  "note": null,  "services": [    {      "currency": "USD",      "page_link": "https://postcalc.usps.com/Calculator/ExtraServices?country=0&ccode=US&oz=60601&omil=False&dz=90001&dmil=False&retail=False&mdt=9/28/2026&mdz=8:00 AM&m=12&hscode=False&p=2&o=0&rect=True&l=0&h=0&w=0&g=0&mt=14&dok=XX&pt=r",      "retail_price": 13.65,      "service_name": "Priority Mail Small Flat Rate Box",      "included_extras": [        "USPS Tracking",        "Insurance up to $100"      ],      "expected_delivery_date": "2026-10-01",      "estimated_delivery_time": "Thu, Oct 1"    },    {      "currency": "USD",      "page_link": "https://postcalc.usps.com/Calculator/ExtraServices?country=0&ccode=US&oz=60601&omil=False&dz=90001&dmil=False&retail=False&mdt=9/28/2026&mdz=8:00 AM&m=12&hscode=False&p=2&o=0&rect=True&l=0&h=0&w=0&g=0&mt=13&dok=XX&pt=r",      "retail_price": 24.8,      "service_name": "Priority Mail Medium Flat Rate Box",      "included_extras": [        "USPS Tracking",        "Insurance up to $100"      ],      "expected_delivery_date": "2026-10-01",      "estimated_delivery_time": "Thu, Oct 1"    },    {      "currency": "USD",      "page_link": "https://postcalc.usps.com/Calculator/ExtraServices?country=0&ccode=US&oz=60601&omil=False&dz=90001&dmil=False&retail=False&mdt=9/28/2026&mdz=8:00 AM&m=12&hscode=False&p=2&o=0&rect=True&l=0&h=0&w=0&g=0&mt=12&dok=XX&pt=r",      "retail_price": 34,      "service_name": "Priority Mail Large Flat Rate Box",      "included_extras": [        "USPS Tracking",        "Insurance up to $100"      ],      "expected_delivery_date": "2026-10-01",      "estimated_delivery_time": "Thu, Oct 1"    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
usps.com/estimate_postage
Returns
services (name, retail price in USD, estimated delivery time and date, included extras, USPS page link), note

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method usps.com/estimate_postage with the inputs above.

Ask your agent

  • How much would it cost to mail a 3 lb 4 oz box measuring 12x10x6 inches from ZIP 60614 to 33139 next Tuesday? Show me the cheapest options and delivery dates.
  • What's the USPS retail price to send a regular letter from 02139 to 98101, and how long will it take?
  • I'm shipping a flat rate box from Austin 78704 to Denver 80202 on 2026-11-16 — what are my service options and prices on usps.com?
  • Compare postage for a large envelope weighing 6 ounces going from 30309 to 10011, mailed on December 3rd.
  • Check usps.com for the cheapest way to ship a 15 lb package (18x14x10) from 85004 to 04101 and when it would arrive.

See more

  • Tracks a UPS package by tracking number, with its status, delivery details and shipment history when available.

    ups.com/track_package
  • Looks up the places, regions and coordinates for a postal code in a supported country on Zippopotam.us.

    zippopotam.us/get_postal_code
  • Finds postal codes, place names and coordinates for a town and state or region in a country covered by Zippopotam.us.

    zippopotam.us/search_postal_codes
  • Searches a named Instacart store's guest-visible grocery products for a US ZIP code. Prices are in USD and can differ from in-store prices; stock estimates can change.

    instacart.com/search_products
  • Looks up a medicine at Cost Plus Drugs by generic or brand name and returns the listed price and its breakdown for a strength, form and quantity, with the strengths and forms on offer. The drug price excludes shipping and taxes; standard shipping is shown separately.

    costplusdrugs.com/get_drug_price
  • Gets the US cash prices Drugs.com lists for a brand or generic medicine by strength, dosage form and quantity, optionally filtered. Where a range is listed the lower price is returned.

    drugs.com/get_drug_prices
  • Gets a home's details from Realtor.com by street address or Realtor.com property link: status, list price, value estimate, beds, baths, size, year built, HOA fee, property and tax history, nearby schools, flood risk and photos.

    realtor.com/get_home
  • Finds OfferUp items for sale near a US city or ZIP code, with prices, condition, seller names, distance and links. Distances use approximate listing locations.

    offerup.com/search_listings