Quickstart
Crafting

Unequip your weapon

The other item required for crafting is your current weapon, the Wooden Stick. You can now unequip it and use it for crafting.

To unequip, use this request POST.

cURL
curl --location -g --request POST 'https://api.artifactsmmo.com/my/{name}/action/unequip' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer INSERT_YOUR_TOKEN_HERE' \
--data-raw '{
  "slot": "weapon"
}' 
Javascript
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "Bearer INSERT_YOUR_TOKEN_HERE");
 
var raw = JSON.stringify({
   "slot": "weapon"
});
 
var requestOptions = {
   method: 'POST',
   headers: myHeaders,
   body: raw,
   redirect: 'follow'
};
 
fetch("https://api.artifactsmmo.com/my/{name}/action/unequip", requestOptions)
   .then(response => response.text())
   .then(result => console.log(result))
   .catch(error => console.log('error', error));

View API Reference (opens in a new tab)

We now have all the items in our inventory.

Crafting

To craft our staff, we're going to use the Weaponcrafting skill. This is the skill that will enable you to craft any type of weapon.

To do this, you'll need to go to a craft station. The nearest one is at (2,1)

Workshop

cURL
curl --location -g --request POST 'https://api.artifactsmmo.com/my/INSERT_CHARACTER_NAME/action/move' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer INSERT_TOKEN_HERE' \
--data-raw '{
  "x": 2,
  "y": 1
}'
Javascript
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "Bearer INSERT_TOKEN_HERE");
 
var raw = JSON.stringify({
   "x": 2,
   "y": 1
});
 
var requestOptions = {
   method: 'POST',
   headers: myHeaders,
   body: raw,
   redirect: 'follow'
};
 
fetch("https://api.artifactsmmo.com/my/INSERT_CHARACTER_NAME/action/move", requestOptions)
   .then(response => response.text())
   .then(result => console.log(result))
   .catch(error => console.log('error', error));

View the API Reference (opens in a new tab)

You can now craft the weapon using a new API request.

ℹ️

If you click on "Inspect", you'll be able to see the JSON version of the item. You can see all the information, including the item code needed in the api request.

Crafting

cURL
curl --location -g --request POST 'https://api.artifactsmmo.com/my/{name}/action/crafting' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer INSERT_YOUR_TOKEN_HERE' \
--data-raw '{
  "code": "wooden_staff"
}'
Javascript
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "Bearer INSERT_YOUR_TOKEN_HERE");
 
var raw = JSON.stringify({
   "code": "wooden_staff"
});
 
var requestOptions = {
   method: 'POST',
   headers: myHeaders,
   body: raw,
   redirect: 'follow'
};
 
fetch("https://api.artifactsmmo.com/my/{name}/action/crafting", requestOptions)
   .then(response => response.text())
   .then(result => console.log(result))
   .catch(error => console.log('error', error));

View the API Reference (opens in a new tab)

The response includes the cooldown and xp you gain. The weapon is now in your character's inventory.

Equip your new weapon

To equip your new weapon, use this request POST:

cURL
curl --location -g --request POST 'https://api.artifactsmmo.com/my/{name}/action/equip' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer INSERT_YOUR_TOKEN_HERE' \
--data-raw '{
  "code": "wooden_staff",
  "slot": "weapon"
}'
Javascript
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "Bearer INSERT_YOUR_TOKEN_HERE");
 
var raw = JSON.stringify({
   "code": "wooden_staff",
   "slot": "weapon"
});
 
var requestOptions = {
   method: 'POST',
   headers: myHeaders,
   body: raw,
   redirect: 'follow'
};
 
fetch("https://api.artifactsmmo.com/my/{name}/action/equip", requestOptions)
   .then(response => response.text())
   .then(result => console.log(result))
   .catch(error => console.log('error', error));

View API Reference (opens in a new tab)

Now you're ready to return to the fight to gain experience and drop resources to craft better equipment.