Copyrights
Purpose
The Copyrights API is designed to serve copyright information for the Map Display services. As an alternative to copyrights for map request, you can receive copyrights for the map service called captions.
Run this endpoint
You can easily run this and other endpoints. Go to the TomTom API Explorer page and follow the directions.
Map Copyrights
Request data
HTTPS method: GET
Please see the following Request parameters section with the required parameters table for these values. The generic URL format is as follows.
URL format
The schema for the map copyrights request:
https://{baseURL}/map/{versionNumber}/copyrights?key={Your_API_key}
Example
https://api.tomtom.com/map/2/copyrights?key={Your_API_Key}
curl command format
curl 'https://api.tomtom.com/map/2/copyrights?key={Your_API_Key}'
Request parameters (Map Copyrights)
Required parameters | Description |
---|---|
string | The base URL for calling TomTom services. Value: |
string | The version of the service to call. Value: The current version is |
string | An API Key valid for the requested service. Value: Your valid |
Response data
The response body will contain copyrights in a plain text format.
1© 1992 - 2022 TomTom. All rights reserved. This material is proprietary and the subject of copyright protection,2database right protection and other intellectual property rights owned by TomTom or its suppliers.3The use of this material is subject to the terms of a license agreement.4Any unauthorized copying or disclosure of this material will lead to criminal and civil liabilities.5Data Source © 2022 TomTom,6based on https://www.tomtom.com/en_gb/thirdpartyproductterms/
Map Service Copyrights
Request data
HTTPS method: GET
Please see the following Request parameters section with the required and optional parameters tables for these values. The generic URL format is as follows.
URL format
The schema for the map service copyrights:
https://{baseURL}/map/{versionNumber}/copyrights/caption.json?key={Your_API_Key}
Example
https://api.tomtom.com/map/2/copyrights/caption.json?key={Your_API_Key}
curl command format
curl 'https://{baseURL}/map/{versionNumber}/copyrights/caption.json?key={Your_API_Key}'
Request parameters (Map Service Copyrights)
Required parameters | Description |
---|---|
string | The base URL for calling TomTom services. Value: |
string | The version of the service to call. Value: The current version is |
string | An API Key valid for the requested service. Value: Your valid |
Response data
For the map service copyright request, the response body will contain a copyrights caption in JSON format.
1{2 "formatVersion": "0.0.1",3 "copyrightsCaption": "©TomTom"4}
Error response
The Map Display API Copyrights service for an invalid request returns a response body in XML or JSON format. The XML format is returned by default. To have an error response returned in JSON format, application/json
has to be specified in the Accept HTTP request header.
Error response field structure
Field | Description |
---|---|
object | Main object of the error response. |
string | One of a server-defined set of error codes. |
string | A human-readable description of the error code. |
Error response example
1{2 "detailedError": {3 "code": "BAD_REQUEST",4 "message": "Bad Request"5 }6}
1<errorResponse description="Bad Request" errorCode="400" version="1.0.54-mascoma">2 <detailedError>3 <code>BAD_REQUEST</code>4 <message>Bad Request</message>5 </detailedError>6</errorResponse>
Response codes
Code | Meaning & possible causes |
---|---|
| OK |
| Not Modified : The response has not been modified. This code is returned when the If-None-Match request header is used and its value matches the ETag of the requested copyrights. |
| Bad Request : Requested syntax is not available. |
| Forbidden : The supplied API Key is not valid for this request. |
| Too Many Requests : Too many requests were sent in a given amount of time for the supplied API Key. |
| Internal Server Error : There is a problem with the TomTom Copyrights API service. |
| Service Unavailable : TomTom Copyrights API service is unable to receive any request. |
| Service Not Found : Unknown version of the service. |
Response headers
Header | Description |
---|---|
The Maps Copyrights API allows cross-origin resource sharing (CORS). Value: | |
The Maps Copyrights API provides ETag and supports the If-None-Match header. Value: | |
Tracking-ID | An identifier for the request. If the Tracking-ID header was specified
in the request, it is replicated in the response. Otherwise, it is
generated automatically by the service. For details check
RFC 4122. |