/quote-stock-b-api Stock Query API
The query API uses HTTPS protocol, the complete URL is:
https://quote.tradeswitcher.com/quote-stock-b-api
Each time a query request is sent, the method name and token information need to be provided
Single product request K-line example:
https://quote.tradeswitcher.com/quote-stock-b-api/kline?token=yourToken&query=queryData
Batch product request K-line example:
https://quote.tradeswitcher.com/quote-stock-b-api/batch-kline?token=yourToken
Note: When making batch product requests for K-line, the request parameters should be placed in the body.
Request for latest transaction price example:
https://quote.tradeswitcher.com/quote-stock-b-api/trade-tick?token=yourToken&query=queryData
Request for latest market depth example:
https://quote.tradeswitcher.com/quote-stock-b-api/depth-tick?token=yourToken&query=queryData
For specific calling methods, please refer to the HTTP interface list
/quote-b-api Forex, Cryptocurrency (Digital Currency), Commodity (Precious Metal) Query API
The query API uses HTTPS protocol, the complete URL is:
https://quote.tradeswitcher.com/quote-b-api
Each time a query request is sent, the method name and token information need to be provided
Single product request K-line example: https://quote.tradeswitcher.com/quote-b-api/kline?token=yourToken&query=queryData
Batch product request K-line example:
https://quote.tradeswitcher.com/quote-b-api/batch-kline?token=yourToken
Note: When making batch product requests for K-line, the request parameters should be placed in the body.
Request for latest transaction price example: https://quote.tradeswitcher.com/quote-b-api/trade-tick?token=yourToken&query=queryData
Request for latest market depth example: https://quote.tradeswitcher.com/quote-b-api/depth-tick?token=yourToken&query=queryData
For specific calling methods, please refer to the HTTP interface list