Houdini Swap
  • 🔎Overview: Your Crypto Privacy Guide
  • 🪜STANDARD SWAPS
    • ▪️Wallet Connect
    • ▪️Manual Send
  • 🧙PRIVATE SWAPS
    • ▪️Private Mode
    • ▪️Use Monero
    • ▪️Private Transaction Data
  • ❓FAQs
    • ▫️Do I have to connect my wallet?
    • ▫️How do I find my order details?
    • ▫️What should I do if my transaction shows 'Order Expired' after sending?
    • ▫️What happens if I accidentally sent the wrong currency?
    • ▫️Are Private Swaps truly private?
    • ▫️What KYC and AML requirements are there?
    • ▫️Are Private Swaps compliant?
    • ▫️Is Houdini Swap a crypto mixer?
    • ▫️Staking Program
      • How does $LOCK relate to Houdini Swap?
      • How does Houdini Swap’s Staking Program work?
      • How are staking rewards calculated?
      • How do I unstake?
      • Who receives the rewards from the Withdrawal Penalty?
      • How is Annual Percentage Yield (APY) calculated?
  • 🪙TOKENOMICS
    • ▪️LOCK Token
    • ▪️$LOCK Distribution
    • ▪️$LOCK Staking and Burns
  • 🔒STAKING PROGRAM
  • ☎️CONTACT US
    • ▪️User Support
    • ▪️Partnership Enquiries
  • 📚NOTICES
    • ▪️Privacy Notice
    • ▪️Terms of Service
    • ▪️Compliance Policy
  • 📃WHITEPAPER
    • ▪️Vision & Purpose
    • ▪️Current Landscape
    • ▪️Private Transactions
      • ▫️Semi-Private Transactions
      • ▫️Houdini DEX
    • ▪️Transaction Types
    • ▪️Platform Functions
      • ▫️Why It Works
    • ▪️Integrations
    • ▪️Compliance
    • ▪️Data Retention Policy
    • ▪️Fee Structure
    • ▪️Staking Program
      • ▫️Deflationary Mechanics
      • ▫️Rewards Distribution
      • ▫️Dynamic Rewards
      • ▫️Withdrawal Options
      • ▫️Penalty Distribution
      • ▫️Buybacks and Staking Flow
  • 🐛BUG BOUNTY PROGRAM
  • 💾API DOCUMENTATION
    • Get CEX Tokens API
    • Get DEX Tokens API
    • Get CEX Quote API
    • Get DEX Quote API
    • Post dexApprove API
    • Post dexConfirmTx API
    • Post CEX Exchange API
    • Post DEX Exchange API
    • Get Status API
    • Get Min-Max API
    • Get Volume API
    • Get WeeklyVolume API
    • Changelog
Powered by GitBook
On this page
  • Endpoint: GET/quote
  • Example Request:
  • Example Response:
  1. API DOCUMENTATION

Get CEX Quote API

Retrieves a quote for an exchange transaction, providing details on estimated input and output amounts, supported limits, and exchange duration.

PreviousGet DEX Tokens APINextGet DEX Quote API

Last updated 1 month ago

Endpoint: GET/quote

Response: A JSON object containing details.

Parameters:

Field
Type
Description

amount

string

The amount which the client is willing to transfer (Example: 2)

from

string

The TokenID of a currency the client will transfer (Example: BNB)

to

string

The TokenID of a currency the client will receive (Example: ETH)

anonymous

boolean

Anonymous / Non-anonymous flow. For Anonymous, it will go through a XMR route

useXmr (optional)

boolean

Use XMR if it is true or if it is false use another token for the anonymous transaction for the quote or exchange.

Example Request:

GET/quote?amount=2&from=ETH&to=BNB&anonymous=false&useXmr=false

Example Response:

{
  "amountIn": 2,
  "amountOut": 12345,
  "min": 0.1,
  "max": 99999999,
  "useXmr": false,
  "duration": 15
}

Response Fields:

Field
Type
Description

amountIn

number

Quoted amount in

amountOut

number

Quoted amount out

deviceInfo (optional)

string

Device info type (e.g., Linux, Windows)

isMobile (optional)

boolean

Indicates if the request is from a mobile device

clientId (optional)

string

Client ID

min

number

Minimum amount accepted for exchange

max

number

Maximum amount accepted for exchange

useXmr

boolean

Use XMR if true, otherwise use another token for an anonymous transaction

duration

number

Duration of the exchange in minutes

💾
Quote