617fae07073cab7fed028b48237d1db9:9d63c583c93f1f041d834629b2f9165a69711c77a3b90ea0d34b7cd5b87c701fe9ab0f1f871dc949146a8019f55ec0dad3f3f207eec5755aad3698129c2e332360d34c286789c69420f72eaa3bc6002d
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;
}