Assets
Get a list of assets
Get list of assets
Asset Contract
Collection ID
Owner ID
Status of these asset
Limit
Current page number
Property to sort by
Direction to sort
GET /v1/assets HTTP/1.1
Host: api.sandbox.horizonland.app
Accept: */*
{
"cursor": "text",
"remaining": 1,
"result": [
{
"collection": {
"image_url": "text",
"name": "text",
"contract_address": "text"
},
"created_at": "text",
"description": "text",
"fees": [
{
"address": "text",
"basis_points": 1,
"type": "text"
}
],
"id": "text",
"image_url": "text",
"animation_url": "text",
"external_link": "text",
"metadata": {},
"name": "text",
"listing": {
"closing_date": "text",
"fees": [
{
"address": "text",
"basis_points": 1,
"type": "text"
}
],
"accept_price": 1,
"start_price": 1,
"current_price": 1,
"name": "text",
"token_address": "text",
"token_id": "text",
"chain": {
"id": "text",
"name": "text",
"symbol": "text"
}
},
"status": "text",
"token_address": "text",
"token_id": "text",
"chain": {
"id": "text",
"name": "text",
"symbol": "text"
},
"updated_at": "text",
"owner": "text"
}
]
}
Get details of an asset
Get details of an asset
Address of the ERC721 contract
Either ERC721 token ID
GET /v1/assets/{token_address}/{token_id} HTTP/1.1
Host: api.sandbox.horizonland.app
Accept: */*
{
"collection": {
"image_url": "text",
"name": "text",
"contract_address": "text"
},
"created_at": "text",
"description": "text",
"fees": [
{
"address": "text",
"basis_points": 1,
"type": "text"
}
],
"id": "text",
"image_url": "text",
"animation_url": "text",
"external_link": "text",
"metadata": {},
"name": "text",
"listing": {
"closing_date": "text",
"fees": [
{
"address": "text",
"basis_points": 1,
"type": "text"
}
],
"accept_price": 1,
"start_price": 1,
"current_price": 1,
"name": "text",
"token_address": "text",
"token_id": "text",
"chain": {
"id": "text",
"name": "text",
"symbol": "text"
}
},
"status": "text",
"token_address": "text",
"token_id": "text",
"chain": {
"id": "text",
"name": "text",
"symbol": "text"
},
"updated_at": "text",
"owner": "text"
}
Create an asset
Create an asset
Collection ID
Description of this asset
URL of the image which should be used for this asset
URL of the animation which should be used for this asset
URL of the external link which should be used for this asset
Metadata of this asset
Name of this asset
Address of the ERC721 contract
Chain ID of the asset
Address of the user who owns this asset
POST /v1/assets HTTP/1.1
Host: api.sandbox.horizonland.app
Content-Type: application/json
Accept: */*
Content-Length: 194
{
"collection_id": "text",
"description": "text",
"image_url": "text",
"animation_url": "text",
"external_link": "text",
"metadata": {},
"name": "text",
"token_address": "text",
"chain_id": "text",
"owner": "text"
}
{
"collection": {
"image_url": "text",
"name": "text",
"contract_address": "text"
},
"created_at": "text",
"description": "text",
"fees": [
{
"address": "text",
"basis_points": 1,
"type": "text"
}
],
"id": "text",
"image_url": "text",
"animation_url": "text",
"external_link": "text",
"metadata": {},
"name": "text",
"listing": {
"closing_date": "text",
"fees": [
{
"address": "text",
"basis_points": 1,
"type": "text"
}
],
"accept_price": 1,
"start_price": 1,
"current_price": 1,
"name": "text",
"token_address": "text",
"token_id": "text",
"chain": {
"id": "text",
"name": "text",
"symbol": "text"
}
},
"status": "text",
"token_address": "text",
"token_id": "text",
"chain": {
"id": "text",
"name": "text",
"symbol": "text"
},
"updated_at": "text",
"owner": "text"
}
Import CSV to create asset
Create an asset
POST /v1/assets/import HTTP/1.1
Host: api.sandbox.horizonland.app
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 38
"file='text'&collection_id='text'"
{
"data": {},
"message": "text"
}
Asset listing
Add an asset to the marketplace
Time of asset be listed
Expiration of asset be listed
Maker fees
Order type
Accept price
Start price
Current price
Maker signature
POST /v1/assets/listing HTTP/1.1
Host: api.sandbox.horizonland.app
Content-Type: application/json
Accept: */*
Content-Length: 150
{
"listing_time": "text",
"expiration_time": {},
"maker_fees": {},
"order_type": "text",
"accept_price": 1,
"start_price": 1,
"current_price": 1,
"signature": "text"
}
{
"closing_date": "text",
"fees": [
{
"address": "text",
"basis_points": 1,
"type": "text"
}
],
"accept_price": 1,
"start_price": 1,
"current_price": 1,
"name": "text",
"token_address": "text",
"token_id": "text",
"chain": {
"id": "text",
"name": "text",
"symbol": "text"
}
}
Update an asset listing
Update an asset listing
Address of the ERC721 contract
Either ERC721 token ID
Time of asset be listed
Expiration of asset be listed
Accept price
Start price
PUT /v1/assets/listing/{token_address}/{token_id} HTTP/1.1
Host: api.sandbox.horizonland.app
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"listing_time": "text",
"expiration_time": {},
"accept_price": 1,
"start_price": 1
}
{
"closing_date": "text",
"fees": [
{
"address": "text",
"basis_points": 1,
"type": "text"
}
],
"accept_price": 1,
"start_price": 1,
"current_price": 1,
"name": "text",
"token_address": "text",
"token_id": "text",
"chain": {
"id": "text",
"name": "text",
"symbol": "text"
}
}
Last updated