# parse-address (npm) vs parseaddr: addresses outside the US in Node

Source: https://parseaddr.com/parseaddr-vs-parse-address-npm
Updated: 2026-11-28

parse-address is an npm package of US address patterns. Latest version 1.1.2, published June 2022.

| | parse-address 1.1.2 | parseaddr |
| --- | --- | --- |
| US (24): street, city, state, ZIP right | 24/24 | 24/24 |
| US (24): every field right | 12/24 (no country field) | 24/24 |
| UK (200): every field right | 0/200 | 197/200 |
| UK postcode found | 0/200 | 200/200 |
| UK city found | 0/200 | 197/200 |
| Other countries (76): every field right | 0/76 | 72/76 |

Script, inputs and every output: https://github.com/wezpyke/parseaddr-mcp/tree/main/benchmarks

Example: `parseLocation("14 High Street, Oxford OX1 4AG")` returns `{ number: '14', street: 'High', type: 'St' }`. Oxford and the postcode are dropped with no error.

Key map: number → house_number; prefix + street + type + suffix → road; sec_unit_type + sec_unit_num → unit; zip → postcode; city, state unchanged; parseaddr adds country.

Call: `fetch("https://api.parseaddr.com/v1/parse", {method: "POST", headers: {Authorization: "Bearer <key>", "Content-Type": "application/json"}, body: JSON.stringify({address})})`. Free tier 2,000 calls a month.
