Broker

List broker posts with filtering and pagination

get

Retrieve a paginated list of broker posts. Supports filtering by type (SELL, BUY, HIRE, FOR_HIRE), status, tags, author minimum score, and search functionality for title/description. Results can be sorted by newest, score, top (most votes), or expiresAt (expiring soon). When level is not specified (ALL), minScore acts as "author score >= minScore OR premium level". For BASIC or PREMIUM level, minScore applies normally.

Query parameters
typestring · enumOptionalPossible values:
levelstring · enumOptionalPossible values:
tagsany ofOptional
stringOptional
or
string[]Optional
searchstringOptional
sortBystring · enumOptionalDefault: topPossible values:
recentlyCompletedDaysinteger · min: 1 · max: 30Optional
minScoreintegerOptional
limitinteger · max: 100OptionalDefault: 50
offsetnumberOptionalDefault: 0
Responses
chevron-right
200

Successful response

application/json
get
/broker/posts

Get current user's broker posts

get

Retrieve a paginated list of broker posts created by the current authenticated user. Supports filtering by type and status.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
typestring · enumOptionalPossible values:
includeArchivedbooleanOptionalDefault: false
sortBystring · enumOptionalDefault: topPossible values:
limitinteger · max: 100OptionalDefault: 50
offsetnumberOptionalDefault: 0
Responses
chevron-right
200

Successful response

application/json
get
/broker/me/posts

Get a specific broker post by ID

get

Retrieve detailed information about a specific broker post including author information.

Path parameters
idinteger · max: 2147483647Required
Responses
chevron-right
200

Successful response

application/json
get
/broker/posts/{id}

Get broker post by transaction hash

get

Retrieve a broker post by the transaction hash that created or updated it. This endpoint will spot-process the transaction if needed to ensure the latest data is available.

Path parameters
txHashstringRequired
Responses
chevron-right
200

Successful response

application/json
get
/broker/posts/tx/{txHash}

Update broker post status/archive fields (author only)

put

Update off-chain fields like status, archived, and image URL that are not stored on blockchain. When changing status from EXPIRED to OPEN for BASIC posts, automatically resets expiration date to 30 days from now.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idinteger · max: 2147483647Required
Body
statusstring · enumOptionalPossible values:
isArchivedbooleanOptional
imageUrlstring · uri | nullableOptional
transactedWithUserIdintegerOptional
Responses
chevron-right
200

Successful response

application/json
put
/broker/posts/{id}/status

Archive a broker post (author only)

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idinteger · max: 2147483647Required
Responses
chevron-right
200

Successful response

application/json
put
/broker/posts/{id}/archive

Get posts by specific author

get

Retrieve a paginated list of broker posts created by a specific author. Supports filtering by type and status. Only shows non-archived posts.

Path parameters
profileIdinteger · max: 2147483647Required
Query parameters
typestring · enumOptionalPossible values:
includeArchivedbooleanOptionalDefault: false
sortBystring · enumOptionalDefault: topPossible values:
limitinteger · max: 100OptionalDefault: 50
offsetnumberOptionalDefault: 0
recentlyCompletedDaysinteger · min: 1 · max: 30Optional
Responses
chevron-right
200

Successful response

application/json
get
/broker/author/{profileId}/posts

Report a broker post for inappropriate content

post

Report a broker post for spam, inappropriate content, fraud, harassment, or other issues. Requires authentication.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idinteger · max: 2147483647Required
Body
reasonstring · enumRequiredPossible values:
descriptionstring · min: 1 · max: 2000Optional
Responses
chevron-right
200

Successful response

application/json
post
/broker/posts/{id}/report

Preview AI image for broker post

post

Generates a preview image for a broker post using the provided content and author profile. Returns the image directly without creating a job.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
titlestring · min: 1Required
descriptionstring · min: 1Required
typestring · enumRequiredPossible values:
positionstringOptional
Responses
chevron-right
200

Successful response

application/json
post
/broker/preview-premium-image

Last updated