Unwired Labs’ LocationAPI

Cell geolocation lookup for the application can be enabled by using the Unwired Labs' geolocation API.

To use Unwired Labs’ LocationAPI, provide the unwiredlabsApiKey parameter when deploying the solution:

az deployment group create --resource-group ${APP_NAME:-bifravst} \
    --mode Complete --name ${APP_NAME:-bifravst} \
    --template-file azuredeploy.json \
    --parameters \
        appName=${APP_NAME:-bifravst} \
        location=$LOCATION appRegistrationClientId=$APP_REG_CLIENT_ID \
        b2cTenant=$B2C_TENANT \
        unwiredlabsApiKey="<your API key>"

This command will enable the geolocateCellFromUnwiredLabs function to resolve cells. Otherwise, this function will return a 402 status on the API route cellgeolocation/unwired.

Note

Unwired Lab’s LocationAPI is free for low volumes. However, OpenCellid allows free use of the underlying dataset. If it is relevant for you, vote in the Integrate OpenCelliD data issue.