Gathering
Gathering skills allow you to gather resources on the map. Currently, 4 gathering skills are available: Woodcutting, Mining, Fishing and Alchemy.
You can see all the resources that can be gathered with this API request.
curl --location --request GET 'https://api.artifactsmmo.com/resources/?page=1&size=50' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.artifactsmmo.com/resources/?page=1&size=50", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
View API Reference (opens in a new tab)
You then need to find a map that contains this resource. To learn more about the map, click here.
When you're on a map containing a resource, if you have the necessary skill level, you can harvest it with this API request.
curl --location --request POST 'https://api.artifactsmmo.com/my/INSERT_CHARACTER_NAME/action/gathering' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer INSERT_TOKEN_HERE'
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "Bearer INSERT_TOKEN_HERE");
var requestOptions = {
method: 'POST',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.artifactsmmo.com/my/INSERT_CHARACTER_NAME/action/gathering", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
View API Reference (opens in a new tab)
Crafting
Crafting skills let you make all kinds of items. You can craft with 7 skills: Weaponcrafting, Gearcrafting, Jewelrycrafting, Cooking, Mining, Woodcutting and Alchemy.
If you want to see all the crafts of a skill, you can use the Get Item request with the craft_skill parameter. Here's an example request:
curl --location --request GET 'https://api.artifactsmmo.com/items/?craft_skill=weaponcrafting' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.artifactsmmo.com/items/?craft_skill=weaponcrafting", 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 must then find a map containing a workshop of the skill. To learn more about the map, click here.
When you're on a map containing a workshop, you can use this request to craft an item.
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": "INSERT_ITEM_CODE"
}'
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": "INSERT_ITEM_CODE"
});
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));