Overview

Current Version

By default, all requests to https://api.ttc.com receive the v4 version of the REST API.

We encourage you to explicitly request this version via the Accept header:

Accept: application/vnd.ttc.v4+json

Schema

All API access is over HTTPS, and accessed from the https://api.ttc.com. All data is sent and received as JSON.

All timestamps return in ISO 8601 format. For example:

2018-04-09T08:00:00+0300

Authentication

Access to this API requires authentication. Requesting any endpoint with incorrect or wrong credentials will result in 401 Unauthorized.

The authentication method is HTTP Basic Authentication where username is token and password is your API_TOKEN. For example, here is how to make an authenticated request with curl command (replace API_TOKEN with your api token):

TTC is a proud member of the World Travel & Tourism Council, helping raise awareness of travel and tourism as one of the world's largest industries, supporting 292 million jobs and generating 10.2% of the world GDP.