4f415ac60bfc22cbca7a2b50331eec23:3c3415d4b72c7d52b0d28a6f44c666c7fbddcbc9ac29eceb7e53c8d8569daeca05f50cfe260a60b19a718e8a747f4d616f75f7c64da6852efbb5bbf145a82883fbf79e8c9cf4bcb60bc1fea1dc77ce89
x-api-token
in header. By using the RandomCoords APIs, you agree to the Terms and Conditions.GET https://api.randomcoords.com/v1/coordinates/regions
{ type: "regions"; results: number; data: { id: string; name: string; }[]; }
GET https://api.randomcoords.com/v1/coordinates/regions/{region}?limit={number}
Query Parameters: limit
(optional, max 100, default 1)
{ id: string; name: string; type: "region"; results: number; data: { id: string; country: string; city: string; iso2: string; coordinates: [number, number]; }[]; }
GET https://api.randomcoords.com/v1/coordinates/countries
{ type: "countries"; results: number; data: { id: string; name: string; iso2: string; }[]; }
GET https://api.randomcoords.com/v1/coordinates/countries/{country}?limit={number}
Query Parameters: limit
(optional, max 100, default 1)
{ id: string; name: string; type: "country"; regions: string[]; iso2: string; results: number; data: { city: string; state?: string; coordinates: [number, number]; }[]; }
x-api-token
in the header is not malformed.x-api-token
exists in the header. message
field:{ message: string; }