Recycling
Recycling lets you break down crafted equipment to recover some of the original crafting materials. It’s useful for clearing unwanted gear or recovering resources. To recycle an item, your character must be on a map with a workshop of the matching skill. For more information about maps, see Maps and Movement.
Resources Returned
Section titled “Resources Returned”The materials you receive are chosen randomly from the item’s craft recipe. The number of resources returned depends on recipe complexity:
resources returned = floor((total items in recipe - 1) / 5) + 1With a minimum of 1 resource per recycled item.
Enhanced Recycling
Section titled “Enhanced Recycling”Set enhanced to true to recover 30% more resources, rounded to the nearest whole resource and capped at the total number of ingredients in the recipe.
Enhanced recycling costs gold based on the recycled item’s level:
gold cost = total ingredients in recipe x quantity recycled x gold per ingredient| Item level | Gold per ingredient |
|---|---|
| 1-20 | 5 |
| 21-30 | 10 |
| 31-40 | 15 |
| 41-45 | 20 |
| 46+ | 25 |
The response’s details.enhanced field confirms whether enhanced recycling was used, and details.gold contains the amount of gold spent.
Recycle Item
Section titled “Recycle Item”To recycle an item at the matching skill’s workshop, use this endpoint:
Endpoint: POST /my/{name}/action/recycling
curl --request POST \--url https://api.artifactsmmo.com/my/{name}/action/recycling \--header 'Accept: application/json' \--header 'Authorization: Bearer YOUR_TOKEN' \--header 'Content-Type: application/json' \--data '{"code": "iron_sword","quantity": 5,"enhanced": true}'const url = 'https://api.artifactsmmo.com/my/{name}/action/recycling';const options = {method: 'POST',headers: { 'Content-Type': 'application/json', Accept: 'application/json', Authorization: 'Bearer YOUR_TOKEN'},body: JSON.stringify({ code: "iron_sword", quantity: 5, enhanced: true })};
try {const response = await fetch(url, options);const data = await response.json();console.log(data);} catch (error) {console.error(error);}import requests
url = "https://api.artifactsmmo.com/my/{name}/action/recycling"headers = { "Accept": "application/json", "Content-Type": "application/json", "Authorization": "Bearer YOUR_TOKEN"}data = {"code": "iron_sword", "quantity": 5, "enhanced": True}
response = requests.post(url, json=data, headers=headers)print(response.json())| Field | Description |
|---|---|
code | The item code to recycle. |
quantity | Number of items to recycle (optional, default 1). |
enhanced | Whether to use enhanced recycling and spend gold for 30% more returned resources (optional, default false). |