OpenStreetMap

OpenStreetMap API

Access and contribute to our open geospatial data using our powerful and well-documented APIs.

API Endpoints

Endpoint Description Method
/api/0.6/map.xml Retrieve map data in XML format GET
/api/0.6/changeset/create Create a new map changeset POST
/api/0.6/permissions View account permissions GET
/api/0.6/search Search addresses and places GET

Getting Started

Authentication

Most endpoints require API key authentication. Register for an API key at our developer portal.

Example Header:

Authorization: Bearer YOUR_API_KEY_HERE

Rate Limits

Free accounts are limited to 100 requests/minute. Premium plans available for higher quotas.

API requests are rate limited to 2000 requests/minute with premium access.

Example: Search for a Location

Use our search endpoint to find coordinates and metadata for any location.

GET Request:

GET https://api.openstreetmap.org/api/0.6/search?query=Paris,+France

Response:


{
  "lat": 48.8566,
  "lon": 2.3522,
  "address": "Paris, France",
  "accuracy": 0.98
}

Learn More

📦

SDKs & Clients

Official SDKs for Python, Node.js, and more.

View SDKs
📘

API Docs

Interactive API documentation and examples.

Browse Docs
📞

Support

Contact our API support team for issues.

Contact