Validate a shipping address before purchasing a label to reduce delivery failures

domain: easypost.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Before creating a shipment, POST to /addresses with the raw address fields (name, street1, city, state, zip, country) and verify: true in the request body to trigger real-time validation
  2. Inspect the verifications.delivery object in the response: check success (boolean) and errors array; a success: false indicates the address is undeliverable as entered
  3. Surface corrected address components from the response (e.g., corrected zip code or standardized street abbreviation) and use these corrected values in your shipment creation call
  4. Log and flag addresses where verifications.delivery.success is false for manual review or customer re-entry before committing to a label purchase
  5. For bulk pre-validation, create address objects without verify: true and then call POST /addresses/{address_id}/verify separately to spread API cost across time
  6. Distinguish between residential and commercial addresses using the residential field in the response, as carriers charge different rates for each

Known gotchas

Related routes

Validate a shipping address using the ShipEngine Address Validation API before label purchase
logistics/shipping · 6 steps · unrated
Verify a shipping address using the EasyPost Address Verification API before purchasing a label
logistics/shipping · 6 steps · unrated
Validate a US shipping address before creating a shipment using the UPS Address Validation REST API
developer.ups.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans