{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"f9bf84f3-4630-407d-af53-cf0eb67e8d8e","name":"Swapzone API","description":"**Swapzone** is a cryptocurrency exchange aggregator, providing seamless access to both [instant exchanges](https://planetary-sunset-979549.postman.co/workspace/Swapzone-Workspace~67bb1d9c-a405-4cce-a070-03c052730205/folder/16362858-be0a018d-6543-4396-9569-f5821b6a02e1?action=share&source=copy-link&creator=29169977&ctx=documentation) and [decentralized (DEX)](https://planetary-sunset-979549.postman.co/workspace/Swapzone-Workspace~67bb1d9c-a405-4cce-a070-03c052730205/folder/16362858-562de1d0-bd76-4aae-a13a-002672e7aac5?action=share&source=copy-link&creator=29169977&ctx=documentation) **swaps**. Compare exchange rates, find the best trading routes, and swap assets securely—all in one interface, with no registration or custody required.\n\nOur API integrates with **15+ instant exchange services** and **dozens of DEXs and cross-chain bridges**, ensuring users get the most **efficient, cost-effective, and transparent** trading experience. We fetch real-time liquidity, optimize transactions based on **rate, ratings, speed, and fees**, and allow swaps to be executed directly via trusted providers—whether on-chain, cross-chain, or through instant exchange partners.\n\nFor questions related to the API or bug reporting, send your request to [pm@swapzone.io](https://mailto:pm@swapzone.io) and our team will help you out as fast as possible.\n\n# **Authorization**\n\nTo access the Swapzone API, you need to get an API key in your personal partner account.\n\nSign up the personal partner account here: [https://swapzone.io/partners/sign-up](https://swapzone.io/partners/sign-up) and find an API key here: [https://swapzone.io/partners/account](https://swapzone.io/partners/account)\n\nYou need to specify your API key in the authorization header:\n\n> **Header:** 'x-api-key': 'your api key' \n  \n\n# **Workflow**\n\n#### Here is a simple workflow for the Swapzone API:\n\n1. API - Get a list of supported currencies with the «[Get supported currencies](#d95af22b-ba95-46be-889a-3f4aae84da3a)» method;\n    \n2. UI - Display a drop-down list of «supported currencies»;\n    \n3. UI - Wait for a user to choose the pair to exchange, deposit amount and rate type. For example, ETH (Ethereum) to BTC (Bitcoin), 0.125, fixed/floating;\n    \n4. API - Call with the «[Get rate](#898f2264-7286-41a4-8843-bf143a67a6ab)» method to get the amount to receive after exchange (in our example, BTC estimated amount) and rate identification id required to create transaction;\n    \n5. UI - Show a user the estimated exchange amount;\n    \n6. UI - А user clicks on the Exchange button and specifies the receiving and refund address.\n    \n7. API - Call the «[Create transaction](#31ff6bfd-2115-41f8-a092-74d250f2c7c4)» method, which returns an address for sending funds and transaction attributes to create a transaction;\n    \n8. UI - A user confirms the transfer of funds from their wallet to the address of the exchanger (in our example, a user has to send ETH);\n    \n9. UI - Our partner performs an exchange and sends the funds to the user address (in our example, sends BTC coins to their BTC address).\n    \n10. API - With the «[Get transaction status](#90084256-3f5d-400f-a0c5-4193aa44355a)» method you can get the transaction status;\n    \n11. UI - Display transaction status to a user for them to obtain all the info on the exchange.\n    \n\n<img src=\"https://i.ibb.co/NStPMRs/1.png\">\n\n<img src=\"https://i.ibb.co/tPcBYKP/2.png\">\n\n<img src=\"https://i.ibb.co/dGNXFMn/3.png\">\n\n# FAQ\n\n**Where to get the API key?**\n\nYou can get an API key in your personal partner account. Sign up and find your API key there: [https://swapzone.io/partners/account](https://swapzone.io/partners/account)\n\n**What is the referral fee?**\n\nYou can find the relevant information about our referral fee on the partners’ page: [https://swapzone.io/partners](https://swapzone.io/partners/account)\n\n**Do you work with US customers?**\n\nWe have partners who serve US customers. You can use the `availableInUSA` parameter in the «[Get rate](#898f2264-7286-41a4-8843-bf143a67a6ab)» ​​method so that exchanges go through partners only.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"16362858","collectionId":"f9bf84f3-4630-407d-af53-cf0eb67e8d8e","publishedId":"UVXokDS6","public":true,"publicUrl":"https://documenter-api.postman.tech/view/16362858/UVXokDS6","privateUrl":"https://go.postman.co/documentation/16362858-f9bf84f3-4630-407d-af53-cf0eb67e8d8e","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"25b7eb"},"documentationLayout":"classic-single-column","customisation":null,"version":"8.10.1","publishDate":"2022-04-08T10:10:10.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/768118b36f06c94b0306958b980558e6915839447e859fe16906e29d683976f0","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/UVXokDS6"}