Parse, correct, and standardize addresses using AI. Fixes typos, expands abbreviations, infers missing components (postcode, region, country), and returns structured address components with a confidence score. Each correction is itemised so you can see exactly what changed.
| Correction type | Example |
|---|---|
typo | ”Main Stret” to “Main Street” |
abbreviation | ”downing st” to “Downing Street”, “uk” to “United Kingdom” |
inferred | Missing postcode, region, or country filled in from context |
reformatted | ”apt 4b” to “Apt 4B” (capitalization, formatting) |
removed | Duplicate or irrelevant fragments stripped out |
/parse/ai/parse-address uses AI to understand what the address should be. Use it when:
country on individual addresses to improve accuracy, especially for ambiguous inputs:
confidence score from 0 to 1:
| Range | Meaning |
|---|---|
| 0.9 - 1.0 | High confidence. Input was clean or corrections are well-supported. |
| 0.7 - 0.9 | Moderate confidence. Some inference was needed. Review recommended. |
| 0.5 - 0.7 | Low confidence. Significant guessing involved. Manual review suggested. |
| Below 0.5 | Very low confidence. Input may be too ambiguous to correct reliably. |