Skip to main content
Incorrect shipping addresses are one of the most common causes of failed deliveries, expensive returns, and frustrated end consumers. Address validation lets you catch and correct address issues before a shipment is ever created, so shipments reach their destination the first time. Sendcloud can apply two layers of validation: The formatting check is always applied at no extra cost when you use the Validate an address endpoint, or when creating a shipment with the Shipments API v3. Content validation is available as an add-on, or is included automatically depending on your contract type. See Pricing for details.
Address validation is available on the Shipments API v3 only. It is not available in API v2.

How it works

There are three integration patterns depending on your use case. Choose the one that best fits your workflow.

Option 1: Validate an address before creating a shipment

Best for: WMS and ERP systems that want to verify address data before announcing a shipment to a carrier. In this flow, you call the validate endpoint first, inspect the result, correct any issues on your side, and only then create a shipment.
1

Send a request for validation

Send the address to the Validate an address endpoint.
Example request method and URL
Example request body
2

Inspect the response

Example response
How to read the response
An address can return is_valid: true but recommended: false. This means the address meets certain validation rules, but no confident real-world match was found. In this case, review the address manually before proceeding.
3

Adjust your shipment

If a recommended: true result is returned, use that corrected address for your shipment.
4

Create your shipment

Create the shipment via the Shipments API using the corrected address.

Option 2: Validate an address at checkout to suggest a correct address to your consumers

Best for: Individual sellers and platforms that want to guide end consumers into entering valid addresses during checkout. In this flow, you collect partial address input from the consumer (for example, house number and postal code for Dutch addresses), call the validation endpoint, and surface the corrected or confirmed address back to the consumer before they confirm their order. This approach ensures that by the time an order is placed, the address has already been verified, reducing failed deliveries before a single shipment is created.
1

Collect address data

Collect the relevant address fields from the consumer in your checkout (e.g. postal code + house number for NL).
2

Validate the address

Call the Validate an address endpoint with the input.
Request method and URL
Example request body with NL postal code and house number lookup
The response will include a fully resolved address (street name, city, etc.) that you can present to the consumer for confirmation.
3

Show the results to the user

Display the recommended: true address to the consumer as a suggestion.
4

Final confirmation

Let the consumer confirm or adjust before finalising the order.

Option 3: Inline address validation during shipment creation

Best for: Small sellers or merchants who want the simplest possible integration with minimal extra effort. In this flow, you don’t call the validation endpoint separately. Instead, you pass "validation_methods": ["here"] directly in your shipment creation request. Sendcloud will validate and, where possible, correct the address as part of the announcement.
1

Create a shipment

Create a shipment via the Shipments API and include "validation_methods": ["here"] in the request body.
Request method and URL
Example request body
2

When a matching address is found

If the address can be corrected (e.g. a misspelled city), Sendcloud will automatically apply the fix.In this example, "city": "Einhoven" would be automatically corrected to "city": "Eindhoven".
3

When no match is found

If no valid match can be found, the request returns an error, so you know to fix the address before retrying.
Important: Inline validation only keeps address components it can confirm with the address provider. Any extra information added to address fields, such as "address_line_2": "Ring the blue doorbell", will be removed if it does not match provider records. Use parcels.label_notes for delivery instructions and notes instead.

Supported content validation methods

The default Sendcloud formatting check (carrier field limits, postal code format, etc.) is always applied regardless of which validation_methods you include.

Pricing

The formatting check is included for all merchants at no additional cost. Content validation (the here method) is free when announcing shipments on any non-enterprise subscription plan or through the shipment announcement flow with a transactional contract. For merchants on an enterprise plan, content validation is available as a paid add-on — applicable both when using the standalone validation endpoint and when announcing shipments with a direct contract. For full pricing details, refer to the Sendcloud pricing page.