Wallets

Get a crypto deposit-account quote

Changed on

Returns an indicative route quote without creating a wallet. Amounts use token standard units. Accepts an app secret or user token.

post/v1/deposit_accounts/crypto/quote

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/deposit_accounts/crypto/quote
  • Auth
    HTTP basic

Headers

privy-app-idstring required

ID of your Privy app.

Request body

input_amountstring

A positive decimal amount in the source token’s standard unit, not its smallest on-chain unit.

slippage_bpsinteger

Value in basis points: integer from 0 to 10000 (0% to 100%).

Example request

{
  "source": {
    "chain": "ethereum",
    "asset": "eth"
  },
  "destination": {
    "chain": "base",
    "asset": "usdc"
  },
  "input_amount": "0.02",
  "slippage_bps": 50
}

Response

An indicative quote in token standard units.

input_amountstring required

Quoted input amount as a decimal string in the source token's standard unit (e.g. "0.02" for 0.02 ETH). Not in the smallest on-chain unit.

estimated_output_amountstring required

Estimated output amount as a decimal string in the destination token's standard unit. Not in the smallest on-chain unit.

created_atstring date-time required

Example response

{
  "input_amount": "0.02",
  "estimated_output_amount": "49.5",
  "created_at": "2026-09-01T12:00:00.000Z"
}

Changes