Skip to main content
POST
/
marketplace
/
sell
Sell Agent Tokens
curl --request POST \
  --url https://api.vexara.io/v1/marketplace/sell \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agentId": "<string>",
  "amount": 123,
  "minPrice": 123
}'
{
  "transactionId": "<string>",
  "signature": "<string>",
  "amount": 123,
  "totalReceived": 123
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header

Body

application/json
agentId
string
required
amount
number
required
minPrice
number

Minimum price per token (slippage protection)

Response

200 - application/json

Sale successful

transactionId
string
signature
string
amount
number
totalReceived
number