Skip to content

Actions & Cooldowns

Every interaction your character makes with the game world is an action — moving, fighting, crafting, trading, and more. Each action is a POST request to /my/{name}/action/... and returns the result immediately along with a cooldown.

  1. Send a POST request to the appropriate action endpoint.
  2. The API returns the action result and a CooldownSchema in the response.
  3. Your character enters a cooldown period — you must wait before sending another action for that character.
  4. If you send an action while in cooldown, you receive error 499 with the remaining time.

Every action response includes a cooldown object:

CooldownSchema
{
"cooldown": {
"total_seconds": 5,
"remaining_seconds": 5,
"started_at": "2025-01-15T12:00:00Z",
"expiration": "2025-01-15T12:00:05Z",
"reason": "movement"
}
}
FieldDescription
total_secondsTotal cooldown duration in seconds.
remaining_secondsSeconds remaining until the cooldown expires.
started_atWhen the cooldown started.
expirationWhen the cooldown expires.
reasonWhat caused the cooldown (e.g., movement, fight, crafting).

ActionDurationNotes
Movement5s per tile
Fight2s per turnReduced with haste
Rest1s per 5 HP (min 3s)
Gathering30s + resource level/2Reduced with tools
Crafting5s per item
Recycling3s per item
Deposit/Withdraw3s per different item
Give item3s per different item
Others3sDefault cooldown

ActionEndpointDocumentation
Move/my/{name}/action/moveMaps & Movement
Transition/my/{name}/action/transitionMaps & Movement
Fight/my/{name}/action/fightCombat & Stats
Rest/my/{name}/action/restCombat & Stats
Use item/my/{name}/action/useResting & Using items
Gathering/my/{name}/action/gatheringSkills
Crafting/my/{name}/action/craftingSkills
Recycling/my/{name}/action/recyclingRecycling
Equip item/my/{name}/action/equipEquipment
Unequip item/my/{name}/action/unequipEquipment
Delete item/my/{name}/action/delete
Deposit item/my/{name}/action/bank/deposit/itemInventory & Bank
Deposit gold/my/{name}/action/bank/deposit/goldInventory & Bank
Withdraw item/my/{name}/action/bank/withdraw/itemInventory & Bank
Withdraw gold/my/{name}/action/bank/withdraw/goldInventory & Bank
Buy expansion/my/{name}/action/bank/buy_expansionInventory & Bank
Buy item (GE)/my/{name}/action/grandexchange/buyGrand Exchange
Sell order (GE)/my/{name}/action/grandexchange/sellGrand Exchange
Buy order (GE)/my/{name}/action/grandexchange/create_buy_orderGrand Exchange
Fill order (GE)/my/{name}/action/grandexchange/fillGrand Exchange
Cancel order (GE)/my/{name}/action/grandexchange/cancelGrand Exchange
Buy item (NPC)/my/{name}/action/npc/buyNPCs & Trading
Sell item (NPC)/my/{name}/action/npc/sellNPCs & Trading
Give items/my/{name}/action/giveCharacters & Account
Accept task/my/{name}/action/task/newTasks
Complete task/my/{name}/action/task/completeTasks
Exchange (task)/my/{name}/action/task/exchangeTasks
Cancel task/my/{name}/action/task/cancelTasks
Claim pending item/my/{name}/action/claim/{id}Characters & Account
Change skin/my/{name}/action/change_skinCharacters & Account

Every action your character performs is recorded in a log journal. Logs are paginated and include the action type, description, timestamp, and result.

To retrieve logs for a specific character, use the following endpoint:

Endpoint: POST /my/{name}/logs

curl --request GET \
--url 'https://api.artifactsmmo.com/my/logs/{name}?page=1&size=50' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN'

To retrieve logs for all your characters across your account, use the following endpoint:

Endpoint: POST /my/logs

curl --request GET \
--url 'https://api.artifactsmmo.com/my/logs?page=1&size=50' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN'