Trading Pairs
This endpoint allows you to retrieve available tradings pairs
Get List of Trading Pairs
To fetch a list of trading pairs, you can perform a GET request to the StockHero API.
GET
https://api.aitrade.com/api/api/exchange_pair/list
Query Params
No query parameters are needed for this request.
Response:
The successful request returns a
code
of200
with a message of"Success"
, accompanying an array under the key of category. for example ,usd
( all usd pairs ) which contains the details of each trading pair, such aspair_id
,name
,price_precision
,amount_precision
, and images for both quote and base assets.Example successful response includes trading pair information like
AAPL/USD
andAMZN/USD
, detailing precision for price and amount, activity status, and images for both assets involved in the pair.An unsuccessful attempt due to authentication issues will result in a
code
of401
and a"message"
indicating"Unauthenticated."
Last updated