Maps APIs
| API | Pricing | Auth | Format | Free tier | Status |
|---|---|---|---|---|---|
Cartes.ioCreate and query custom maps and markers for any purpose; open-source and self-hostable. Location & Mapping › Maps | Free | None | JSON | — | Live |
CARTO BasemapsOpenStreetMap-based raster and vector basemap tiles with a free API key up to 5M requests/month. Location & Mapping › Maps | Freemium | API key | Binary | 10k+/day | Live |
MapTiler Cloud APIVector and raster map tiles, map styles, static map images, geocoding and elevation from one keyed API. Location & Mapping › Maps | Freemium | API key | JSON | 1k–10k/day | Live |
Open-ElevationGround elevation in metres for one or many latitude/longitude points, with a self-hostable GPLv2 server. Location & Mapping › Maps | Freemium | JSON | <100/day | Live | |
OpenStreetMapRead and edit raw OpenStreetMap geodata (nodes, ways, relations) as XML. Location & Mapping › Maps | Free | None | XML | — | Live |
USGS Elevation Point Query ServiceGround elevation in feet or metres for a U.S. latitude/longitude point, from USGS elevation models. Location & Mapping › Maps | None | JSON | Unlimited | Live |
Choosing a Maps API
Is there a free Maps API?
Yes. OpenStreetMap and Cartes.io are free to use, and MapTiler Cloud API, CARTO Basemaps and Open-Elevation have a free tier alongside paid plans.
Which Maps APIs work without an API key?
OpenStreetMap, Cartes.io and USGS Elevation Point Query Service need no key or sign-up, so you can try them with a plain request.
Can I call a Maps API from front-end JavaScript?
OpenStreetMap, Cartes.io and USGS Elevation Point Query Service allow cross-origin requests and need no key, so they work straight from the browser. For the others, call them from your server so your key stays private.
Can I use Maps APIs in a commercial project?
CARTO Basemaps and USGS Elevation Point Query Service permit commercial use. MapTiler Cloud API and OpenStreetMap restrict it, for example to non-commercial or attributed use, so read the terms first.
Which Maps APIs work with AI agents?
CARTO Basemaps has an MCP server, so an AI agent can call it directly. MapTiler Cloud API publishes an OpenAPI spec for generating clients and tools.
More specific: Elevation APIs
More in Location & Mapping: Geocoding APIs · Address & Postal Code APIs · Routing APIs · IP Geolocation APIs · Places APIs · Countries APIs