Dinos, items, skins, crates, market and auctions.
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 * | string | Full Steam ID |
item_id * | string | |
qty * | integer | |
reason | string | Shown 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
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
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 * | string | Full Steam ID |
source * | string | |
design_id | any | |
premade_id | any | |
recipe | any | |
pattern | integer | |
sex | string | |
reason | string | Shown 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
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
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 * | string | Full Steam ID |
skin_id * | string | |
uses | any | |
mode | any | |
reason | string | Shown 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
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
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 * | string | Full Steam ID |
skin_id * | string | |
reason | string | Shown 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
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
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/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
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
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/purchases
Dinosaur shop purchases, newest first
shops:read
Parameters
limit | query · integer | Rows per page (1-100) |
cursor | query · string | next_cursor of the previous page |
Answers
200OK
{
"data": [
{
"id": 41,
"steam_id": "76561198000000000",
"species": "Rex",
"price": 5000,
"at": 1761955200
}
],
"next_cursor": "40"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl "https://your-site.com/api/v1/shops/purchases" \
-H "Authorization: Bearer $SEQUENCE_KEY"
Try it