> ## Documentation Index
> Fetch the complete documentation index at: https://assetpay.gg/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Prices

> Fetch current offer prices for all items.

# GET /secure/prices

Returns current offer prices for items in a specific game. Use this to sync pricing data into your own database or display price information without fetching a specific user's inventory.

**Authentication:** API Key (`api-key` header, requires `CORE_ACCESS` scope)

## Request

```http theme={null}
GET https://api.assetpay.gg/secure/prices?game=730
api-key: YOUR_API_KEY
```

### Query Parameters

| Parameter | Type   | Default | Description                                    |
| --------- | ------ | ------- | ---------------------------------------------- |
| `game`    | string | `730`   | Game app ID (`"730"` = CS2, `"252490"` = Rust) |

## Response (CS2)

Each item carries a `deposit` price (what AssetPay pays you for the item) and a `withdraw` price split by delivery mode (the fee-inclusive buy price you can pass back to `/secure/buy`). Either `withdraw` value is `null` when there's no floor.

```json theme={null}
{
  "requestId": "...",
  "success": true,
  "data": [
    {
      "itemId": "0010f8d48278ccb8",
      "marketHashName": "AK-47 | Redline (Field-Tested)",
      "accepted": true,
      "deposit": 10.75,
      "withdraw": { "standard": 11.40, "instant": 12.80 }
    }
  ]
}
```

### CS2 Response Fields

| Field               | Type           | Description                                                         |
| ------------------- | -------------- | ------------------------------------------------------------------- |
| `itemId`            | string \| null | Assetpay catalog item id; `null` when there's no withdraw floor     |
| `marketHashName`    | string         | Item's market hash name                                             |
| `accepted`          | boolean        | Whether the item is accepted for deposit (`deposit` > 0)            |
| `deposit`           | number         | Deposit offer price in USD (what we pay for the item)               |
| `withdraw.standard` | number \| null | Fee-inclusive standard-delivery buy price in USD                    |
| `withdraw.instant`  | number \| null | Fee-inclusive instant-delivery buy price in USD                     |
| `phases`            | array          | Present **only on Doppler items** — per-phase breakdown (see below) |

### Doppler items

Doppler skins are returned as a **single entry** with a `phases[]` breakdown rather than one row per phase. The top-level `deposit`/`withdraw` carry the floor (cheapest phase / grouped floor) as a default. Per-phase `withdraw` is **standard-only** (the phase floor) — instant delivery is not phase-specific, so use the top-level `withdraw.instant` for an any-phase instant buy.

```json theme={null}
{
  "itemId": "c5_karambit_doppler_fn",
  "marketHashName": "★ Karambit | Doppler (Factory New)",
  "accepted": true,
  "deposit": 360.00,
  "withdraw": { "standard": 379.40, "instant": 1450.00 },
  "phases": [
    { "phase": "Phase 1", "accepted": true, "deposit": 380.00, "withdraw": 402.26 },
    { "phase": "Phase 2", "accepted": true, "deposit": 360.00, "withdraw": 379.40 },
    { "phase": "Ruby",    "accepted": true, "deposit": 1780.00, "withdraw": 1875.92 }
  ]
}
```

| Phase field | Type           | Description                                                                    |
| ----------- | -------------- | ------------------------------------------------------------------------------ |
| `phase`     | string         | Phase label: `Phase 1`–`Phase 4`, `Ruby`, `Sapphire`, `Black Pearl`, `Emerald` |
| `accepted`  | boolean        | Whether this phase is accepted for deposit (`deposit` > 0)                     |
| `deposit`   | number         | Deposit offer price in USD for this phase                                      |
| `withdraw`  | number \| null | Fee-inclusive standard buy price for this phase; `null` when unavailable       |

To buy a specific phase, pass the `phase` to [`POST /secure/buy/quick`](/api-reference/secure/buy-quick).

## Response (Rust)

```json theme={null}
{
  "requestId": "...",
  "success": true,
  "data": [
    {
      "marketHashName": "Large Wood Box",
      "accepted": true,
      "deposit": 0.12,
      "withdraw": 0.14
    }
  ]
}
```

### Rust Response Fields

| Field            | Type           | Description                                              |
| ---------------- | -------------- | -------------------------------------------------------- |
| `marketHashName` | string         | Item's market hash name                                  |
| `accepted`       | boolean        | Whether the item is accepted for deposit (`deposit` > 0) |
| `deposit`        | number         | Deposit offer price per unit (USD)                       |
| `withdraw`       | number \| null | Fee-inclusive buy price in USD; `null` when unavailable  |

## Rate Limits

| Merchant Status | Limit                 |
| --------------- | --------------------- |
| Verified        | 1,000 requests / hour |
| Unverified      | 100 requests / hour   |
