Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.loqate.com/llms.txt

Use this file to discover all available pages before exploring further.

The parse command standardizes contact data using Claude Haiku. It splits unstructured addresses into components, normalizes phone numbers, and validates email format — without making Loqate API calls or consuming credits.

Usage

lqt parse [flags]

Flags

FlagDescription
-a, --addressAddress to parse into components
-e, --emailEmail to validate format
-p, --phonePhone number to normalize
-c, --countryCountry hint (ISO 2-letter code)
-b, --batchPath to a CSV/TSV file for batch parsing
-o, --outputOutput format: json, jsonl, or table
--anthropic-keyOverride the Anthropic API key

Examples

Parse an address

lqt parse -a "221B Baker Street London NW1 6XE United Kingdom"

Parse with a country hint

lqt parse -a "125 Summer St Boston MA 02110" -c US -o json

Batch parsing

lqt parse -b addresses.csv -o jsonl

Requirements

The parse command requires an Anthropic API key for Claude Haiku access:
export ANTHROPIC_API_KEY=your-key-here
The parse command does not call Loqate APIs and does not consume any Loqate account credits. It uses Claude Haiku for address standardization only.

When to use parse vs verify

Use caseCommand
Standardize address format before storageparse
Split unstructured address into componentsparse
Confirm an address is real and deliverableverify
Get a confidence score and recommendationverify
Pre-process data before batch verificationparse, then verify