API
Instant exchange API
Mixed API provides an opportunity to get an access to the services of Mixed platform. You can request more features by contacting our developers team partners@mixed.exchange.
Basic info
All request should use the domain:
Request parameters:
Headers | |
---|---|
Accept | application/json |
Content-Type | application/json |
Authorization process
Some API requests require an authorization key to access specific functions, such as linking transactions to your personal account. For other requests, authorization is optional.
To authorize your API requests, add the following header:
Headers | |
---|---|
X-API-Key | { API Key } |
Replace { API Key } with your personal key, which you can copy from the "Personal Data" page after registering, or request directly from Mixed support at partners@mixed.exchange.
Note: Keep your API key confidential and do not share it with anyone.
Common
Partnerallcryptoview.Get
Example response:
{ "items": [ { "logo": "https://api.mixed.exchange/static/logos/btc.svg", "fullName": "Bitcoin", "shortName": "BTC", "networks": [ { "fullName": "BTC", "isMemo": false, "addressRegex": "^(0x)[0-9A-Fa-f]{40}$", "memoRegex": "^(0x)[0-9A-Fa-f]{40}$" } ] } ], "total": 0, "page": 1, "size": 1, "pages": 0 }
Get Rate
This API endpoint returns amount that user will get, current rate, minimal payment amount required to make an exchange.
Example response:
{ "fromAmount": 0.1, "toAmount": 2.3451, "rate": 23.451, "minAmount": 0.001342, "withdrawMin": 0.0245, "maxAmount": 5.245 }
Get Rates Json
Example response:
[ { "coinFrom": "BTC", "networkFrom": "BTC", "amountFrom": 0.1, "coinTo": "ETH", "networkTo": "ETH", "amountTo": 2.65, "rate": 26.5, "amountMin": 0.0004, "amountMax": 10, "fee": 0.001 } ]
Exchange
Partnergetorderview.Get
Example response:
{ "orderId": "ChYE62vzii48", "coinFrom": { "id": "ChYE62vzii48", "logo": "https://api.mixed.exchange/static/logos/btc.svg", "fullName": "Bitcoin", "shortName": "BTC" }, "coinTo": { "id": "ChYE62vzii48", "logo": "https://api.mixed.exchange/static/logos/btc.svg", "fullName": "Bitcoin", "shortName": "BTC" }, "amountFrom": 0.1, "amountTo": 2.3451, "rate": 23.451, "addressTo": "0x0000000000000000000000000000000000000000", "memoTo": "0x0000000000000000000000000000000000000000", "createdDate": "2023-05-06T00:00:00.000Z" }
Partnercreateorderview.Post
Body example:
{ "type": "float", "coinFrom": "BTC", "coinTo": "ETH", "networkFrom": "BTC", "networkTo": "ETH", "amountFrom": 0.1, "amountTo": 0, "addressFrom": "0x0000000000000000000000000000000000000000", "memoFrom": "string" }
Example response:
{ "orderId": "ChYE62vzii48", "coinFrom": { "id": "ChYE62vzii48", "logo": "https://api.mixed.exchange/static/logos/btc.svg", "fullName": "Bitcoin", "shortName": "BTC" }, "coinTo": { "id": "ChYE62vzii48", "logo": "https://api.mixed.exchange/static/logos/btc.svg", "fullName": "Bitcoin", "shortName": "BTC" }, "amountFrom": 0.1, "amountTo": 2.3451, "rate": 23.451, "addressTo": "0x0000000000000000000000000000000000000000", "memoTo": "0x0000000000000000000000000000000000000000", "createdDate": "2023-05-06T00:00:00.000Z" }
API version
title | FastAPI |
version | 2.3.1 |
Table of Contents