Game concepts
Recycling

Recycling

Recycling allows you to recycle your weapons and equipment at weaponcrafting, gearcrafting and jewelrycrafting workshops.

⚠️

Only items that have a craft recipe can be recycled. The workshop must match the item's craft skill (e.g. a weapon must be recycled at a weaponcrafting workshop). Only weaponcrafting, gearcrafting and jewelrycrafting items are eligible.

This lets you get back some of the item's crafting resources. The items returned are chosen at random from the craft recipe. The number of items you get back depends on the complexity of the craft recipe — specifically, (total_items_in_recipe - 1) / 5 + 1 (rounded down), with a minimum of 1 resource per recycled item.

  • No skill level is required to recycle — you can recycle any item regardless of your crafting level.
  • You can recycle multiple items at once by specifying the quantity field.
  • The cooldown is 3 seconds per item recycled.

You can recycle an item using this POST request.

cURL
curl --request POST \
  --url https://api.artifactsmmo.com/my/{name}/action/recycling \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer INSERT_YOUR_TOKEN_HERE' \
  --header 'Content-Type: application/json' \
  --data '{
  "code": "iron_sword",
  "quantity": 5
}'
Javascript
const url = 'https://api.artifactsmmo.com/my/{name}/action/recycling';
const options = {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Accept: 'application/json',
    Authorization: 'Bearer INSERT_YOUR_TOKEN_HERE'
  },
  body: JSON.stringify({ code: "iron_sword", quantity: 5 })
};
  
try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
FieldDescription
codeThe item code to recycle.
quantityNumber of items to recycle (optional, default 1).

View the API Reference (opens in a new tab)