Skip to main content

Admin Get OTC Offer By ID

Returns the same offer as Get OTC Deal Detail, keyed by the offer's own id instead of the (token, deal) pair.

Request

GET /v2/admin/otcs/{otc_id}

Parameters

NameTypeInDescription
otc_idstringpathRequired. The offer's own ID (24-character hex)

Headers

NameTypeDescription
AuthorizationRequired. Bearer token for authentication

Example

curl --location '\{\{baseUrl\}\}/v2/admin/otcs/6a8b5d02f9129816a6cc79f4' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'

Response

Identical in shape to Get OTC Deal Detail — the offer, the buyer who made it, and the latest transaction acting on it.

{
"id": "6a8b5d02f9129816a6cc79f4",
"token_id": "68ae06cfcccf4e8fc19362d1",
"node_id": "6810a8e5b45680e7d2f95bad",
"user_id": "680c02896d91ca0145cfeb81",
"deal_id": 2,
"price": {
"amount": 5,
"decimal": 6,
"symbol": "USDT",
"address": "0x78fccec69e21dc0b331b59f283d4d5b41ff36654"
},
"quantity": 1,
"status": 1,
"created_at": "2026-08-23T17:41:22.913Z",
"updated_at": "2026-08-23T17:44:01.220Z",
"user": {
"id": "680c02896d91ca0145cfeb81",
"name": "Ada",
"surname": "Yılmaz",
"email": "ada@example.com"
},
"transaction": {
"id": "6a8b5e13f9129816a6cc7a12",
"type": 1,
"status": 3,
"hash": "0x9f2c1b...",
"error": null,
"message": null,
"created_at": "2026-08-23T17:43:31.004Z",
"updated_at": "2026-08-23T17:44:01.220Z"
}
}

Response Fields

See Get OTC Deal Detail — the two endpoints answer the same object.

Status Codes

Status CodeDescription
200Success - offer retrieved
400Bad Request - the ID is not a 24-character hex string, or no such offer
401Unauthorized - invalid or missing authentication token
500Internal Server Error

Notes

  • The (token, deal) pair is what a token's listing hands out; this endpoint is for a caller holding the record itself — an offer id off a transaction, a report, or a user's own list.
  • Access is checked against the node of the offer's token either way: holding an id is not permission to read it.