Skip to content
Revadike edited this page Nov 5, 2026 · 1 revision

POST /profiles/:steamid/ajaxexchangegoo/

Exchanges gems for a sack of gems, or a sack of gems for gems.

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: POST

Host: steamcommunity.com

Path: /profiles/:steamid/ajaxexchangegoo/

Variables:

Name Type Description
:steamid number The 64-bit SteamID of the logged-in user

Form Data:

Name Type Required Description
sessionid string Yes The value of the sessionid cookie
appid number Yes The Steam AppID of the gem item (753)
assetid string Yes The asset ID of the gem item
goo_denomination_in number Yes The denomination being exchanged: 1 for gems, 1000 for a sack of gems
goo_amount_in number Yes The number of goo_denomination_in items to exchange
goo_denomination_out number Yes The denomination received: 1 for gems, 1000 for a sack of gems
goo_amount_out_expected number Yes The number of goo_denomination_out items expected to be received

Response

200 OK

Name Type Description
success number Whether the request was successful (1) or the error code (78 when there are not enough gems, 42 when the gem item cannot be found)

403 Forbidden

Name Type Description
success number The error code

404 Not Found

Name Type Description
success number The error code

Example

POST https://steamcommunity.com/profiles/76561198786103331/ajaxexchangegoo/ { sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", appid: 753, assetid: "1234567890", goo_denomination_in: 1, goo_amount_in: 1000, goo_denomination_out: 1000, goo_amount_out_expected: 1 }

TODO

Clone this wiki locally