Skip to main content
POST
Generate synthetic location data

Authorizations

Authorization
string
header
required

Bearer token authentication. Use format: Bearer YOUR_API_KEY

Body

application/x-www-form-urlencoded
count
string

Number of locations to generate (1-100). Passed as string but must be numeric.

Pattern: ^[1-9]\d?$|^100$
Example:

"10"

locale
string

Locale for generated data (e.g., en, es, fr, de, pt_BR, zh_CN)

Example:

"en"

seed
string

Seed for deterministic generation. Same seed produces same results.

Example:

"12345"

method
enum<string>

Location generation method. Defaults to address.

Available options:
address,
buildingNumber,
cardinalDirection,
city,
continent,
country,
countryCode,
county,
direction,
language,
latitude,
longitude,
nearbyGPSCoordinate,
ordinalDirection,
secondaryAddress,
state,
street,
streetAddress,
timeZone,
zipCode
Example:

"address"

abbreviated
enum<string>

Return abbreviated direction or state values where supported.

Available options:
true,
false
Example:

"false"

countryCodeVariant
enum<string>

Country-code variant for countryCode output.

Available options:
alpha-2,
alpha-3,
numeric
Example:

"alpha-2"

useFullAddress
enum<string>

Return a full street address where supported.

Available options:
true,
false
Example:

"false"

zipCodeFormat
string

Optional zip-code format pattern, up to 32 characters.

Maximum string length: 32
Example:

"#####"

latitudeMin
string

Minimum latitude for generated coordinates.

Pattern: ^-?(?:\d+|\d*\.\d+)$
Example:

"-37.9"

latitudeMax
string

Maximum latitude for generated coordinates.

Pattern: ^-?(?:\d+|\d*\.\d+)$
Example:

"-37.7"

longitudeMin
string

Minimum longitude for generated coordinates.

Pattern: ^-?(?:\d+|\d*\.\d+)$
Example:

"144.8"

longitudeMax
string

Maximum longitude for generated coordinates.

Pattern: ^-?(?:\d+|\d*\.\d+)$
Example:

"145.1"

precision
string

Coordinate decimal precision, from 0 to 10.

Pattern: ^\d+$
Example:

"4"

originLatitude
string

Origin latitude for nearby coordinate generation.

Pattern: ^-?(?:\d+|\d*\.\d+)$
Example:

"-37.8136"

originLongitude
string

Origin longitude for nearby coordinate generation.

Pattern: ^-?(?:\d+|\d*\.\d+)$
Example:

"144.9631"

radius
string

Maximum distance from origin for nearby coordinate generation.

Pattern: ^-?(?:\d+|\d*\.\d+)$
Example:

"25"

isMetric
enum<string>

Use kilometres for radius when generating nearby coordinates.

Available options:
true,
false
Example:

"true"

includeCoordinates
enum<string>

Include latitude and longitude on address output.

Available options:
true,
false
Example:

"true"

includeCountryCode
enum<string>

Include a country code on address output.

Available options:
true,
false
Example:

"true"

includeTimeZone
enum<string>

Include an IANA time-zone identifier on address output.

Available options:
true,
false
Example:

"true"

includeLanguage
enum<string>

Include a spoken language object on address output.

Available options:
true,
false
Example:

"false"

includeDirections
enum<string>

Include cardinal, ordinal, and combined direction fields on address output.

Available options:
true,
false
Example:

"false"

includeSecondaryAddress
enum<string>

Include secondary address data on address output.

Available options:
true,
false
Example:

"false"

Response

Successfully generated location data

status
enum<string>
required
Available options:
success
data
object
required
performance
object