Get a swap estimate
get_quoteEstimate a crypto-to-crypto swap on HiddenSwap, a no-KYC crypto exchange. Returns the amount the person would receive after all fees, the rate, the minimum and maximum, the payout fee, the usual duration and a prefilled swap link. Uses a quote recorded in the last two hours when one matches the exact amount (floating rate only, labelled with its time), otherwise a live quote. Read-only: it creates no order and moves no funds. Coin ids come from search_coins (for example btc, xmr, usdttrc20). No account, no email and no ID needed to swap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The coin received. Coin id from search_coins, for example btc, xmr or usdttrc20 (USDT on Tron). | |
| from | Yes | The coin sent. Coin id from search_coins, for example btc, xmr or usdttrc20 (USDT on Tron). | |
| amount | Yes | Amount of the coin sent, as a decimal string with a dot, for example "0.05". | |
| rateType | No | float (default): the rate is set when the deposit is confirmed. fixed: a rate held once the swap is started on the site, when the pair offers one. | float |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| max | No | ||
| min | No | ||
| from | Yes | ||
| rate | Yes | How much of the received coin one unit of the sent coin buys, before the payout fee. | |
| notes | Yes | ||
| source | Yes | ||
| swapUrl | Yes | Prefilled swap page. The person reviews and starts the swap there. | |
| amountTo | Yes | Estimated amount received, after all fees. | |
| quotedAt | Yes | When the quote was made (ISO 8601). | |
| rateType | Yes | ||
| payoutFee | No | Fee for sending the new coins, in the received coin. Already taken off amountTo. | |
| amountFrom | Yes | ||
| etaMinutes | No | Usual duration in minutes: low and high. |