Coinmetro offers both Web Socket and Rest API connectivity. Our latest rest API documentation can be found here.
REST API
The POSTman documentation of the REST API can be found here.
If you are interested in using the REST API and would like a basic guide on the open-source program widely used to load these environments, a good place to start on Postman is available here.
For all information on our REST API limits, please visit the following help center article: What are Coinmetro's API rate limits?
Roundings and Multipliers
The prices and quantities in the book are rounded to a finite number of digits.
-
Roundings for all assets
The most current roundings for all assets can be found here.
-
Roundings for all pairs
The most current roundings for all pairs can be found here.
WebSockets
If you'd prefer to subscribe to a WebSocket channel, the WebSockets can be accessed at:wss://api.coinmetro.com/ws
(live environment)
wss://api.coinmetro.com/open/ws
(demo environment)
The connection supports two arguments in the query string.
pairs
: Comma-separated list of pairs for which book update subscription is requestedtoken
: JWT token generated through one of the login paths. For long-lived tokens, use token={deviceId}:{token}
Both parameters are optional. Both parameters are optional. Requests for account information, balances, wallets or posting orders, can only be done through the use of authenticated WebSockets or tokens (i.e. the connection string includes a valid token query parameter).
Frequently Asked Questions
What are the API rate limits?
The rate limits for the limited endpoints can be found here: What are Coinmetro's API rate limits?
How do I create an API Access token?
All information on how to create an API access token can be found here: How to Create an API Access Token
Comments
0 comments
Article is closed for comments.