Auctions
Responses
200
Successful response
application/json
500
Internal server error
application/json
get
/auctions/activeGET /api/v2/auctions/active HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"id": 1,
"creatorAddress": "text",
"nftContract": "text",
"nftTokenId": 1,
"tokenURI": "text",
"startPrice": 1,
"reservePrice": 1,
"duration": 1,
"paymentRecipient": "text",
"paymentToken": "text",
"startTime": "text",
"status": "DISABLED",
"buyerAddress": "text",
"pricePaid": 1,
"soldTime": "text",
"createdAt": "text",
"updatedAt": "text",
"prevId": 1,
"nextId": 1
}Path parameters
auctionIdintegerRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
/auctions/{auctionId}GET /api/v2/auctions/{auctionId} HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"id": 1,
"creatorAddress": "text",
"nftContract": "text",
"nftTokenId": 1,
"tokenURI": "text",
"startPrice": 1,
"reservePrice": 1,
"duration": 1,
"paymentRecipient": "text",
"paymentToken": "text",
"startTime": "text",
"status": "DISABLED",
"buyerAddress": "text",
"pricePaid": 1,
"soldTime": "text",
"createdAt": "text",
"updatedAt": "text",
"prevId": 1,
"nextId": 1
}Query parameters
limitinteger · max: 50OptionalDefault:
50offsetnumberOptionalDefault:
0statusstring · enumOptionalPossible values:
nftContractstringOptional
nftTokenIdintegerOptional
orderBystring · enumOptionalDefault:
idPossible values: orderDirectionstring · enumOptionalDefault:
descPossible values: Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
/auctionsGET /api/v2/auctions HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"values": [
{
"id": 1,
"creatorAddress": "text",
"nftContract": "text",
"nftTokenId": 1,
"tokenURI": "text",
"startPrice": 1,
"reservePrice": 1,
"duration": 1,
"paymentRecipient": "text",
"paymentToken": "text",
"startTime": "text",
"status": "DISABLED",
"buyerAddress": "text",
"pricePaid": 1,
"soldTime": "text",
"createdAt": "text",
"updatedAt": "text",
"prevId": 1,
"nextId": 1
}
],
"total": 1,
"limit": 1,
"offset": 1
}Last updated