Skip to content
Revadike edited this page Feb 24, 2022 · 2 revisions

GET /api/getcart

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: GET

Host: store.steampowered.com

Path: /api/getcart/

Query Parameters:

Name Type Required Description
cc string TODO Country code
l string TODO Language
cart string TODO TODO

Response

200 OK

Name Type Description
cart object TODO
cart.gid string TODO
cart.packages[] array TODO
cart.packages[].lineitemid string TODO
cart.packages[].packageid number TODO
cart.packages[].name string TODO
cart.packages[].price object TODO
cart.packages[].price.currency string TODO
cart.packages[].price.initial number TODO
cart.packages[].price.final number TODO
cart.packages[].price.discount_percent number TODO
cart.enable_self_purchase boolean TODO
cart.enable_gift_purchase boolean TODO
success boolean TODO

Example

GET https://store.steampowered.com/api/getcart/?cc=us&l=english&cart=4696681304038407827
{
    "cart": {
        "gid": "4696681304038407827",
        "packages": [
            {
                "lineitemid": "4696681304051514286",
                "packageid": 38846,
                "name": "Superpower 2",
                "price": {
                    "currency": "EUR",
                    "initial": 999,
                    "final": 99,
                    "discount_percent": 90
                }
            }
        ],
        "enable_self_purchase": true,
        "enable_gift_purchase": true
    },
    "success": true
}
Clone this wiki locally