Skip to content

Gems Shop

The Gems Shop lets you spend gems on cosmetic skins, community spawn events, and subscription time. The catalog is public, but purchases require authentication.

You can obtain gems from season rewards, a paid subscription, or gem packs purchased in your member area.

Use GET /gems_shop/ to retrieve the current catalog and prices.

curl --request GET \
--url 'https://api.artifactsmmo.com/gems_shop/' \
--header 'Accept: application/json'

The response is divided into:

FieldDescription
skinsPurchasable skins with their code, name, description, and gem price.
spawn_eventsPurchasable events with their content, duration, and gem price.
subscriptionsSubscription offers with their duration and gem price.

Your gem balance is available from GET /my/details, and your gem transactions are available from GET /my/gems_history.

Buy a skin with POST /gems_shop/skin. Send the skin code from the catalog.

curl --request POST \
--url https://api.artifactsmmo.com/gems_shop/skin \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"code": "gladiator"
}'

The skin is permanently added to your account. A skin cannot be purchased twice, and skins without a catalog price are not purchasable.

Buy and immediately spawn a community event with POST /gems_shop/spawn_event.

curl --request POST \
--url https://api.artifactsmmo.com/gems_shop/spawn_event \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"code": "bandit_camp"
}'

Only events listed in the Gems Shop catalog can be purchased. A purchase can fail when the event is already active, is on cooldown, or the maximum number of active events has been reached. See Events for more information.

Use POST /gems_shop/subscription to buy the subscription offer shown in the catalog.

curl --request POST \
--url https://api.artifactsmmo.com/gems_shop/subscription \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN'

The current offer grants one month of membership. You cannot buy it while your account already has an active subscription. Check the catalog for the current duration and price before purchasing.

Use GET /my/gems_history to list your gem credits and debits, including Gems Shop purchases.

curl --request GET \
--url https://api.artifactsmmo.com/my/gems_history \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN'

The response contains a data array with one entry per gem transaction:

FieldDescription
typeGem transaction type.
gemsSigned gem delta. Positive values add gems, negative values spend gems.
descriptionHuman-readable transaction description.
metadataAdditional transaction metadata.
created_atTransaction creation date.