Base Quote (USD/BRL)
Returns the Dolar vs Brazilian Real quote valid at the momment of the request.
URL
https://api.bembit.com/api/v1/quotation/book/{value}
Method
GET
Params
Important!
Params for this request must be passed through the URI when the request is made.
Params | Type | Default values | Description |
---|---|---|---|
amount | number | 0 | Desired value |
cURL
curl -X 'GET' \
'https://api.bembit.com/api/v1/quotation/book/{value}' \
-H 'accept: application/json'
Response Body
{
"amount": 1,
"buy": 5.071668,
"sell": 5.0706299999999995,
"currency": "BRL"
}
- amount: The amount to be quoted.
- buy: How many tokens will be bought.
- sell: How many tokens will be sold.
- currency: Currency being quoted.
See and test our API on Swagger.