v1

latestOpenAPI 3.1.02026-07-24320172.9 KB

Request a Quote

post/api/quote/v{currentVersion}/requestquote

Path parameters

currentVersionstring required

The current version of BaaSiC API

Headers

Authorizationstring required

The personal authentication token obtained by each user from the token authentication endpoint

Request body

fromCurrency'BRL' | 'BRZ' | 'BTC' | 'ETH' | 'USDC' | 'USDT' | 'XRP' | 'ARS' | 'SOL' | 'USD' | 'XLM' | 'ARZ' | 'EUZ' | 'MXZ' | 'COZ' | 'CLZ' | 'PGZ' | 'UYZ' | 'PEZ' | 'EUR' | 'CHF' | 'GBP' | 'LINK' | 'DOT' | 'AAVE' | 'UNI' | 'AVAX' | 'FTM' | 'LUNA' | 'POL' | 'ATOM' | 'BNB' | 'ZAR' | 'BUSD' | 'RNDZ' | 'MXN' | 'COP' | 'OP' | 'ARB' | 'PEPE' | 'SHIB' | 'DOGE' | 'SUI' | 'GALA' | 'SNX' | 'GMX' | 'INJ' | 'LDO' | 'APE' | 'ADA' | 'NEAR' | 'DYN' | 'XTZ' | 'MANA' | 'RDNT' | 'CAKE' | 'DYDX' | 'GLMR' | 'RBTC' | 'CRV' | 'BAL' | 'MKR' | 'TRX' | 'CRO' | 'APTOS' | 'RDOC' | 'ZENIQ' | 'RIF' | 'STBRZ' | 'EURC' | 'MNT' | 'NGN' | 'XAF' | 'XOF' | 'EGP' | 'KES' | 'BWP' | 'GHS' | 'ZMW' | 'GNF' | 'UGX' | 'TON' | 'CLP' | 'CHZ' | 'GNO' | 'DAI' | 'XDAI' required

The currency that will be operated, provided by its acronym. In other words, It's the base of the pair, in a trade USDT/BRL, for example the base would be USDT

toCurrency'BRL' | 'BRZ' | 'BTC' | 'ETH' | 'USDC' | 'USDT' | 'XRP' | 'ARS' | 'SOL' | 'USD' | 'XLM' | 'ARZ' | 'EUZ' | 'MXZ' | 'COZ' | 'CLZ' | 'PGZ' | 'UYZ' | 'PEZ' | 'EUR' | 'CHF' | 'GBP' | 'LINK' | 'DOT' | 'AAVE' | 'UNI' | 'AVAX' | 'FTM' | 'LUNA' | 'POL' | 'ATOM' | 'BNB' | 'ZAR' | 'BUSD' | 'RNDZ' | 'MXN' | 'COP' | 'OP' | 'ARB' | 'PEPE' | 'SHIB' | 'DOGE' | 'SUI' | 'GALA' | 'SNX' | 'GMX' | 'INJ' | 'LDO' | 'APE' | 'ADA' | 'NEAR' | 'DYN' | 'XTZ' | 'MANA' | 'RDNT' | 'CAKE' | 'DYDX' | 'GLMR' | 'RBTC' | 'CRV' | 'BAL' | 'MKR' | 'TRX' | 'CRO' | 'APTOS' | 'RDOC' | 'ZENIQ' | 'RIF' | 'STBRZ' | 'EURC' | 'MNT' | 'NGN' | 'XAF' | 'XOF' | 'EGP' | 'KES' | 'BWP' | 'GHS' | 'ZMW' | 'GNF' | 'UGX' | 'TON' | 'CLP' | 'CHZ' | 'GNO' | 'DAI' | 'XDAI' required

The currency to compare with the fromCurrency, provide by its acronym. In other words, It's the quote of the pair, in a trade USDT/BRL, for example the quote would be BRL

fromSizenumber double required

The comparative value used to measure the target quoteCurrency. If this property is filled, the quoteCurrencySize must be set to zero, according with If you are selling or buying, more information above.

toSizenumber double required

The comparative value used to measure the target baseCurrency. If this property is filled, the baseCurrencySize must be set to zero, according with If you are selling or buying, more information above.

taxIdstring

Requestor's unique tax identification.

taxIdCountry'ALB' | 'AND' | 'ARE' | 'ARG' | 'ARM' | 'AUS' | 'AUT' | 'AZE' | 'BEL' | 'BGR' | 'BHR' | 'BIH' | 'BLR' | 'BOL' | 'BRA' | 'CAN' | 'CHE' | 'CHL' | 'CHN' | 'COL' | 'CRI' | 'CUB' | 'CYP' | 'CZE' | 'DEU' | 'DNK' | 'DOM' | 'ECU' | 'ESP' | 'EST' | 'FIN' | 'FLK' | 'FRA' | 'FRO' | 'GBR' | 'GEO' | 'GRC' | 'GTM' | 'GUF' | 'GUY' | 'HKG' | 'HRV' | 'HUN' | 'IDN' | 'IND' | 'IRL' | 'ISL' | 'ISR' | 'ITA' | 'JPN' | 'KAZ' | 'KOR' | 'LTU' | 'LUX' | 'LVA' | 'MCO' | 'MDA' | 'MEX' | 'MKD' | 'MLT' | 'MNE' | 'MUS' | 'MYS' | 'NGA' | 'NLD' | 'NOR' | 'NZL' | 'PAK' | 'PER' | 'PHL' | 'POL' | 'PRT' | 'PRY' | 'ROU' | 'RUS' | 'SLV' | 'SMR' | 'SRB' | 'SUR' | 'SVK' | 'SVN' | 'SWE' | 'THA' | 'TUR' | 'TWN' | 'UKR' | 'URY' | 'USA' | 'UZB' | 'VEN' | 'ZAF'

Requestor's country.

namestring

Description name for the target user in the operation

Response

200

quoteIdstring
priceinteger
sizeinteger
expireAtstring

Example response

{
  "quoteId": "977244212",
  "price": 300000,
  "size": 13,
  "expireAt": "2021-01-27T05:11:49Z"
}