Returns fake address data including street, city, zipcode, country, country_code, and geographic coordinates. Use for testing location-based features.
From spec: Generate fake address data including streets, cities, zipcodes, countries, and coordinates.
Usage Tips
- Use _quantity parameter to control number of results
- Coordinates are random floats, not real locations
- Set _locale for country-specific address formats
Parameters (4)
_locale(string, query, optional, default: en_US)
Locale for generated data (e.g., en_US, fr_FR, de_DE). Default is en_US.
_quantity(integer, query, optional, default: 10)
Number of records to generate (1-1000). Default is 10.
Constraints: {'minimum': 1, 'maximum': 1000}
_seed(integer, query, optional)
Seed for reproducible results. Same seed produces same output.
country_code(string, query, optional)
ISO country code to force specific country (e.g., US, FR, DE)
Examples (1)
Get address - /addressesprobe-gate
Demonstrates fetching 3 fake addresses records with common query parameters.