Skip to main content

List User OTC Offers

Returns the user's own OTC offers on one token, newest first, one row per offer. Offers still awaiting chain confirmation are not listed; open, accepted, canceled and rejected ones are. Take the deal_id of an open offer (status = 0) to cancel it.

Required permission: otc:view

Request​

GET /v2/users/{user_id}/otcs/tokens/{token_id}

Parameters​

NameTypeInDescription
user_idstringpathRequired. User ID
token_idstringpathRequired. Token ID
pageintegerqueryRequired. Page number, starting at 1
per_pageintegerqueryRequired. Items per page, 1–100

Headers​

NameDescription
AuthorizationRequired. Bearer <access_token>

Example​

curl --request GET \
--url '{{baseUrl}}/v2/users/680c02896d91ca0145cfeb81/otcs/tokens/68ae06cfcccf4e8fc19362d1?page=1&per_page=10' \
--header 'Authorization: Bearer <access_token>'

Response​

{
"data": [
{
"id": "6913a1c455654191dede37f1",
"deal_id": 12,
"token_id": "68ae06cfcccf4e8fc19362d1",
"user_id": "680c02896d91ca0145cfeb81",
"node_id": "665ae536a6392b75cfd40352",
"quantity": 3,
"price": {
"id": "6913307ec95e268b239b2d8b",
"amount": "1.1",
"decimal": 6,
"symbol": "VUSD",
"address": "0xf2d90affe805280c004d0135343f2cbd7c96ce98"
},
"status": 0,
"created_at": "2026-11-09T09:40:03Z",
"updated_at": "2026-11-09T09:41:10Z"
}
],
"total": 1,
"page": 1,
"per_page": 10
}

Response Fields​

FieldTypeDescription
data[].idstringOffer ID
data[].deal_idintegerOn-chain deal ID of the offer
data[].token_idstringToken offered
data[].user_idstringSeller (this user)
data[].node_idstringNode that issued the token
data[].quantityintegerWhole tokens offered
data[].priceobjectUnit price: id (currency token ID), amount (decimal string), decimal, symbol, address
data[].statusinteger0 open, 1 accepted, 2 canceled, 3 rejected
data[].created_atstringWhen the offer was recorded (RFC 3339)
data[].updated_atstringLast change (RFC 3339)
totalintegerNumber of offers listed
pageintegerRequested page
per_pageintegerRequested page size

Errors​

StatusCodeDescription
40010015Validation failed (page, per_page) — see details
50010000Unexpected server-side failure

See Errors for the error format and common codes.