Orderbook API
Create a fixed priced listing on a supported orderbook (OpenSea, Doma).
Orderbook identifier.
OPENSEA or DOMA
Chain ID in CAIP-2 format.
eip155:1
Pattern: ^[a-z0-9]+:[a-zA-Z0-9]+$
Order parameters.
Order signature.
0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
Bad 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: 705
{
"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"
}
{
"orderId": "3434-3675-5844-7264"
}
Create an offer on a supported orderbook (OpenSea, Doma).
Orderbook identifier.
OPENSEA or DOMA
Chain ID in CAIP-2 format.
eip155:1
Pattern: ^[a-z0-9]+:[a-zA-Z0-9]+$
Order parameters.
Order signature.
0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
Bad 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: 705
{
"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"
}
{
"orderId": "3434-3675-5844-7264"
}
Get listing fulfillment data by order id and buyer address.
The Order ID of the listing.
Buyer address, in native chain format.
0x1234567890123456789012345678901234567890
Bad 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: */*
{
"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"
}
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.
0x1234567890123456789012345678901234567890
Bad 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: */*
{
"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"
}
Cancel a listing on a supported orderbook (OpenSea, Doma).
The Order ID to cancel.
3434-3675-5844-7264
EIP-712 signature for cancel authorization.
0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
Bad 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-7264
EIP-712 signature for cancel authorization.
0x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
Bad 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 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 all supported currency tokens for orderbook operations on a specific chain.
The chain ID in CAIP-2 format
eip155:1
The contract address of the token.
0x1234567890123456789012345678901234567890
The name of the orderbook.
OpenSea
Bad 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": [
[]
]
}
Last updated