OpenStreetMap · OAuth Scopes

OpenStreetMap OAuth Scopes

OAuth 2.0 derived

OpenStreetMap publishes 7 OAuth 2.0 scopes via the authorizationCode flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the OpenStreetMap API on a user’s behalf.

Tokens are issued from https://www.openstreetmap.org/oauth2/token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

GeospatialMappingOpen DataGeocodingEditing
Scopes: 7 Flows: authorizationCode Method: derived

OAuth endpoints

Authorization URL
https://www.openstreetmap.org/oauth2/authorize
Token URL
https://www.openstreetmap.org/oauth2/token
Flows
authorizationCode

Scopes (7)

ScopeDescriptionFlows
read_gpx Read private GPS traces authorizationCode
read_prefs Read user preferences authorizationCode
write_api Modify the map (nodes, ways, relations, changesets) authorizationCode
write_diary Create diary entries authorizationCode
write_gpx Upload GPS traces authorizationCode
write_notes Create, comment on, and close notes authorizationCode
write_prefs Modify user preferences authorizationCode

Source

OAuth Scopes

openstreetmap-scopes.yml Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/openstreetmap-main-openapi.yml
schemes:
- name: OAuth2
  source: openapi/openstreetmap-main-openapi.yml
  flows:
  - flow: authorizationCode
    authorizationUrl: https://www.openstreetmap.org/oauth2/authorize
    tokenUrl: https://www.openstreetmap.org/oauth2/token
  description: OAuth 2.0 — required for write operations
scopes:
- scope: read_gpx
  description: Read private GPS traces
  flows:
  - authorizationCode
  sources:
  - openapi/openstreetmap-main-openapi.yml
- scope: read_prefs
  description: Read user preferences
  flows:
  - authorizationCode
  sources:
  - openapi/openstreetmap-main-openapi.yml
- scope: write_api
  description: Modify the map (nodes, ways, relations, changesets)
  flows:
  - authorizationCode
  sources:
  - openapi/openstreetmap-main-openapi.yml
- scope: write_diary
  description: Create diary entries
  flows:
  - authorizationCode
  sources:
  - openapi/openstreetmap-main-openapi.yml
- scope: write_gpx
  description: Upload GPS traces
  flows:
  - authorizationCode
  sources:
  - openapi/openstreetmap-main-openapi.yml
- scope: write_notes
  description: Create, comment on, and close notes
  flows:
  - authorizationCode
  sources:
  - openapi/openstreetmap-main-openapi.yml
- scope: write_prefs
  description: Modify user preferences
  flows:
  - authorizationCode
  sources:
  - openapi/openstreetmap-main-openapi.yml