Skip to content

Shops

Dinos, items, skins, crates, market and auctions.

Your key stays in this tab. Calls go straight to your server.

POST/api/v1/actions/shops.item_give

Give an item to a player's inventory

shops:act

Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.

Body

steam_id *stringFull Steam ID
item_id *string
qty *integer
reasonstringShown in the admin log

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "shops.item_give",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl -X POST "https://your-site.com/api/v1/actions/shops.item_give" \
  -H "Authorization: Bearer $SEQUENCE_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"steam_id":"string","item_id":"string","qty":0,"reason":"string"}'

Try it

Add your site and key at the top.

POST/api/v1/actions/shops.skin_apply

Apply a skin to a player's animal

shops:act

Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.

Body

steam_id *stringFull Steam ID
source *string
design_idany
premade_idany
recipeany
patterninteger
sexstring
reasonstringShown in the admin log

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "shops.skin_apply",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl -X POST "https://your-site.com/api/v1/actions/shops.skin_apply" \
  -H "Authorization: Bearer $SEQUENCE_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"steam_id":"string","source":"string","design_id":null,"premade_id":null,"recipe":null,"pattern":0,"sex":"string","reason":"string"}'

Try it

Add your site and key at the top.

POST/api/v1/actions/shops.skin_give

Give a skin

shops:act

Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.

Body

steam_id *stringFull Steam ID
skin_id *string
usesany
modeany
reasonstringShown in the admin log

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "shops.skin_give",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl -X POST "https://your-site.com/api/v1/actions/shops.skin_give" \
  -H "Authorization: Bearer $SEQUENCE_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"steam_id":"string","skin_id":"string","uses":null,"mode":"add","reason":"string"}'

Try it

Add your site and key at the top.

POST/api/v1/actions/shops.skin_take

Take a skin

shops:act

Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.

Body

steam_id *stringFull Steam ID
skin_id *string
reasonstringShown in the admin log

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "shops.skin_take",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl -X POST "https://your-site.com/api/v1/actions/shops.skin_take" \
  -H "Authorization: Bearer $SEQUENCE_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"steam_id":"string","skin_id":"string","reason":"string"}'

Try it

Add your site and key at the top.

GET/api/v1/shops/auctions

Live auctions and recent hammer prices

shops:read

Answers

200OK
{
  "board": [
    {
      "auction_id": 1,
      "species": "Rex",
      "current_price": 2000,
      "ends_at": 1761955200
    }
  ],
  "sold": []
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/shops/auctions" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/shops/crates

Crates with their drops and odds

shops:read

Answers

200OK
{
  "data": [
    {
      "crate_id": "c1",
      "label": "Gold crate",
      "price": 1000,
      "drops": []
    }
  ],
  "next_cursor": null
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/shops/crates" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/shops/dinos

The dinosaur shop: species, prices, growth, diet

shops:read

Answers

200OK
{
  "data": [
    {
      "species": "Rex",
      "label": "Tyrannosaurus",
      "price": 5000,
      "enabled": true
    }
  ],
  "next_cursor": null
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/shops/dinos" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/shops/items

The item shop: bodies and food for sale

shops:read

Answers

200OK
{
  "data": [
    {
      "species": "Stegosaurus",
      "price": 300
    }
  ],
  "next_cursor": null
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/shops/items" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/shops/market

The player market: live listings and recent sales

shops:read

Answers

200OK
{
  "listings": [],
  "sales": []
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/shops/market" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/shops/purchases

Dinosaur shop purchases, newest first

shops:read

Parameters

limitquery · integerRows per page (1-100)
cursorquery · stringnext_cursor of the previous page

Answers

200OK
{
  "data": [
    {
      "id": 41,
      "steam_id": "76561198000000000",
      "species": "Rex",
      "price": 5000,
      "at": 1761955200
    }
  ],
  "next_cursor": "40"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/shops/purchases" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.