Offers

Get a list of offers

Get list of offers

get

Get list of offers

Query parameters
chain_idstringOptional

Chain ID

token_addressstringOptional

Token address

token_idstringOptional

Token ID

owner_idstringOptional

Owner ID

statusstringOptional

Status of these offers

limitintegerOptional

Limit

pagestringOptional

Current page number

order_bystring · enumOptional

Property to sort by

Possible values:
directionstring · enumOptional

Direction to sort

Possible values:
Responses
200
OK
application/json
get
GET /v1/offers HTTP/1.1
Host: api.sandbox.horizonland.app
Accept: */*
{
  "cursor": "text",
  "remaining": 1,
  "result": [
    {
      "assets": {
        "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"
          }
        ]
      },
      "taker": "text",
      "price": 1,
      "start_time": "text",
      "end_time": "text"
    }
  ]
}

Get detail of a offer

Get detail of an offer

get

Get detail of an offer

Path parameters
idstringRequired

ID of offer

Responses
200
OK
application/json
get
GET /v1/offers/{id} HTTP/1.1
Host: api.sandbox.horizonland.app
Accept: */*
{
  "assets": {
    "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"
      }
    ]
  },
  "taker": "text",
  "price": 1,
  "start_time": "text",
  "end_time": "text"
}

Create an offer

Create an offer

post

Create an offer

Body
asset_idstringRequired

Asset ID of the asset to be offered

pricenumberRequired

Price of the asset

start_timestringRequired

Start time of this offer

end_timestringRequired

End time of this offer

Responses
200
OK
application/json
post
POST /v1/offers HTTP/1.1
Host: api.sandbox.horizonland.app
Content-Type: application/json
Accept: */*
Content-Length: 67

{
  "asset_id": "text",
  "price": 1,
  "start_time": "text",
  "end_time": "text"
}
{
  "assets": {
    "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"
      }
    ]
  },
  "taker": "text",
  "price": 1,
  "start_time": "text",
  "end_time": "text"
}

Accept an offer

Accept an offer

post

Accept an offer

Body
asset_idstringOptional

Offer ID of the offer to be accepted

Responses
200
OK
application/json
post
POST /v1/offers/accept HTTP/1.1
Host: api.sandbox.horizonland.app
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "asset_id": "text"
}
{
  "offer": {
    "assets": {
      "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"
        }
      ]
    },
    "taker": "text",
    "price": 1,
    "start_time": "text",
    "end_time": "text"
  },
  "status": "text",
  "created_at": "text",
  "updated_at": "text"
}

Last updated