All updates

Go SDK

go.addresszen.com/sdk is our Go SDK for the AddressZen API. It has one typed method for every API operation, uses only the standard library and runs on Go 1.26 or later.

Details

  • Every operation: Address verification, autocomplete, place search, email and phone validation, plus key, licensee and configuration management
  • No dependencies: Requests go through net/http and encoding/json. Pass your own *http.Client with WithHTTPClient to control timeouts and transport
  • Typed responses: Every response is a struct generated from the OpenAPI spec. A field that holds one of several shapes has As<Variant>() accessors, so AsUsaVerifyMatch() tells you whether a verification matched
  • Context first: Every method takes a context.Context, for deadlines and cancellation
  • Clear errors: An HTTP error returns *addresszen.APIError with the HTTP status and the API's error code and message
  • No hidden retries: A billable lookup repeats only when your code repeats it
  • Agent skill: npx skills add addresszen/skills gives coding agents the azn-go-sdk skill

Install with go get go.addresszen.com/sdk, then start with the Go SDK documentation.