v1

latestOpenAPI 3.0.0BRLA License2026-07-14469068.3 KB
Quote Operations

Quote token conversion

Quote a conversion between two different tokens

get/superuser/fast-quote

Query parameters

operation'swap' | 'pix-to-usd' | 'pix-to-token' required

Operation to quote for

amountinteger required

Amount in cents (e.g. 10 would represent 0.1 tokens)

inputCoin'BRLA' | 'USDC' | 'USDT' | 'ETH' | 'GLMR' | 'MATIC' | 'CHZ' required

Not all coins might be available for every operation

The coin the user is sending. Not all coins might be available for every operation

outputCoin'BRLA' | 'USDC' | 'USDT' | 'ETH' | 'GLMR' | 'MATIC' | 'CHZ' required

Not all coins might be available for every operation

The coin the user is receiving. Not all coins might be available for every operation

chain'Polygon' | 'Ethereum' | 'Moonbeam' | 'Tron' | 'XRP' | 'Chiliz' required

Not all chains might be available for every operation

The chain the operation is happening

markupstring

If the user wants to add an extra % fee to the operation to be delivered to another wallet. Represents a percentage with at most 4 decimal places (e.g. 0.001 is 0.1%)

If the user wants to add an extra % fee to the operation to be delivered to another wallet. Represents a percentage with at most 4 decimal places (e.g. 0.001 is 0.1%)

fixOutputboolean

Set to true if the amount field specifies an amount of outputCoin instead of inputCoin

Response

Quoting success

tokenstring

Token, valid for a small period of time, to be used when creating conversion operations

basePricestring
errorstring
substring
operationstring
amountBrlstring
amountUsdstring
amountTokenstring
baseFeestring
gasFeestring
markupFeestring
markupTokenstring
inputCoin'BRLA' | 'USDC' | 'USDT' | 'ETH' | 'GLMR' | 'MATIC' | 'CHZ'

Not all coins might be available for every operation

outputCoin'BRLA' | 'USDC' | 'USDT' | 'ETH' | 'GLMR' | 'MATIC' | 'CHZ'

Not all coins might be available for every operation

chain'Polygon' | 'Ethereum' | 'Moonbeam' | 'Tron' | 'XRP' | 'Chiliz'

Not all chains might be available for every operation