Cannot Set Transaction Limit per HERE App ID
Cannot Set Transaction Limit per HERE App ID
============================================
Symptom
-------
You're trying to implement a transaction limit specific to an app ID in your HERE account but cannot find a built-in feature that allows this. You are encountering issues where the app is either hitting rate limits or consuming more than expected.
Triggers
--------
The following situations may trigger this issue:
1. You're concerned about one or more apps exceeding their allocated usage and incurring additional charges.
2. You need to apply different transaction limits to different apps for budget control or organizational SLAs.
3. Your usage monitoring or usage alerts based on appId do not prevent over-use by the app in question — just flag it after the fact.
Quick Answer
------------
HERE does not provide a way to set hard transaction limits per app ID, according to the available documentation. However, you can use the Usage API to retrieve and monitor usage for specific app IDs and take action (such as disabling, blocking, or alerting) based on that data.
If you have Account Executive and pay with wire transfer, then it means you are on the Enterprise Plan which offers you a Usage Alert feature to send you email or webhook notification per pre-configured transaction threshold.
Step-by-Step Actions
--------------------
1. Use the Usage API to monitor app usage:
Use the GET endpoint with your app ID to monitor its usage:<br />curl -X GET \ "https://usage.bam.api.here.com/v2/usage/realms/{realmId}?startDate=2021-07-01T10:39:51&endDate=2021-08-30T10:39:51&appId={appId}" \ -H "Authorization: Bearer {ACCESS_TOKEN}" \ -H "X-Correlation-ID: {UNIQUE_REQUEST_ID}"<br />
1. Replace placeholders with your credentials:
Replace {realmId} with your HERE organization ID (e.g., org123456789)
Replace {appId} with the relevant application ID
Replace {ACCESS_TOKEN} with your OAuth 2.0 access token
Replace {UNIQUE_REQUEST_ID} with a custom ID for tracking
1. Optionally retrieve usage in CSV format for easier processing:
Use the /csv endpoint:<br />GET https://usage.bam.api.here.com/v2/usage/realms/{realmId}/csv?startDate=2021-07-01T10:39:51&endDate=2021-08-30T10:39:51&appId={appId}<br />
1. Implement custom limits using the retrieved data:
Integrate the Usage API into a script or system that parses usage values.
When an app exceeds a custom-defined threshold, manually disable or take corrective action (e.g., contact HERE support, adjust API calls, etc.).
Optional: Set automated alerts on high usage for Location Services (alerts by app ID are supported only for Location Services).
1. Contact HERE for a custom solution (if needed):
If your use case requires stricter control than the system currently supports, contact your HERE Account Manager or support team for a potential custom or enterprise solution.
For Usage Alert, please chedk its details at Create a Usage Alert for Cost Management.
Applies To
----------
HERE Location Services users
Developers and admins managing app IDs and billing within HERE accounts
Customers managing HERE apps under contracts with specific usage limits
Tags
----
transaction-limits, app-id, usage-api, billing, here-account, location-services, monitoring, pricing-plans
Updated 3 days ago