Skip to content

Usage

This endpoint helps you to keep track of your current usage of the MapTrip Server API (see limits for regular usage and demo usage).

The usage refers to your company. If you use several users or API keys, the result contains the sum of them.

Usage is counted per day and reset daily at midnight (Central European Time).

Query Usage Data

The endpoint [GET] /usage does not have any parameters:

curl -X "GET" "https://api.maptrip.de/v1/usage" -H "accept: application/json" -H "Authorization: Bearer <token>"

The result contains your company, the day to which the data relates and the usage data:

{
  "company": "Your Company",
  "daily": {
    "for": "2024-02-15",
    "usage": {
      "geocoder": 1251,
      "route": 940,
      "optimize": 25,
      "detour": 682
    }
  }
}

The use of the API endpoints is aggregated. For example, the value geocoder contains the sum of the endpoints [GET] /geocoder, [GET] /geocoder/structured and [GET] /geocoder/reverse, as they count for the same limit.