For AI agents: the complete documentation index is available at /core-sdk/map/web/llms.txt, the full documentation bundle is available at /core-sdk/map/web/llms-full.txt, and this page is available as Markdown at /core-sdk/map/web/v10/01-getting-started/05-get-map-access-token.md.
MapxusDeveloper Platform
Products
Positioning APIAccess real-time indoor coordinates and contextual signals.API
UI SDKProduction-ready indoor map interfaces and UI components.AndroidiOS

Get Mapxus Token

Get access token by @mapxus/mapxus-auth, you can use venue/building/POI search services without initializing the map.

import { registerWithApiKey, getToken } from '@mapxus/mapxus-auth';
import { BuildingsService } from '@mapxus/mapxus-map';

// register mapxus
registerWithApiKey("${APP_ID}", "${SECRET}");

// use search API individually
const service = new BuildingsService();
service
	.searchByGlobal({ keywords: "Square" })
	.then((res) => console.log(res.result.buildings));

// get token
getToken().then(token => console.log(token));