# Install libpostal-rest with Homebrew

REST API for libpostal. Version 1.1.0 via Homebrew; verified 2026-06-13.

## Install

```sh
sudo av install brew:libpostal-rest
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libpostal-rest
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:libpostal-rest
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libpostal-rest>
- **Version:** 1.1.0
- **Source summary:** REST API for libpostal
- **Homepage:** <https://github.com/johnlonganecker/libpostal-rest>
- **Repository:** <https://github.com/johnlonganecker/libpostal-rest>
- **Upstream docs:** <https://github.com/johnlonganecker/libpostal-rest#readme>
- **License:** MIT
- **Source archive:** <https://github.com/johnlonganecker/libpostal-rest/archive/refs/tags/v1.1.0.tar.gz>
- **Last updated:** 2026-06-13T23:35:04+02:00
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- libpostal-rest (cli)
- libpostal-rest (alias)

## Dependencies

- libpostal

## Build dependencies

- go
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 1.1.0
- Package-manager updated: 2026-06-13
- Local data: ok
- Upstream repository: https://github.com/johnlonganecker/libpostal-rest
- Upstream latest detected: v1.1.0 (current)
## Project history and usage

libpostal-rest is a small Go REST service that exposes libpostal address parsing and expansion over HTTP. Its history is best understood as a deployment wrapper around the larger libpostal geospatial NLP library.

### Project history

The repository documents a Go 1.13+ build, HTTP endpoints for parsing, expansion, and combined expand-and-parse calls, and environment-variable configuration for listen address, logging, and Prometheus metrics. Its go.mod file depends on openvenues/gopostal, the Go binding for libpostal.

### Adoption history

The package has a narrow adoption story: it makes libpostal easier to run as a service when callers do not want to link directly to C or language bindings. The related libpostal project has broader adoption for normalizing and parsing international street addresses from open data.

### How it is used

Operators run `libpostal-rest` as an HTTP service, then send address strings to `/parser`, `/expand`, or `/expandparser`. Environment variables configure the bind host, port, log format, log level, and optional Prometheus metrics endpoint.

### Why package nerds care

The package is useful because libpostal itself has a heavy native build and large model-data footprint. A REST wrapper turns that local native dependency into a network service that other applications can consume with plain HTTP.

### Timeline

- 2022-06-17: The GitHub repository lists a public release around this date.
- 2022: The README documents Prometheus metrics and structured logging configuration for the service.

### Related projects

- libpostal is the core C address-normalization and parsing library.
- gopostal is the Go binding used by libpostal-rest.
- OpenStreetMap-derived data and libpostal's training pipeline are part of the upstream libpostal ecosystem.

### Sources

- <https://github.com/johnlonganecker/libpostal-rest>
- <https://github.com/openvenues/libpostal>
- <https://raw.githubusercontent.com/johnlonganecker/libpostal-rest/master/README.md>
- <https://raw.githubusercontent.com/johnlonganecker/libpostal-rest/master/go.mod>
- <https://raw.githubusercontent.com/openvenues/libpostal/master/README.md>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libpostal-rest
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [carrot2](https://www.automicvault.com/pkg/brew/carrot2/) - Shares av.db curated category or tags: cli, data, rest-api.
- [cassandra-reaper](https://www.automicvault.com/pkg/brew/cassandra-reaper/) - Shares av.db curated category or tags: cli, data, rest-api.
- [meilisearch](https://www.automicvault.com/pkg/brew/meilisearch/) - Shares av.db curated category or tags: cli, data, rest-api.
- [opensearch](https://www.automicvault.com/pkg/brew/opensearch/) - Shares av.db curated category or tags: cli, data, rest-api.
- [prestd](https://www.automicvault.com/pkg/brew/prestd/) - Shares av.db curated category or tags: cli, data, rest-api.
- [activemq](https://www.automicvault.com/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, data.
- [adios2](https://www.automicvault.com/pkg/brew/adios2/) - Shares av.db curated category or tags: cli, data.
- [alluxio](https://www.automicvault.com/pkg/brew/alluxio/) - Shares av.db curated category or tags: cli, data.
- [ip2location](https://www.automicvault.com/pkg/brew/ip2location/) - Local package facts share a topical domain. Shared terms: address, addresses, cli, data.

## Combined YAML source

View the package source record on GitHub. [combined/libpostal-rest.yml](https://github.com/automic-vault/db/blob/main/combined/libpostal-rest.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
