# Authentication

# Overview

All API endpoints require an API token. If you are a subscriber, visit your account page to create an API token. You must have an active subscription to use the API.

Notice

There are different plans with different levels of access. You may not have permission to access all endpoints or markets.

# Details

You can authenticate using the api_token query string parameter or as a Bearer token in the Authorization header of the request. In the examples below we omit the api_token parameter for clarity, but it is required.

# Example

https://api.tradinghours.com/v3/markets/status?fin_id=us.nyse,jp.jpx&api_token=YOUR_TOKEN_HERE

Important

Replace "YOUR_TOKEN_HERE" with your API token. Get your API Token