Token

After acquiring API Key, you can generate a Token Fields according to the rules, and call the Open API interface with it.

Plain
Example: Assuming that the requested URL is "https://scaler.taurusx.com/openapi/performance_data",
then the request header needs to be added
access-key: 018168163a17d44907669d58ee9ad687
token: a6864d4ef31b09cdc1c5d22214cde5db
timestamp: 1697785289
Example: Assuming that the requested URL is "https://scaler.taurusx.com/openapi/performance_data",
then the request header needs to be added
access-key: 018168163a17d44907669d58ee9ad687
token: a6864d4ef31b09cdc1c5d22214cde5db
timestamp: 1697785289

The Token parameter generation rules are as follows:

FieldTypeDescriptionExample
access-keystringAccess-key and api-key generated by Taurusx"018168163a17d44907669d58ee9ad687"
tokenstringGeneration method:Md5(api-key.md5(timestamp))"a6864d4ef31b09cdc1c5d22214cde5db"
timestampintTimestamp (second)1697785289

PHP Example

PowerShell
<?php
    $api_key = 'af6d4b1cbdb4fbe2d1ee838fabfe92fe';
    $timestamp = time();
    $token = md5($api_key.md5($timestamp));
    ?>
<?php
    $api_key = 'af6d4b1cbdb4fbe2d1ee838fabfe92fe';
    $timestamp = time();
    $token = md5($api_key.md5($timestamp));
    ?>