6d2b4757c9997aca2e0d3129f2eed600:a2ec2c819dcdf04bd6d53be9b460b4e7014c3ec73c5ba1adb45ca371aa1b69bfb7f87c73ccd69d181818b1c9e8b1dad4c2a00c5d3800711a10e29d3c57de0870680500549309c1a2cf5dfd3d47574a06
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;
}