Authentication
Last updated
Last updated
API Key
ANT APIs use API keys for authentication. An API key is a token that a client provides when making API calls. The key should be sent as a request body named authSecret
Log in to ANT Dashboard > SecurityCenter>AccessKeyManage and you will find it on that page.
It returns a response with HTTP status 200
if succeeded. Here is an example of the response body:
Otherwise, if the API key is invalid. Here is an example of the response body:
is a command-line tool and library for transferring data with URLs. Here is an example of how to retrieve your account balance authenticated with your API key: