Skip to content
Maua.Culturewire

Mapbox

Maps, geocoding, directions, isochrones and styles

Data and analyticsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Access token (pk.… or sk.…)SecretRequired

    Where to find them

    1. Create a free account at mapbox.com and open “Access tokens” in your account.
    2. For geocoding, directions, isochrones or matrices the default public token (“pk.…”) is enough. To manage styles, tilesets or datasets create a secret token (“sk.…”) with the required permissions (scopes) and copy it right away: it is shown only once.
    3. Paste it here. If the token has URL restrictions, remove them: requests are sent from Maua.Culturewire, with no origin page.

    Get credentials (opens in a new tab)

Tools (1)

  • Mapbox API requestMAPBOX_SEND_REQUEST

    Authenticated call to the Mapbox API (https://api.mapbox.com). Any endpoint of the API is allowed. Examples: GET /search/geocode/v6/forward?q=Times Square, New York&limit=1 (from address to coordinates), GET /search/geocode/v6/reverse?longitude=-3.7038&latitude=40.4168, GET /directions/v5/mapbox/driving/-3.7038,40.4168;-3.6919,40.4531?overview=false (driving route), GET /isochrone/v1/mapbox/walking/-3.7038,40.4168?contours_minutes=10 (area within a 10-minute walk), GET /styles/v1/{username} (styles; secret token with styles:list), GET /tokens/v2 (token details, including your username).

    Required scopes

    No scopes required

    Input

    Mapbox API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.