Trades

Manage and view trading activity

List marketplace trades

get
/v1/trades

Retrieves a list of trades in the marketplace. Trades represent peer-to-peer exchanges between users, including offers and accepted deals.

Results are ordered by creation date (most recent first).

Note: This endpoint currently returns all trades without pagination support.

Responses
chevron-right
200

List of trades

application/json
get
/v1/trades
200

List of trades

Create a new trade

post
/v1/trades

Creates a new trade offer in the marketplace.

Authentication Required: This endpoint requires Decentraland authentication with signed metadata. The authentication validates:

  • User identity via signed message (ADR-44l)

  • Authorized origins (dcl:marketplace or dcl:builder)

  • Metadata intent (dcl:create-trade)

The trade will be validated against blockchain data and marketplace rules before creation.

Authorizations
AuthorizationstringRequired

Signed fetch authentication using decentraland-crypto-middleware with metadata validation (ADR-44l). Requires auth chain headers (x-identity, x-signature, x-timestamp) for signature validation. See http://adr.decentraland.org/adr/ADR-44l for details.

Body
itemIdstringRequired

Item ID

pricenumberRequired

Trade price

sellerstringRequired

Seller address

Responses
post
/v1/trades

Get trade by ID

get
/v1/trades/{id}

Retrieves detailed information about a specific trade including:

  • Trade participants (buyer and seller)

  • Item details and metadata

  • Trade price and currency

  • Current status (pending, completed, or cancelled)

  • Timestamps (creation, updates, completion)

Path parameters
idstringRequired

Unique trade identifier

Responses
chevron-right
200

Trade details

application/json
get
/v1/trades/{id}

Get trade acceptance event

get
/v1/trades/{hashedSignature}/accept

Retrieves information about a trade acceptance event using the hashed signature. This endpoint is used to verify and track when a trade offer was accepted on-chain.

The hashed signature serves as a unique identifier linking the off-chain trade to its blockchain transaction acceptance event.

Path parameters
hashedSignaturestringRequired

Keccak-256 hashed signature of the trade acceptance transaction

Responses
chevron-right
200

Trade accepted event

application/json
get
/v1/trades/{hashedSignature}/accept

Last updated