Address Generation
The /address endpoint generates one or more fictional postal addresses for a given country. Each address includes a street, city, zip code, region, and country name. If no country is specified, one is picked at random.
gethttps://api.moxon.dev /v4/address
Try itget/v4/address
curl -X GET \ "https://api.moxon.dev/v4/address"Send the request to see the response here.
countrystringoptionalCountry code:
fr,us,uk,de, ores. Case-insensitive. Random if omitted.- fr
- us
- uk
- de
- es
countnumberoptionalNumber of addresses to generate (1–10). Default:
1.
addressesobject[]List of generated address objects
addresses[].streetstringHouse number + street type + street name
addresses[].citystringCity name
addresses[].zipstringPostal/zip code formatted for the country
addresses[].statestringRegion or state name
addresses[].countrystringFull country name (e.g.
France,United States)addresses[].countryCodestringUppercased country code (e.g.
FR,US)
| Code | Country | Zip format example |
|---|---|---|
fr | France | 75001 |
us | United States | 90210 |
uk | United Kingdom | AB1 2CD |
de | Germany | 10115 |
es | Spain | 28001 |
- 400
Unknown country code "xx". Supported: fr, us, uk, de, esThecountryparameter is not a supported code - 400
Count must be between 1 and 10Thecountparameter is out of the allowed range
Last updated on May 12, 2026