Measure MapAPI

Live and sandbox

Build and test with a sandbox key, on data kept apart from your real projects, then switch to a live key.

Every key belongs to one of two environments. There is one base URL for both: the key decides.

LiveSandbox
Projects, folders, productsYour real onesKept apart: a sandbox key sees only sandbox ones, a live key never sees them
Members of your organisationRealThe same real members
Guest projects (Open Guest)Counted and billedNever counted or billed
Usage figures on the Developer pageCountedNot counted
EmbedsOpen live projectsDo not open: sandbox projects cannot be embedded
Signing in as a memberAllowedRefused
TokensLiveSandbox

How to tell which a key is#

The Developer page shows each key under its environment. The token endpoints also say it in their answer:

JSON
{"token": "…", "expiresOn": 1792345678000, "environment": "sandbox"}

What is shared#

Members, subscriptions, keys, settings and webhooks belong to the account, not to an environment. That is what lets a sandbox project be owned by a real member.

Moving to live#

  1. Create a live key with the same access as your sandbox key.
  2. Replace the key in your server's configuration.
  3. Anything you made in the sandbox stays there. Create your real projects, folders and products with the live key, or in the app.