NAV Navbar
javascript

Introduction

Welcome to the Shadowpay API! Use it to send trades, get information about items, buy and sell them!

If you have any questions or suggestions feel free to contact us at: [email protected]

Response Structure

Check response status before operating on response data.

Responses for all endpoints are in JSON format.

Successful API calls contain {"status":"success"} at the root in the response body.

Responses for failed requests will have the error status and contain more details on the error: {"status":"error", "error_message":"some_error"}

Naming Conventions

The project parameter in API requests and responses indicates from which game the item(s) is from.

Value Game
csgo Counter-Strike: Global Offensive
dota2 Dota 2
games SteamCommunity Items

Shadowpay CORE API v2

Entities

Steam Item

Example

{
    "id": 18210,
    "project": "csgo",
    "steam_market_hash_name": "★ Stiletto Knife | Doppler (Factory New) Sapphire",
    "exterior": "Factory New",
    "type": "Knife",
    "subcategory": "★ Stiletto Knife",
    "collection": null,
    "phase": "Sapphire",
    "suggested_price": 2532.42,
    "is_stattrak": false,
    "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpovbSsLQJfwOfBfThW-NOJlY20hPbkI7PYhG5u5cRjiOXE_JbwjGu4ohQ0JwavdcTCJxg9ZF_WqADsyOm715Lpu5SYySFiuCV07XnczhGyhUlMPeI-16CWSl6cGeUXS8Mn9SuW"
}

Represents a single CSGO or DOTA2 item

Parameters

Parameter Type Nullable
id int
project enum csgo,dota2
steam_market_hash_name string
icon string
exterior string
type string
subcategory string
collection string
phase string
suggested_price float
is_stattrak bool

Inventory Item

Example

{
    "id": 3507,
    "project": "csgo",
    "steam_market_hash_name": "Negev | Loudmouth (Field-Tested)",
    "exterior": "Field-Tested",
    "type": "Machinegun",
    "subcategory": "Negev",
    "collection": "The Falchion Collection",
    "phase": null,
    "suggested_price": 0.39,
    "is_stattrak": false,
    "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpouL-iLhFf0Ob3fzhF6cqJlY6Fnv_9P7rFmXlu5cB1g_zMu4ms3FHg-RA6Yz30cYLDdQ9saFrW8wW8yOnm1pDpv8vNzHMyuXIq5inD30vg_iCKYUg",
    "asset_id": 20516184590,
    "tradable": true,
    "link": "steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561198064929874A20516184590D14145255354206648200",
    "skip_reason": "is-used",
    "min_price": 0.1,
    "max_price": 11.7
}

Represents a steam item in subseller's inventory

Parameters

Parameter Type Nullable
id int
project enum csgo,dota2
steam_market_hash_name string
icon string
exterior string
type string
subcategory string
collection string
phase string
suggested_price float
is_stattrak bool
asset_id int
tradable bool
link string
skip_reason string
min_price float
max_price float

Item

Example

{
    "id": 294528,
    "price": 0.03,
    "floatvalue": 0,
    "paintindex": null,
    "paintseed": null,
    "link": null,
    "time_created": "2020-07-01 04:44:50",
    "steam_item": {
        "id": 5740,
        "project": "csgo",
        "steam_market_hash_name": "AUG | Contractor (Minimal Wear)",
        "exterior": "Minimal Wear",
        "type": "Rifle",
        "subcategory": "AUG",
        "collection": "The Italy Collection",
        "phase": null,
        "suggested_price": 0.04,
        "is_stattrak": false,
        "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpot6-iFBRv7OPFcgJO5du-gM6OxfakZbnQw28H65Eg2L2RrYin3ADjrkJqYWz0Jo6UdVNrYV3SqAW9366x0l1OAhlP"
    },
    "stickers": []
}

Represents an item on sale on Shadowpay

Parameters

Parameter Type Nullable
id int
price float
floatvalue float
paintindex int
paintseed int
link string
time_created string datetime
steam_item Steam_item
stickers[] Steam_item[]

Offer

Example

{
    "id": 302497,
    "price": 40,
    "floatvalue": null,
    "paintindex": null,
    "paintseed": null,
    "time_created": "2021-02-09 12:49:53",
    "steam_item": {
        "id": 3507,
        "project": "csgo",
        "steam_market_hash_name": "Negev | Loudmouth (Field-Tested)",
        "exterior": "Field-Tested",
        "type": "Machinegun",
        "subcategory": "Negev",
        "collection": "The Falchion Collection",
        "phase": null,
        "suggested_price": 0.39,
        "is_stattrak": false,
        "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpouL-iLhFf0Ob3fzhF6cqJlY6Fnv_9P7rFmXlu5cB1g_zMu4ms3FHg-RA6Yz30cYLDdQ9saFrW8wW8yOnm1pDpv8vNzHMyuXIq5inD30vg_iCKYUg"
    },
    "stickers": [],
    "asset_id": "20516184590",
    "state": "active",
    "price_with_fee": 38,
    "steamid": "XXXXXXXXXXXXXXXXX",
    "custom_id": null
}

An offer to sell an item at Shadowpay

Parameters

Parameter Type Nullable
id int
price float
floatvalue float
paintindex int
paintseed int
time_created string datetime
steam_item Steam_item
stickers[] Steam_item[]
asset_id string
state enum active,pending,reserved,cancelled,finished
price_with_fee float
steamid string steam id of your subseller
custom_id string

Purchase Order

Example

{
    "id": 302452,
    "state": "active",
    "price": 10,
    "steamid": "XXXXXXXXXXXXXXXXX",
    "time_created": "2021-02-08 21:19:39",
    "custom_id": null,
    "steam_item": {
        "id": 6585,
        "project": "csgo",
        "steam_market_hash_name": "R8 Revolver | Bone Mask (Battle-Scarred)",
        "exterior": "Battle-Scarred",
        "type": "Pistol",
        "subcategory": "R8 Revolver",
        "collection": "The Bank Collection",
        "phase": null,
        "suggested_price": 0.03,
        "is_stattrak": false,
        "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpopL-zJAt21uH3Yi19-N2mkb-DkvbiKoTdl3lW7Ysl3OzHoN323VGx-xJvYWymLIOTewE7ZV6D-gLsxrjn0Ze66cibmnUwpGB8ssJ0HHKV"
    }
}

A purchase order at Shadowpay to buy your desired item as soon it is available

Parameters

Parameter Type Nullable
id int
state enum active,pending,reserved,cancelled,finished
price float
steamid string
time_created string datetime
custom_id string
steam_item Steam_item

Shadowpay User API v2

Auth ‌

Make sure to replace sometesttoken with your API token.

All endpoints require a API access token. Visit Shadowpay website to obtain it.

Token: sometesttoken

Account

Get inventory

The response will be structured as follows

{
    "data": [
        {
            "id": 3507,
            "project": "csgo",
            "steam_market_hash_name": "Negev | Loudmouth (Field-Tested)",
            "exterior": "Field-Tested",
            "type": "Machinegun",
            "subcategory": "Negev",
            "collection": "The Falchion Collection",
            "phase": null,
            "suggested_price": 0.39,
            "is_stattrak": false,
            "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpouL-iLhFf0Ob3fzhF6cqJlY6Fnv_9P7rFmXlu5cB1g_zMu4ms3FHg-RA6Yz30cYLDdQ9saFrW8wW8yOnm1pDpv8vNzHMyuXIq5inD30vg_iCKYUg",
            "asset_id": 20516184590,
            "tradable": true,
            "link": "steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561198064929874A20516184590D14145255354206648200",
            "skip_reason": "is-used",
            "min_price": 0.1,
            "max_price": 11.7
        },
        ...
    ],
    "metadata": {
        "total": 200
    },
    "status": "success"
}

Fetches and returns the inventory for the provided subseller from Steam as an array of Inventory Item objects.

HTTP Request

GET https://api.shadowpay.com/api/v2/user/inventory

Parameter Required Default Description
project - the name of the game (see Naming Conventions)

Items‌

Get Items ‌

Request example

https://api.shadowpay.com/api/v2/user/items?token={{TOKEN}}&sort_column=discount&sort_dir=desc&steam_market_hash_name[]=AUG | Contractor (Minimal Wear)&steam_market_hash_name[]=Five-SeveN | Urban Hazard (Minimal Wear)&search=Contractor&types[]=Pistol&types[]=Knife&exteriors[]=Minimal Wear&exteriors[]=Field-Tested&date_from=2021-01-01 00:00:00&price_from=1&price_to=100

The response will be structured as follows

{
    "data": [
        {
            "id": 294528,
            "price": 0.03,
            "floatvalue": 0,
            "paintindex": null,
            "paintseed": null,
            "time_created": "2020-07-01 04:44:50",
            "steam_item": {
                "id": 5740,
                "project": "csgo",
                "steam_market_hash_name": "AUG | Contractor (Minimal Wear)",
                "exterior": "Minimal Wear",
                "type": "Rifle",
                "subcategory": "AUG",
                "collection": "The Italy Collection",
                "phase": null,
                "suggested_price": 0.04,
                "is_stattrak": false,
                "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpot6-iFBRv7OPFcgJO5du-gM6OxfakZbnQw28H65Eg2L2RrYin3ADjrkJqYWz0Jo6UdVNrYV3SqAW9366x0l1OAhlP",
                "rarity": "Mil-Spec"
            },
            "stickers": []
        },
        ...
    ],
    "metadata": {
        "limit": 20,
        "offset": 0,
        "total": 100
    },
    "status": "success"
}

Returns the list of items currently on sale at Shadowpay as an array of Item objects.

HTTP Request

GET https://api.shadowpay.com/api/v2/user/items

Query Parameters

Parameter Default Description
project csgo the name of the game (see Naming Conventions)
steam_market_hash_name - an array of steam hash names to filter the items
types - an array of types to filter the items
exteriors - an array of exteriors to filter the items
rarities - an array of rarities to filter the items
search - search by item's steam hash name
price_from -
price_to - filter by a price range
date_from -
date_to - filter by the date of bid
sort_column time_created [price_market,time_created,floatvalue]
sort_dir desc [asc,desc]
limit - items limit per request
offset - items list offset
group_by - [steam_market_hash_name]

Grouping

Grouped response will be structured as follows

{
    "data": {
        "AUG | Contractor (Minimal Wear)": {
             "id": 294528,
             "price": 0.03,
             "floatvalue": 0,
             "paintindex": null,
             "paintseed": null,
             "time_created": "2020-07-01 04:44:50",
             "steam_item": {
                 "id": 5740,
                 "project": "csgo",
                 "steam_market_hash_name": "AUG | Contractor (Minimal Wear)",
                 "exterior": "Minimal Wear",
                 "type": "Rifle",
                 "subcategory": "AUG",
                 "collection": "The Italy Collection",
                 "phase": null,
                 "suggested_price": 0.04,
                 "is_stattrak": false,
                 "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpot6-iFBRv7OPFcgJO5du-gM6OxfakZbnQw28H65Eg2L2RrYin3ADjrkJqYWz0Jo6UdVNrYV3SqAW9366x0l1OAhlP"
             },
             "stickers": []
        },
    },
    "status": "success"
}

Items can be grouped by their steam hash name using group_by query parameter

group_by=steam_market_hash_name

Get Single Item ‌

The response will be structured as follows

{
    "data": {
        "item": {
            "id": 294528,
            "price": 0.03,
            "floatvalue": 0,
            "paintindex": null,
            "paintseed": null,
            "time_created": "2020-07-01 04:44:50",
            "steam_item": {
                "id": 5740,
                "project": "csgo",
                "steam_market_hash_name": "AUG | Contractor (Minimal Wear)",
                "exterior": "Minimal Wear",
                "type": "Rifle",
                "subcategory": "AUG",
                "collection": "The Italy Collection",
                "phase": null,
                "suggested_price": 0.04,
                "is_stattrak": false,
                "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpot6-iFBRv7OPFcgJO5du-gM6OxfakZbnQw28H65Eg2L2RrYin3ADjrkJqYWz0Jo6UdVNrYV3SqAW9366x0l1OAhlP",
                "rarity": "Mil-Spec"
            },
            "stickers": []
        },
        "is_seller_online": false
    },
    "status": "success"
}

Returns the item information for the provided item id and whether the seller is online at the moment. The item parameter in response is an Item object.

HTTP Request

GET https://api.shadowpay.com/api/v2/user/items/{id}

Url Parameters

Parameter Required Description
id the id of the item

Get Item Prices ‌

The response will be structured as follows

{
    "data": [
         {
             "steam_market_hash_name": "Desert Eagle | Bronze Deco (Field-Tested)",
             "price": "0.18",
             "volume": "4"
         },
         {
             "steam_market_hash_name": "Five-SeveN | Kami (Minimal Wear)",
             "price": "0.95",
             "volume": "1"
         },
         {
             "steam_market_hash_name": "Five-SeveN | Nightshade (Field-Tested)",
             "price": "1.67",
             "volume": "1"
         },
         {
             "steam_market_hash_name": "G3SG1 | Stinger (Field-Tested)",
             "price": "0.29",
             "volume": "9"
         },
         {
             "steam_market_hash_name": "Galil AR | Kami (Minimal Wear)",
             "price": "1.00",
             "volume": "1"
         }
    ],
    "status": "success"
}

Returns the list of items currently on sale at Shadowpay, wth minimal price and volume(quantity) of items

HTTP Request

GET https://api.shadowpay.com/api/v2/user/items/prices

Query Parameters

Parameter Default Description
project csgo the name of the game (see Naming Conventions)

Get Steam Items ‌

The response will be structured as follows

{
    "data": [
        {
            "id": 2,
            "project": "csgo",
            "steam_market_hash_name": "★ Bayonet | Marble Fade (Minimal Wear)",
            "exterior": "Minimal Wear",
            "type": "Knife",
            "subcategory": "★ Bayonet",
            "collection": null,
            "phase": null,
            "suggested_price": 557.7,
            "is_stattrak": false,
            "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpotLu8JAllx8zJfAJP7c60mIW0kfbwNoTdn2xZ_ItwjuqTrdrz2w238ks9am_wJICXclc3ZlDT-wLvw7vqhZO8vp_AnSQ1pGB8slyqDZmn",
            "rarity": "Mil-Spec"
        },
        ...
    ],
    "metadata": {
        "limit": 20,
        "offset": 0,
        "total": 16195
    },
    "status": "success"
}

Returns the list of steam items of provided project as an array of Steam_item objects.

HTTP Request

GET https://api.shadowpay.com/api/v2/user/items/steam

Query Parameters

Parameter Default Description
project csgo the name of the game (see Naming Conventions)
steam_market_hash_name - an array of steam hash names to filter the items
search - search by item's steam hash name
sort_column - [steam_market_hash_name,price]
sort_dir desc [asc,desc]
limit - items limit per request
offset - items list offset

Offers

Get Offers

The response will be structured as follows

{
    "data": [
        {
            "id": 17202959,
            "price": 5,
            "floatvalue": 0,
            "paintindex": 0,
            "paintseed": 0,
            "link": "steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561198064929874A21763929191D14584466534007297603",
            "time_created": "2021-05-11 16:37:25",
            "steam_item": {
                "id": 18449,
                "project": "csgo",
                "steam_market_hash_name": "Sticker | Ancient Beast (Foil)",
                "exterior": "",
                "type": "Sticker",
                "subcategory": "Sticker",
                "collection": null,
                "phase": null,
                "suggested_price": 0.39,
                "is_stattrak": false,
                "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9QVcJY8gulRfXkPbQuqS0c7dVBJ1Kwdes7SxFAVl0uDcTjtN5dCJmIGZkPK6NuKIkDhSuZwg27-Z8IrzjAfl_kRlNzylcdLAJlc3M1CDqVTsyebu1oj84srYPsV2Gw",
                "rarity": "Exotic"
            },
            "stickers": [],
            "asset_id": "21763929191",
            "state": "active",
            "price_with_fee": 4.75,
            "steamid": "XXXXXXXXXXXXXXXXX",
            "custom_id": null
        }
    ],
    "metadata": {
        "limit": 15000,
        "offset": 0,
        "total": 1
    },
    "status": "success"
}

Get your active offers. Returns an array of Offer objects.

HTTP Request

GET https://api.shadowpay.com/api/v2/user/offers

Query Parameters

Parameter Default Description
sort_column price [id,price,time_created]
sort_dir desc [asc,desc]
limit - items limit per request
offset - items list offset

Get a Single Offer

The response will be structured as follows

{
    "data": {
        "id": 17202959,
        "price": 5,
        "floatvalue": 0,
        "paintindex": 0,
        "paintseed": 0,
        "link": "steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561198064929874A21763929191D14584466534007297603",
        "time_created": "2021-05-11 16:37:25",
        "steam_item": {
            "id": 18449,
            "project": "csgo",
            "steam_market_hash_name": "Sticker | Ancient Beast (Foil)",
            "exterior": "",
            "type": "Sticker",
            "subcategory": "Sticker",
            "collection": null,
            "phase": null,
            "suggested_price": 0.39,
            "is_stattrak": false,
            "icon": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9QVcJY8gulRfXkPbQuqS0c7dVBJ1Kwdes7SxFAVl0uDcTjtN5dCJmIGZkPK6NuKIkDhSuZwg27-Z8IrzjAfl_kRlNzylcdLAJlc3M1CDqVTsyebu1oj84srYPsV2Gw",
            "rarity": "Exotic"
        },
        "stickers": [],
        "asset_id": "21763929191",
        "state": "active",
        "price_with_fee": 4.75,
        "steamid": "XXXXXXXXXXXXXXXXX",
        "custom_id": null
    },
    "status": "success"
}

Get a single offer with id. Returns a Offer object.

HTTP Request

GET https://api.shadowpay.com/api/v2/user/offers/{id}

Url Parameters

Parameter Required Description
id true the id of the item

Make offers

Request example

{
    "offers": [
        {
            "id": "19643581752",
            "price": 0.14,
            "project": "csgo"
        },
        {
            "id": "19643581752",
            "price": 0.14,
            "project": "csgo",
            "currency": "USD"
        }
    ]
}

Response example

{
    "status": "success",
    "data": [
        {
            "id": 302497,
            "price": 40,
            "floatvalue": null,
            "paintindex": null,
            "paintseed": null,
            "time_created": "2021-02-09 12:49:53",
            "steam_item": {...},
            "stickers": [],
            "asset_id": "20516184590",
            "state": "active",
            "price_with_fee": 38,
            "steamid": "XXXXXXXXXXXXXXXXX",
            "custom_id": null
        }
    ],
    "metadata": {
        "total": 1
    }
}

Create sell offers on Shadowpay for items from your inventory. Returns an array of newly created Offer objects

HTTP Request

POST https://api.shadowpay.com/api/v2/user/offers

POST Parameters

Parameter Required Description
offers an array of up to 250 offers
offers.*.id the asset id of the item you want to sell
offers.*.project the name of the game the item is from (see Naming Conventions)
offers.*.price the price you want to put on the item
offers.*.currency you can see the list of available currencies at shadowpay.com (default = USD)

Cancel offers

Response example

{
    "cancelled_items": [...],
    "not_cancelled_items": [...],
    "errors": [
        {
            "id": "XXXXX",
            "message": "bid_item_not_exist"
        }
    ],
    "metadata": {
        "total_cancelled_items": 1,
        "total_not_cancelled_items": 1
    },
    "status": "success"
}

Cancel offers by ids.
Response structure:
cancelled_items - an array of offers that were successfully cancelled
not_cancelled_items - an array of offers that couldn't be cancelled
errors
      id - the id of the offer that couldn't be cancelled
      message - the error message

HTTP Request

DELETE https://api.shadowpay.com/api/v2/user/offers

Query Parameters

Parameter Required Description
item_ids an array of up to 100 offer ids you want to cancel

Cancel all offers

Response example

{
    "cancelled_items": [...],
    "not_cancelled_items": [...],
    "errors": [
        {
            "id": "XXXXX",
            "message": "bid_item_not_exist"
        }
    ],
    "metadata": {
        "total_cancelled_items": 1,
        "total_not_cancelled_items": 1
    },
    "status": "success"
}

Cancel all offers.
Response structure:
cancelled_items - an array of offers that were successfully cancelled
not_cancelled_items - an array of offers that couldn't be cancelled
errors
      id - the id of the offer that couldn't be cancelled
      message - the error message

HTTP Request

DELETE https://api.shadowpay.com/api/v2/user/offers/all

Update offers

Request example

{
    "offers": [
        {
            "id": "297921",
            "price": 3.14
        },
        {
            "id": "297922",
            "price": 3.14,
            "currency": "USD"
        }
    ]
}

Response example

{
    "updated_items": [...],
    "not_updated_items": [...],
    "errors": [
        {
            "id": "XXXXX",
            "message": "bid_item_not_exist"
        }
    ],
    "metadata": {
        "total_updated_items": 1,
        "total_not_updated_items": 1
    },
    "status": "success"
}

Update one or several of your active offers to change the price or the currency.
Response structure:
updated_items - an array of offers that were successfully updated
not_updated_items - an array of offers that couldn't be updated
errors
      id - the id of the offer that couldn't be updated
      message - the error message

HTTP Request

PATCH https://api.shadowpay.com/api/v2/user/offers

POST Parameters

Parameter Required Description
offers an array of up to 250 offers
offers.*.id the id of the offer you want to update
offers.*.price the price you want to change
offers.*.currency you can see the list of available currencies at shadowpay.com (default = USD)

Offer All Inventory

Only works for CSGO!

Request example

{
    "price_base": "shadowpay",
    "factor_steam": 200,
    "factor_local": 300
}

Response example

{
    "status": "success",
    "data": [
        {
            "id": 302497,
            "price": 40,
            "floatvalue": null,
            "paintindex": null,
            "paintseed": null,
            "time_created": "2021-02-09 12:49:53",
            "steam_item": {...},
            "stickers": [],
            "asset_id": "20516184590",
            "state": "active",
            "price_with_fee": 38,
            "steamid": "XXXXXXXXXXXXXXXXX",
            "custom_id": null
        }
    ],
    "metadata": {
        "total": 1
    }
}

Sell all your Steam inventory on Shadowpay. Returns an array of newly created Offer objects.

HTTP Request

POST https://api.shadowpay.com/api/v2/user/offers/all

POST Parameters

Parameter Required Description
price_base enum(shadowpay,steam)
factor_steam items will be sold at price steam_price * factor_steam
factor_local if price_base == shadowpay items will be sold at price (lowest price for similar items at Shadowpay) * factor_local

Operations

The response will be structured as follows

{
    "data": [
         {
            "id": 2636,
            "type": "buy",
            "state": "active",
            "price": 0.36,
            "time_created": "2021-02-08 22:16:26",
            "items": [...]
        }
    ],
    "metadata": {
        "limit": 4000,
        "offset": 0,
        "total": 2
    },
    "status": "success"
}

Returns a list of your operations on Shadowpay as an array of Operation objects.

HTTP Request

GET https://api.shadowpay.com/api/v2/user/operations

Query Parameters

Parameter Default Description
type - (buy,sell)
states - an array of states the operations can be filtered with
date_from -
date_to - filter by the date of operation
sort_column time_created [id,time_created,price]
sort_dir desc [asc,desc]
limit 4000 operations limit per request
offset 0 operations list offset

Generic Errors

The Shadowpay API uses the following error messages in general:

Error Code Meaning
internal_error Your request is invalid.
wrong_params Check your params or not found any suitable data
wrong_token Your API token is wrong or not set
wrong_method Check your params or not found any suitable api method
disabled Temporary disabled. Try later
no_access You have no access to request this endpoint
validation_error Data validation not passed. Check your params