# 获取汇率 (/zh/docs/cartao/endpoints/currencies/get_currency_rate)

## GET /currencies/{code}/rate

`GET https://api.payzu.io/v1/currencies/{code}/rate`

Returns the current bid/ask rate for a currency, in BRL per foreign unit.

### Path params

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `code` | string | yes | ISO 4217 currency code. BRL is not accepted. |

### Responses

**200** Current rate.

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `code` | string | yes |  |
| `rate` | object | yes |  |
| `rate.bid` | number | yes | Buy rate (BRL per foreign unit). |
| `rate.ask` | number | yes | Sell rate (BRL per foreign unit). |