Skip to main content

SDKs

AddressZen has SDKs for PHP, Python, Ruby and TypeScript. Each one calls the AddressZen API with typed methods, so your editor and type checker catch a wrong parameter before the request goes out.

Coverage​

Every SDK covers every public API operation: US address verification, address autocomplete in the US and other countries, email and phone validation, plus key, licensee and config management.

Each is generated from the AddressZen OpenAPI spec, the same contract behind the API reference. Their methods, parameters and response types come straight from it rather than from hand-written code.

Available SDKs​

PHP​

addresszen/sdk has a typed method for each API operation and returns read-only response objects. It runs on PHP 8.2 or later over any PSR-18 HTTP client, with packages for Symfony and Laravel.

composer require addresszen/sdk

Get started with PHP

Python​

addresszen has a typed method for each API operation and returns Pydantic models. It runs on Python 3.12 or later.

pip install addresszen

Get started with Python

Ruby​

addresszen has a method with keyword arguments for each API operation and returns response objects with a reader per field. It runs on Ruby 3.3 or later, with RBS signatures and no runtime dependencies.

gem install addresszen

Get started with Ruby

TypeScript​

@addresszen/sdk has a typed function for each API operation, over native fetch. It runs in browsers and Node.js 22 or later and includes optional autocomplete and TanStack Query helpers.

npm install @addresszen/sdk

Get started with TypeScript