List Conversions
GET/v2/otc/conversions
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Retrieve a list of currency conversions associated with the specified user. Optional filter parameters can be used to refine your search.
Request
Query Parameters
Default value: 1
Page number.
Possible values: <= 100
Default value: 20
Page size. Max size is 100.
Possible values: [created_at
]
Page sort attribute.
Possible values: [asc
, desc
]
Default value: asc
Page order.
Operation ID for conversion.
Currency Symbol for conversion.
Quotation ID for conversion.
Possible values: [buy
, sell
]
Conversion type.
Conversion client name.
Conversion client document.
Created at start for any conversion.
Created at end for any conversion.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR
, en-US
]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
Responses
- 200
- 400
- 401
- 422
The conversions returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
Page number.
Page size.
Page total.
Total of elements.
data object[]required
{
"page": 1,
"page_size": 20,
"page_total": 20,
"total": 100,
"data": [
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"operation_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"quotation_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"price": 0,
"side": "buy",
"quote_amount": 0,
"quote_currency_symbol": "BRL",
"quote_currency_decimal": "2",
"quote_currency_title": "Real",
"base_amount": 0,
"base_currency_symbol": "BTC",
"base_currency_decimal": "8",
"base_currency_title": "Real",
"created_at": "2025-04-30T01:29:53.496Z"
}
]
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.
Authorization: http
name: bearertype: httpscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://docs.zrobank.io/v2/otc/conversions' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'