Skip to main content

List Token OTC Offers

Lists the OTC offers on one token, newest first. The token's node must be inside your API key's node subtree. Offers still waiting for their on-chain creation to confirm are left out.

The node is no longer part of the path (a token already names its node) and the call is a GET with the paging in the query string.

Required permission: otc:view

Request​

GET /v2/admin/otcs/tokens/{token_id}?page={page}&per_page={per_page}

Parameters​

NameTypeInDescription
token_idstringpathRequired. Token whose offers are listed (24-character hex)
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/admin/otcs/tokens/68ae06cfcccf4e8fc19362d1?page=1&per_page=10' \
--header 'Authorization: Bearer <access_token>'

Response​

{
"data": [
{
"id": "68bf5152932e6bcb90859816",
"token_id": "68ae06cfcccf4e8fc19362d1",
"node_id": "6810a8e5b45680e7d2f95bad",
"user_id": "680c02896d91ca0145cfeb81",
"deal_id": 2,
"price": {
"amount": "5",
"decimal": 6,
"symbol": "USDT",
"address": "0xdb2e8354c2a2a0f9c7c889ec27cdd424d49c8fd1"
},
"quantity": 1,
"status": 0,
"created_at": "2025-09-08T21:37:00Z",
"updated_at": "2025-09-08T21:37:00Z"
}
],
"total": 1,
"page": 1,
"per_page": 10
}

Response Fields​

FieldTypeDescription
dataarrayOffers on this page
data[].idstringThe offer's own ID. Use it with Get OTC Offer by ID and the transaction endpoints
data[].token_idstringToken ID
data[].node_idstringNode of the offer
data[].user_idstringUser who made the offer
data[].deal_idintegerOn-chain deal ID, unique within the token contract. Use it with accept, cancel and Get OTC Offer Detail
data[].priceobjectUnit price of the offer
data[].price.amountstringPrice of one token, decimal string
data[].price.decimalintegerDecimals of the currency
data[].price.symbolstringCurrency symbol
data[].price.addressstringCurrency contract address
data[].quantityintegerNumber of tokens offered
data[].statusinteger0 open, 1 accepted, 2 cancelled, 3 rejected
data[].created_atstringWhen the offer was created
data[].updated_atstringWhen the offer last changed
totalintegerNumber of offers on the token
pageintegerCurrent page
per_pageintegerItems per page

Errors​

StatusCodeDescription
40010015Validation failed — see details
40010016token_id is not a 24-character hex ID
40010001 (domain 5)Token not found
40010001 (domain 2)The token's node was not found
40310005 (domain 2)The token's node is outside your API key's node subtree
50010000Unexpected server error

See Errors for the error format and common codes.