Our STTS Open API allows you to search flight results, to make flight orders, to submit change & refund application for a flight order.We accepts JSON-encoded request bodies and returns also JSON-encoded responses. We use standard HTTP response codes and verbs.Before using our API, you need to contact us to get an agency code & API key which are used to authenticate your requests.
STTS Open api use agency code & API key to authenticate requests. You can view and manage your code and key in agency dashboard.Your API key carries many privileges, so be sure to keep them secure! NEVER share it in publicly accessible areas such as GitHub, client-side code, and so forth.To authenricate your request, you need to pass timestamp, code, signature in your request headers:
Code: your agency code Timestamp: the UTC date and time of the request, formatted as a Unix timestamp (the number of elapsed seconds since 1st Jan, 1970) Signature: sha1(code + timestamp + api_key)
All API requests MUST be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.