World Cities & Coordinates
Global city search, latitude, longitude, and country codes REST API endpoint.
⚡ FreeAPI Smart Gateway Supported (Recommended)
Zero account setup or API key registration needed. Call directly through FreeAPI Smart Edge Gateway with <2ms memory cache, automatic CORS support, and normalized JSON output.
Live Test Console & 3D Assistant
Launch our 3D companion to execute real-time REST JSON queries against this endpoint with zero CORS friction.
Quickstart Code Snippets
Copy-paste ready boilerplate for your tech stack.
// ⚡ Call via FreeAPI Smart Edge Gateway (<2ms RAM Cache + CORS Guard)
// Endpoint: https://freeapi.website/api/v1/gateway/world-cities
async function callWorldCitiesCoordinates() {
try {
const response = await fetch("https://freeapi.website/api/v1/gateway/world-cities", {
headers: {
"Accept": "application/json",
// "x-freeapi-key": "fapi_live_your_api_key" // FreeAPI Gateway Key
}
});
if (!response.ok) {
throw new Error(`Gateway HTTP error! status: ${response.status}`);
}
const data = await response.json();
console.log("FreeAPI Live Data:", data);
} catch (error) {
console.error("FreeAPI Gateway Error:", error);
}
}
callWorldCitiesCoordinates();Share with Devs & GitHub Badge
Share this public endpoint with your team or embed verified status badge in your README.md.
Key Advantages (Pros)
- Zero-Auth: No API key or registration required to start querying.
- Unlimited or generous quota suitable for high-throughput testing.
- HTTPS & CORS Enabled: Can be queried directly from client browsers or server backends.
Considerations & Limits (Cons)
- Third-party SLA: Service uptime depends on the upstream provider.
Frequently Asked Questions (FAQ)
Technical and integration answers for World Cities & Coordinates.
GitHub README Verified Badge
Embed this live verified badge in your project or repository.
[](https://freeapi.website/?utm_source=github_badge&utm_medium=readme&utm_campaign=badge_backlink)All data feeds, trademarks, and documentation belong directly to the original API provider. FreeAPI serves purely as a discovery index and documentation reference for developers.