2d1676b28b82ff9cd702b6240e91b3d3:03c6f78189939ed1b7916e5ca8232cf4762d2eb89d7be5dc0e0ee48852853347eff3c6e3b7448b3c11af22f98ca6d3c44520d8e79d08cf909f4dbe18e463fbc30c0a94c66998206d0ad41895e7bc2f6f
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;
}