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 verify command validates contact data against Loqate APIs and returns a confidence score, match-level data, and a policy-aware recommendation.

Usage

lqt verify [flags]

Flags

FlagDescription
-a, --addressFull address string
-e, --emailEmail address
-p, --phonePhone number (E.164 format recommended)
-c, --countryISO 2-letter country code
--policyPolicy to apply: strict, shipping, standard, permissive
--policy-filePath to a custom policy JSON file
-b, --batchPath to a CSV/TSV file for batch processing
-o, --outputOutput format: json, jsonl, or table
-k, --keyOverride the Loqate API key
--fieldPass extended Loqate input fields
--optionPass additional API options
--summaryDisplay summary statistics (batch mode)

Examples

Verify an address

lqt verify -a "10 Downing Street, London, SW1A 2AA, GB" -o json

Verify with a specific policy

lqt verify -a "10 Downing St, London, GB" --policy shipping -o json

Verify address, email, and phone together

lqt verify \
  -a "221B Baker St, London, GB" \
  -e "sherlock@example.com" \
  -p "+442071234567" \
  --policy strict \
  -o json

Human-readable table output

lqt verify -a "125 Summer St, Boston, MA 02110, US" -o table

Response fields

Address

FieldDescription
confidenceScore between 0 and 1
recommendationaccept, review, or reject based on the active policy
avcAddress Verification Code (e.g., V44-I44-P7-100)
verification_statusV (verified), P (partially verified), U (unverified), R (reverified)
match_levelpremise, street, locality, administrative_area, or country

Email

FieldDescription
confidenceScore between 0 and 1
recommendationaccept, review, or reject
response_codeLoqate email validation response
risklow, medium, or high
flagsArray of risk indicators (e.g., disposable_domain)

Phone

FieldDescription
confidenceScore between 0 and 1
recommendationaccept, review, or reject
verifiedWhether the phone number is valid
number_typemobile, landline, voip, etc.

Overall

FieldDescription
recommendationLowest-confidence field’s recommendation
confidenceLowest confidence score across all verified fields
policyName of the policy that was applied

Exit codes

The CLI returns exit codes that agents and scripts can use for control flow:
CodeMeaning
0ACCEPT — all fields passed the policy threshold
1REVIEW — one or more fields need human review
2REJECT — one or more fields failed the policy threshold
3ERROR — a request or configuration error occurred