Orderbook API
Create a fixed priced listing on a supported orderbook (OpenSea, Doma).
Orderbook identifier.
OPENSEA or DOMAChain ID in CAIP-2 format.
eip155:1Pattern: ^[a-z0-9]+:[a-zA-Z0-9]+$Order parameters.
Order signature.
0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890Cancel existing order if it exists.
trueBad Request. Invalid query parameters.
Unauthorized. API Key is missing or invalid.
Forbidden. API Key is missing 'ORDERBOOK' permission.
POST /v1/orderbook/list HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 727
{
"orderbook": "OPENSEA or DOMA",
"chainId": "eip155:1",
"parameters": {
"offerer": "0x1234567890123456789012345678901234567890",
"zone": "0x1234567890123456789012345678901234567890",
"orderType": 0,
"startTime": "1714931840",
"endTime": "1717523840",
"zoneHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"salt": "0x00000000000000000000000000000000000000000000000012aca0ba7ced6d0b",
"offer": [
[]
],
"consideration": [
[]
],
"totalOriginalConsiderationItems": 2,
"conduitKey": "0x0000000000000000000000000000000000000000000000000000000000000000",
"counter": "0"
},
"signature": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890",
"cancelExisting": true
}{
"orderId": "3434-3675-5844-7264",
"orderData": {
"offerer": "0x1234567890123456789012345678901234567890",
"zone": "0x1234567890123456789012345678901234567890",
"orderType": 0,
"startTime": "1714931840",
"endTime": "1717523840",
"zoneHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"salt": "0x00000000000000000000000000000000000000000000000012aca0ba7ced6d0b",
"offer": [
[]
],
"consideration": [
[]
],
"totalOriginalConsiderationItems": 2,
"conduitKey": "0x0000000000000000000000000000000000000000000000000000000000000000",
"counter": "0"
},
"signature": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
}Create an offer on a supported orderbook (OpenSea, Doma).
Orderbook identifier.
OPENSEA or DOMAChain ID in CAIP-2 format.
eip155:1Pattern: ^[a-z0-9]+:[a-zA-Z0-9]+$Order parameters.
Order signature.
0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890Cancel existing order if it exists.
trueBad Request. Invalid query parameters.
Unauthorized. API Key is missing or invalid.
Forbidden. API Key is missing 'ORDERBOOK' permission.
POST /v1/orderbook/offer HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 727
{
"orderbook": "OPENSEA or DOMA",
"chainId": "eip155:1",
"parameters": {
"offerer": "0x1234567890123456789012345678901234567890",
"zone": "0x1234567890123456789012345678901234567890",
"orderType": 0,
"startTime": "1714931840",
"endTime": "1717523840",
"zoneHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"salt": "0x00000000000000000000000000000000000000000000000012aca0ba7ced6d0b",
"offer": [
[]
],
"consideration": [
[]
],
"totalOriginalConsiderationItems": 2,
"conduitKey": "0x0000000000000000000000000000000000000000000000000000000000000000",
"counter": "0"
},
"signature": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890",
"cancelExisting": true
}{
"orderId": "3434-3675-5844-7264",
"orderData": {
"offerer": "0x1234567890123456789012345678901234567890",
"zone": "0x1234567890123456789012345678901234567890",
"orderType": 0,
"startTime": "1714931840",
"endTime": "1717523840",
"zoneHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"salt": "0x00000000000000000000000000000000000000000000000012aca0ba7ced6d0b",
"offer": [
[]
],
"consideration": [
[]
],
"totalOriginalConsiderationItems": 2,
"conduitKey": "0x0000000000000000000000000000000000000000000000000000000000000000",
"counter": "0"
},
"signature": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
}Get marketplace fees for a specific orderbook and chain.
The orderbook type
The chain ID in CAIP-2 format
The contract address of the token being listed or offered.
Bad Request. Invalid path parameters.
Unauthorized. API Key is missing or invalid.
Forbidden. API Key is missing 'ORDERBOOK' permission.
GET /v1/orderbook/fee/{orderbook}/{chainId}/{contractAddress} HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Accept: */*
{
"marketplaceFees": [
[]
]
}Get listing fulfillment data by order id and buyer address.
The Order ID of the listing.
Buyer address, in native chain format.
0x1234567890123456789012345678901234567890Bad Request. Invalid query parameters.
Unauthorized. API Key is missing or invalid.
Forbidden. API Key is missing 'ORDERBOOK' permission.
GET /v1/orderbook/listing/{orderId}/{buyer} HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Accept: */*
{
"order": {
"parameters": {
"offerer": "0x1234567890123456789012345678901234567890",
"zone": "0x1234567890123456789012345678901234567890",
"orderType": 0,
"startTime": "1714931840",
"endTime": "1717523840",
"zoneHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"salt": "0x00000000000000000000000000000000000000000000000012aca0ba7ced6d0b",
"offer": [
[]
],
"consideration": [
[]
],
"totalOriginalConsiderationItems": 2,
"conduitKey": "0x0000000000000000000000000000000000000000000000000000000000000000",
"counter": "0"
},
"signature": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
},
"extraData": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
}Get offer fulfillment data by order id and fulfiller (token owner) address.
The Order ID of the offer.
Fulfiller address, in native chain format. This is the address that owns the name token.
0x1234567890123456789012345678901234567890Bad Request. Invalid query parameters.
Unauthorized. API Key is missing or invalid.
Forbidden. API Key is missing 'ORDERBOOK' permission.
GET /v1/orderbook/offer/{orderId}/{fulfiller} HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Accept: */*
{
"order": {
"parameters": {
"offerer": "0x1234567890123456789012345678901234567890",
"zone": "0x1234567890123456789012345678901234567890",
"orderType": 0,
"startTime": "1714931840",
"endTime": "1717523840",
"zoneHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"salt": "0x00000000000000000000000000000000000000000000000012aca0ba7ced6d0b",
"offer": [
[]
],
"consideration": [
[]
],
"totalOriginalConsiderationItems": 2,
"conduitKey": "0x0000000000000000000000000000000000000000000000000000000000000000",
"counter": "0"
},
"signature": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
},
"extraData": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
}Cancel a listing on a supported orderbook (OpenSea, Doma).
The Order ID to cancel.
3434-3675-5844-7264EIP-712 signature for cancel authorization.
0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890Bad Request. Invalid signature or order not found.
Unauthorized. API Key is missing or invalid.
Forbidden. API Key is missing 'ORDERBOOK' permission.
POST /v1/orderbook/listing/cancel HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 180
{
"orderId": "3434-3675-5844-7264",
"signature": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
}{
"orderId": "3434-3675-5844-7264"
}Cancel an offer on a supported orderbook (OpenSea, Doma).
The Order ID to cancel.
3434-3675-5844-7264EIP-712 signature for cancel authorization.
0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890Bad Request. Invalid signature or order not found.
Unauthorized. API Key is missing or invalid.
Forbidden. API Key is missing 'ORDERBOOK' permission.
POST /v1/orderbook/offer/cancel HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 180
{
"orderId": "3434-3675-5844-7264",
"signature": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
}{
"orderId": "3434-3675-5844-7264"
}Get all supported currency tokens for orderbook operations on a specific chain.
The chain ID in CAIP-2 format
eip155:1The contract address of the token.
0x1234567890123456789012345678901234567890The name of the orderbook.
OpenSeaBad Request. Invalid chain ID format.
Unauthorized. API Key is missing or invalid.
Forbidden. API Key is missing 'ORDERBOOK' permission.
GET /v1/orderbook/currencies/{chainId}/{contractAddress}/{orderbook} HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Accept: */*
{
"currencies": [
[]
]
}Create multiple fixed priced listings on a supported orderbook (Doma and OpenSea).
Orderbook identifier. Only DOMA is supported.
DOMAPossible values: Chain ID in CAIP-2 format.
eip155:1Pattern: ^[a-z0-9]+:[a-zA-Z0-9]+$Cancel existing orders if they exist.
trueBad Request. Invalid query parameters.
Unauthorized. API Key is missing or invalid.
Forbidden. API Key is missing 'ORDERBOOK' permission.
POST /v1/orderbook/list/bulk HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"orderbook": "DOMA",
"chainId": "eip155:1",
"orders": [
[]
],
"cancelExisting": true
}{
"orders": [
{
"orderId": "3434-3675-5844-7264",
"orderData": {
"offerer": "0x1234567890123456789012345678901234567890",
"zone": "0x1234567890123456789012345678901234567890",
"orderType": 0,
"startTime": "1714931840",
"endTime": "1717523840",
"zoneHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"salt": "0x00000000000000000000000000000000000000000000000012aca0ba7ced6d0b",
"offer": [
[]
],
"consideration": [
[]
],
"totalOriginalConsiderationItems": 2,
"conduitKey": "0x0000000000000000000000000000000000000000000000000000000000000000",
"counter": "0"
},
"signature": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
}
],
"errors": [
{
"tokenId": "text",
"contract": "text",
"error": "text"
}
]
}Create multiple fixed priced offers on a supported orderbook (Doma and OpenSea).
Orderbook identifier. Only DOMA is supported.
DOMAPossible values: Chain ID in CAIP-2 format.
eip155:1Pattern: ^[a-z0-9]+:[a-zA-Z0-9]+$Cancel existing orders if they exist.
trueBad Request. Invalid query parameters.
Unauthorized. API Key is missing or invalid.
Forbidden. API Key is missing 'ORDERBOOK' permission.
POST /v1/orderbook/offer/bulk HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"orderbook": "DOMA",
"chainId": "eip155:1",
"orders": [
[]
],
"cancelExisting": true
}{
"orders": [
{
"orderId": "3434-3675-5844-7264",
"orderData": {
"offerer": "0x1234567890123456789012345678901234567890",
"zone": "0x1234567890123456789012345678901234567890",
"orderType": 0,
"startTime": "1714931840",
"endTime": "1717523840",
"zoneHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"salt": "0x00000000000000000000000000000000000000000000000012aca0ba7ced6d0b",
"offer": [
[]
],
"consideration": [
[]
],
"totalOriginalConsiderationItems": 2,
"conduitKey": "0x0000000000000000000000000000000000000000000000000000000000000000",
"counter": "0"
},
"signature": "0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
}
],
"errors": [
{
"tokenId": "text",
"contract": "text",
"error": "text"
}
]
}Get paginated items for a bulk listing by bulk listing ID.
Bulk listing ID
123e4567-e89b-12d3-a456-426614174000Bulk listing items retrieved successfully
Bad Request. Bulk listing not found or invalid parameters.
Forbidden. API Key is missing 'ORDERBOOK' permission.
GET /v1/orderbook/list/bulk/{id}/items HTTP/1.1
Host: api-testnet.doma.xyz
Api-Key: YOUR_API_KEY
Accept: */*
{
"items": [
"text"
],
"totalCount": 100,
"pageSize": 20,
"currentPage": 10,
"totalPages": 100,
"hasPreviousPage": true,
"hasNextPage": true
}Last updated