Skip to main content
GET
/
trades
/
pbc
/
sell
/
assets
/
market
/
converter
Converter
curl --request GET \
  --url https://api.breet.io/v1/trades/pbc/sell/assets/market/converter \
  --header 'X-Breet-Env: <api-key>' \
  --header 'x-app-id: <api-key>' \
  --header 'x-app-secret: <api-key>'
{
  "message": "data fetched",
  "success": true,
  "data": {
    "id": 52,
    "symbol": "XRP",
    "name": "XRP",
    "amount": 1,
    "quote": {
      "USD": {
        "price": 2.12949858,
        "last_updated": "2026-01-15T14:12:54.000Z"
      }
    },
    "last_updated": "2026-01-15T14:12:00.000Z"
  },
  "meta": {},
  "summary": {},
  "stats": {}
}

Authorizations

x-app-id
string
header
required

Your application ID from the Breet dashboard

x-app-secret
string
header
required

Your application secret from the Breet dashboard

X-Breet-Env
string
header
required

Environment selector: development or production

Query Parameters

to
string

Fiat currency to convert to. ['ngn', 'ghs', 'usd', 'cad', 'aud', 'gbp', 'eur']

from
string

asset symbol to convert from. Returned by the list sell assets endpoint.

Response

200 - application/json

Conversion result returned successfully