Address Validation APIs: All Them APIs endpoint contract

A structured address check that keeps corrections, match confidence and postal evidence separate.

Endpoint and access

Contract preview · access requires enablement
Address Validation APIs contract endpoint
POST https://allthemapis.com/api/v1/address-validation/validate

This is our proposed customer-facing interface. Provider fulfillment and category-specific keys are not enabled yet. Calls currently return 503 integration_not_enabled; they do not execute a query or spend credits. Existing Search API trial keys do not unlock this category.

Request access for your workload before connecting an application.

Request fields

Proposed request schema
FieldTypeMeaning
address.line1string, requiredStreet and building information; use only addresses you are authorized to process.
address.line2string, optionalApartment, suite or other secondary-unit information; preserve it during normalization.
address.citystring, optionalLocality; do not force US-style city/state assumptions on every country.
address.regionstring, optionalState, province or administrative area.
address.postal_codestring, optionalPostal code as text, preserving leading zeros.
address.country_codeISO 3166-1 alpha-2, requiredExplicit country context; coverage must be confirmed before enabling access.
Address Validation APIs example request
curl -X POST "https://allthemapis.com/api/v1/address-validation/validate" \
  -H "Authorization: Bearer $ALLTHEMAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "address": {
    "line1": "1600 Amphitheatre Parkway",
    "city": "Mountain View",
    "region": "CA",
    "postal_code": "94043",
    "country_code": "US"
  }
}'

The example defines the contract; it is not a completed API call.

Response fields and errors

Intended response fields after access enablement
FieldMeaning
statusconfirmed, needs_confirmation, ambiguous, unconfirmed or unsupported; never infer confirmed from HTTP 200 alone.
suggested_addressNormalized components if available; retain the original and show material changes before accepting.
changed_fields[]Names of fields corrected or inferred.
postal_evidenceThe check performed and its result, or unknown when only a location match is available.
request_idTrace identifier, without an address embedded in a URL or analytics event.
Address Validation APIs current unavailable response
{
  "error": {
    "code": "integration_not_enabled",
    "message": "This API requires access enablement. No request has been executed or billed."
  },
  "access_url": "https://allthemapis.com/api-categories/address-validation/api#request-access"
}

No synthetic response is returned as live data. Pricing, production quotas and content-use rights must be confirmed before activation.

Give the contract to your coding agent

This prompt prepares an adapter without treating a fixture as a successful live request.

Address Validation APIs agent integration prompt
Prepare an integration for the All Them APIs address validation apis contract.

Endpoint: POST https://allthemapis.com/api/v1/address-validation/validate
Request shape:
{
  "address": {
    "line1": "1600 Amphitheatre Parkway",
    "city": "Mountain View",
    "region": "CA",
    "postal_code": "94043",
    "country_code": "US"
  }
}

This category requires access enablement and currently returns HTTP 503 integration_not_enabled. Do not execute requests or claim success until access is confirmed.
Read ALLTHEMAPIS_API_KEY from a server-side environment variable only. Never place it in browser code, URLs or logs. Use a bounded timeout, handle 401/429/503 explicitly, and keep null/missing fields distinct from valid zero values. Do not retry indefinitely.
Expected output fields:
- status: confirmed, needs_confirmation, ambiguous, unconfirmed or unsupported; never infer confirmed from HTTP 200 alone.
- suggested_address: Normalized components if available; retain the original and show material changes before accepting.
- changed_fields[]: Names of fields corrected or inferred.
- postal_evidence: The check performed and its result, or unknown when only a location match is available.
- request_id: Trace identifier, without an address embedded in a URL or analytics event.

Build the adapter and unit tests against an explicitly labeled local fixture. Do not fabricate live results. Summarize what access and production verification are still required.

Request access to address validation APIs

Tell us the coverage and volume you need. We will confirm availability and terms before enabling access. This request does not take a payment or create an API key.