The standard API uses header authentication, while Epusdt uses a dedicated URL token. A complete API key is shown only once when it is created.
Use either of the following request headers:
Authorization: Bearer rh_live_xxxxxxxxx
X-API-Key: rh_live_xxxxxxxxx
GET https://2fa.hk/api/rates/v1/rates/cny?exchange=binance
The response includes prices (CNY value of one asset) and rates (amount of an asset purchasable with 1 CNY).
GET https://2fa.hk/api/rates/v1/ticker/trx?exchange=okx&fiat=CNY
The account center displays a base URL for each key, for example:
https://2fa.hk/epusdt/binance/rhe_xxxxxxxxx
Epusdt requests:
https://2fa.hk/epusdt/binance/rhe_xxxxxxxxx/cny.json