Get item prices across marketplaces
get_item_pricesGet current CS2 item prices across multiple marketplaces by exact name. Falls back to free API if premium endpoint unavailable.
Instructions
Get current prices for one or more CS2 items (by market_hash_name) across marketplaces. Tries the Pricempire v4 API first (paid tier, richer per-source pricing); if that endpoint is unavailable (e.g. plan restriction) it falls back to the free v3 getAllItems endpoint. The response indicates which API tier was used, or reports the failure clearly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | No | Marketplace source keys to price against (e.g. "buff163", "steam", "csfloat", "skinport"). Defaults to the server-configured DEFAULT_SOURCES. | |
| currency | No | Currency code (e.g. "USD", "EUR"). Defaults to the server-configured DEFAULT_CURRENCY. | |
| market_hash_names | Yes | One or more exact item market_hash_name values to look up, e.g. "AK-47 | Redline (Field-Tested)". |