Skip to content

50,000 free calls a month, card-free. Get an API key →

Documentation menu
docs / api / get-v1-keys-self
self-serve

GET/v1/keys/self

API key required, sent as Authorization: Bearer snk_… or ?api_key=snk_….

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/v1/keys/self" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Responses

200State, quota, usage, credits and expiry of the calling key
FieldTypeRequiredDescription
allowed_originsstring[]yesOrigins this key may be called from. Empty means unrestricted — the key works from anywhere, including from a server with no origin at all.
credits_millipenceintegeryesPrepaid credit balance in internal millipence (1p = 1000 millipence) — full precision for fractional, tiered per-call prices.
credits_penceintegeryesPrepaid credit balance of the owning identity, in pence (floor of the internal millipence balance).
download_allowance_mibintegeryesMonthly offline-download allowance in MiB (identity-bound). A plan or the SDK licence raises this above the free evaluation default.
download_used_mibintegeryesOffline download bytes served this calendar month, in MiB (rounded up), identity-wide.
emailstringnoDelivery email of the owning identity — the key holder already proved control of the key, and the website's checkout derives the billing identity from this rather than trusting client input. Absent on operator (admin) keys, which have no identity.
expires_atstringnoRFC 3339 expiry — present on provisional keys only.
first_success_atstringnoRFC 3339 timestamp of this key's first successful (2xx) metered API call — the activation event — or null if it has never had one. The stamp is written by a buffered task, so it can lag the first success by a moment.
identity_keysintegeryesNumber of active keys sharing this identity (including this one).
key_idstringyesKey id (UUID).
mau_includedintegeryesIncluded monthly active users per calendar month (identity-bound). A plan or the admin API raises this above the free default.
mau_overdrawnbooleanyesWhether a new distinct user beyond the included count could not be covered by the prepaid ledger this month. **Fail-open:** requests keep being served regardless; sustained overdraw is a commercial conversation, not a hard stop.
mau_this_monthintegeryesDistinct monthly active users (X-MapMap-User identifiers) recorded this calendar month, identity-wide. Flushed rows only — the buffered writer lags by at most the flush interval.
monthly_quotaintegeryesRequests allowed per calendar month (identity-bound for self-served keys).
remainingintegeryesFree-tier requests remaining this month.
scopestringyes"full" or "maps". A maps key may draw tiles, read styles/fonts/sprites, geocode and read its own status; everything else answers 403 scope-insufficient.
statestringyesLifecycle state: admin, provisional or verified.
used_this_monthintegeryesRequests used this month (identity-wide for self-served keys, including not-yet-flushed ones for this key).
401Missing, unknown, revoked or expired key

Error bodies follow the shared problem model documented on API conventions.

Also under self-serve

Generated from https://api.mapmap.ai/openapi.json on 2026-09-17 · operationId self_status