Skip to content

Grand Exchange

The Grand Exchange lets you buy and sell items with other players through sell orders and buy orders. To interact with the Grand Exchange, your character must be on a map containing a Grand Exchange. For more information about maps, see Maps and Movement.

You can browse all active orders (sell and buy) using the following request. Use the type parameter to filter by order type, and code to filter by item.

Endpoint: GET /grandexchange/orders

curl --request GET \
--url 'https://api.artifactsmmo.com/grandexchange/orders?code={ITEM_CODE}&type=sell' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
ParameterDescription
codeFilter by item code.
typeFilter by order type: sell or buy.
accountFilter by account (requires type to be specified).

To consult an item’s sales history over the last 7 days, use the following request:

Endpoint: GET /grandexchange/history/{code}

curl --request GET \
--url 'https://api.artifactsmmo.com/grandexchange/history/{ITEM_CODE}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'

To put items up for sale, use the following request. The items are removed from your inventory when the order is created.

Endpoint: POST /my/{name}/action/grandexchange/sell

curl --request POST \
--url https://api.artifactsmmo.com/my/{name}/action/grandexchange/create-sell-order \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"code": "iron_sword",
"quantity": 5,
"price": 100
}'
FieldDescription
codeThe item code to sell.
quantityNumber of items to sell (1–100).
pricePrice per unit.

To buy items from an existing sell order, first browse the sell orders to find the order ID, then use the following request:

Endpoint: POST /my/{name}/action/grandexchange/buy

curl --request POST \
--url https://api.artifactsmmo.com/my/{name}/action/grandexchange/buy \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"id": "ORDER_ID",
"quantity": 1
}'
FieldDescription
idThe sell order ID.
quantityNumber of items to buy (1–100).

The gold is deducted from your character and the items are added to your inventory immediately.


Buy orders let you place a standing offer to purchase items at a specific price. Other players can then fill your order by selling their items to it.

Endpoint: POST /my/{name}/action/grandexchange/create-buy-order

curl --request POST \
--url https://api.artifactsmmo.com/my/{name}/action/grandexchange/create-buy-order \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"code": "iron_ore",
"quantity": 50,
"price": 20
}'
FieldDescription
codeThe item code you want to buy.
quantityNumber of items you want to buy (1–100).
priceThe price per unit you are willing to pay.

To sell your items to an existing buy order, use the following request. The items are removed from your inventory and you receive the gold immediately.

Endpoint: POST /my/{name}/action/grandexchange/fill

curl --request POST \
--url https://api.artifactsmmo.com/my/{name}/action/grandexchange/fill \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"id": "BUY_ORDER_ID",
"quantity": 10
}'
FieldDescription
idThe buy order ID.
quantityNumber of items to sell to the order (1–100).

You can cancel any of your active orders (sell or buy). To find an order to cancel, first check your orders list.

Endpoint: POST /my/{name}/action/grandexchange/cancel

curl --request POST \
--url https://api.artifactsmmo.com/my/{name}/action/grandexchange/cancel \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"id": "ORDER_ID"
}'
  • Cancelling a sell order: the items are returned to your character’s inventory (requires space).
  • Cancelling a buy order: the gold is refunded to your character.