Data
Address JSON Example
A precise JSON example for a postal address object — includes street, city, state, postal code, country, and coordinates. Copy-ready for shipping, billing, and geolocation APIs.
Field Reference
typestringrequiredAddress purpose: shipping, billing, or bothline1stringrequiredPrimary street address line (house number, street name)line2string | nulloptionalSecondary address line for apartment, suite, or landmarkcitystringrequiredCity or town namestatestringrequiredState, province, or regionpostalCodestringrequiredZIP or postal code — stored as string to preserve leading zeroscountrystringrequiredISO 3166-1 alpha-2 country code (e.g. IN, US, GB)coordinatesobjectoptionalGeocoded 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
Paste the example above into JSONKit's tools to validate, minify, or explore the structure interactively.