Implement the Shippo address validation API to verify international addresses before label generation

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

Steps

  1. POST to /v1/addresses with the address fields (name, street1, city, state, zip, country in ISO 3166-1 alpha-2 format) and 'validate': true
  2. Inspect the response 'validation_results' object: 'is_valid' indicates whether the address is deliverable; 'messages' contains an array of specific errors or warnings
  3. For US addresses, Shippo returns USPS standardized output including ZIP+4; for international addresses, confidence levels vary by country coverage
  4. If 'is_valid' is false, surface the 'messages' text to the user or pass to an address correction flow before attempting label creation
  5. Validate addresses at order capture time, not only at label generation time, to catch problems before fulfillment

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