postcode-nl / api-magento2-module

postcode-nl/api-magento2-module

Postcode.eu Address Validation module for Magento 2. Adds autocompletion for addresses in multiple countries using official postal data.

magento2-module Compatibility: Not yet tested Code Quality: Pending Tests: N/A Security: Pending BSD-2-Clause

Are you the maintainer of postcode-nl?

Packagento pulls postcode-nl's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

Viewing version 4.2.0. Latest version is 4.2.1. Switch to latest

[image: Postcode.eu]

International Address API module for Magento 2

Adds autocompletion for addresses to the checkout page. Multiple countries are supported using official postal data via the Postcode.eu API.

This module is maintained by Postcode.eu.

Postcode.eu account

A Postcode.eu account is required.
Testing is free. After testing you can choose to purchase a subscription.

Installation instructions

  1. Install this component using Composer:
$ composer require postcode-nl/api-magento2-module
  1. Upgrade, compile & clear cache:
$ php bin/magento setup:upgrade
$ php bin/magento setup:di:compile
$ php bin/magento cache:flush

Screenshots

International Address API

A single field for autocompletion:

[image: image]
[image: image]

To allow users to skip the autocomplete field and manually enter an address, there's an option to add a link to manual address entry:

[image: image]

Dutch Postcode API

Get a Dutch address by postcode and house number. In this example asking the user to select from valid house number additions:

[image: image]

A formatted address is shown when the postcode and house number combination is valid (this is the default output option):

[image: image]

Other output options are:

  • Hide address fields until postcode and house number combination is valid.
  • Disable address fields until postcode and house number combination is valid.
  • No change; address fields remain visible and editable.

GraphQL Support

We provide a separate module for GraphQL support, allowing you to query address data via Magento's GraphQL API. This enables integration with headless Magento setups, progressive web applications (PWAs), and other front-end technologies that leverage GraphQL.

Compatibility

Although we can't guarantee compatibility with other checkout modules, our module works well with most one-step-checkout modules. If you are having issues and think this may be caused by our module, please contact Postcode.eu and tell us which other module(s) and version(s) are used.

If you found the solution already and have some code to contribute, feel free to open a pull request in this repository.

Address API documentation

You can find our API documentation at https://developer.postcode.eu/documentation.

Module Wiki

Instructions for additional configuration and customization can be found on the wiki pages.

FAQ and Knowledge Base

License

The code is available under the Simplified BSD License, see the included LICENSE file.

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
4.2.1 stable Fail Magento 2.4.7-2.4.9 Details 2026-08-10 13:32:18
4.2.0 stable Not tested Not yet tested Details 2026-08-10 11:07:48
4.1.1 stable Fail Magento 2.4.7-2.4.9 Details 2026-07-02 08:41:33
4.1.0 stable Fail Magento 2.4.7 Details 2026-05-13 08:13:55
4.0.0 stable Not tested Not yet tested Details 2026-03-23 15:25:15
3.7.1 stable Not tested Not yet tested Details 2026-02-02 11:47:43
3.7.0 stable Not tested Not yet tested Details 2026-01-26 10:05:36
3.6.3 stable Not tested Not yet tested Details 2025-11-12 09:30:49
3.6.2 stable Not tested Not yet tested Details 2025-10-22 12:49:42
3.6.1 stable Not tested Not yet tested Details 2025-10-15 13:17:54
3.6.0 stable Not tested Not yet tested Details 2025-07-02 12:52:13
3.5.1 stable Not tested Not yet tested Details 2025-05-06 09:54:28
3.5.0 stable Not tested Not yet tested Details 2025-02-04 10:20:05
3.4.0 stable Not tested Not yet tested Details 2024-10-23 09:26:40
3.3.0 stable Not tested Not yet tested Details 2024-07-17 13:18:53
3.2.0 stable Not tested Not yet tested Details 2023-12-06 09:57:41
3.1.11 stable Not tested Not yet tested Details 2023-08-16 11:13:56
3.1.10 stable Not tested Not yet tested Details 2023-06-06 13:32:52
3.1.9 stable Not tested Not yet tested Details 2023-01-05 09:16:02
3.1.8 stable Not tested Not yet tested Details 2022-11-09 09:15:05
3.1.7.1 stable Not tested Not yet tested Details 2022-08-31 14:04:19
3.1.7 stable Not tested Not yet tested Details 2022-08-29 13:48:40
3.1.6.1 stable Not tested Not yet tested Details 2022-07-07 09:09:57
3.1.5 stable Not tested Not yet tested Details 2022-05-24 09:27:28
3.1.4 stable Not tested Not yet tested Details 2022-04-19 09:34:05
3.1.3 stable Not tested Not yet tested Details 2022-02-14 11:10:17
3.1.2 stable Not tested Not yet tested Details 2021-11-24 10:31:46
3.1.1 stable Not tested Not yet tested Details 2021-07-06 10:08:24
3.1.0 stable Not tested Not yet tested Details 2021-06-07 09:42:58
3.0.2 stable Not tested Not yet tested Details 2021-04-06 09:46:02
3.0.0 stable Not tested Not yet tested Details 2021-03-31 11:11:44
2.0.4 stable Not tested Not yet tested Details 2020-08-10 15:09:31
2.0.3 stable Not tested Not yet tested Details 2020-05-08 13:56:03
2.0.2 stable Not tested Not yet tested Details 2020-04-28 11:18:45
2.0.1 stable Not tested Not yet tested Details 2020-04-14 06:55:39
2.0.0 stable Not tested Not yet tested Details 2020-02-10 12:23:28
1.0.3 stable Not tested Not yet tested Details 2020-01-29 15:07:45
1.0.2 stable Not tested Not yet tested Details 2019-12-18 12:19:46
1.0.1 stable Not tested Not yet tested Details 2019-12-02 09:58:07
1.0.0 stable Not tested Not yet tested Details 2019-11-28 10:07:19

Requires 2

Package Constraint
magento/module-checkout ~100.4
php ^7.4 || ^8.0

No QA results yet

QA pipelines haven't run for this version. Compatibility and quality results appear here once the vendor publishes a tagged release that gets ingested.

License
BSD-2-Clause
Homepage
https://www.postcode.eu
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.