Data
Address JSON Example
Copy-paste JSON for a postal address — street, city, state, postal code, country, and lat/long coordinates included. Ready for shipping, billing, or geolocation APIs.
Field Reference
typerequiredstringAddress purpose: shipping, billing, or bothline1requiredstringPrimary street address line (house number, street name)line2optionalstring | nullSecondary address line for apartment, suite, or landmarkcityrequiredstringCity or town namestaterequiredstringState, province, or regionpostalCoderequiredstringZIP or postal code — stored as string to preserve leading zeroscountryrequiredstringISO 3166-1 alpha-2 country code (e.g. IN, US, GB)coordinatesoptionalobjectGeocoded latitude/longitude pair for map display and delivery routingVariants
MinimalBare address with only required fields — no coordinates or metadata.
ExtendedFull address with verification status, geocoordinates, and delivery instructions.
Common Use Cases
- →Storing and validating shipping and billing addresses at checkout
- →Geocoding addresses for last-mile delivery routing and map display
- →Pre-filling address forms from a user's saved address book
addresspostalshippinggeolocationlocation
Validate or format this JSON
One click loads this exact example into the tool — no copy-paste needed. Format it, validate it, explore the tree, or generate TypeScript types instantly.