> ## 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.

# Browse Market (Self-Trade)

> Merchant-side market search returning the items a merchant can buy through the secure buy endpoint, with exactly the same listing data as the client route.

Merchant-facing equivalent of [`GET /client/market`](/docs/api-reference/client/get-market). Returns marketplace items the merchant can buy via [`POST /secure/buy`](/docs/api-reference/secure/buy). Same listings the merchant's clients see.

**Authentication:** Merchant API Key (`api-key` header)
**Scope:** `CORE_ACCESS`

## Request

```http theme={null}
GET https://api.assetpay.gg/secure/market?game=730&search=awp&sort=priceAsc&page=1&perPage=50
api-key: ap_...
```

### Query Parameters

| Parameter     | Type    | Default | Description                                                                                                                                                                                                                                                       |
| ------------- | ------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `game`        | string  | `730`   | `"730"` (CS2) or `"252490"` (Rust)                                                                                                                                                                                                                                |
| `search`      | string  | —       | Search by item name (max 100 chars)                                                                                                                                                                                                                               |
| `sort`        | string  | —       | `relevance`, `priceAsc`, `priceDesc`, `nameAsc`, or `nameDesc`                                                                                                                                                                                                    |
| `minPrice`    | number  | —       | Minimum price filter (USD)                                                                                                                                                                                                                                        |
| `maxPrice`    | number  | —       | Maximum price filter (USD)                                                                                                                                                                                                                                        |
| `page`        | number  | `1`     | Page number                                                                                                                                                                                                                                                       |
| `perPage`     | number  | `50`    | Items per page (min 1, max 1000)                                                                                                                                                                                                                                  |
| `source`      | string  | —       | Set to `internal` to restrict results to the AssetPay pool, or `external` to restrict them to third-party marketplace listings (refreshed every 5 minutes). Omit for both. Ignored when `development` is set.                                                     |
| `development` | boolean | `false` | Sandbox flag. When `true` (or `1`), every returned item is stamped with instant delivery, a placeholder `previewToken`, and a synthetic holding `botInfo` so you can build against the full item shape using cheap live listings. The `source` filter is ignored. |

## Response

```json theme={null}
{
  "requestId": "...",
  "success": true,
  "data": {
    "items": [ /* InventoryItem[] */ ],
    "count": 1523
  }
}
```

See [`GET /client/market`](/docs/api-reference/client/get-market#response) for the full field list and the [`Item`](/docs/reference/types#item) type.

Items sourced from the AssetPay internal pool (self-owned, instant delivery) additionally carry `previewToken` (Steam inspect/preview token) and `botInfo` (the holding bot). Third-party marketplace listings expose an inspect link upstream and have no `previewToken`.

To keep results current without polling, subscribe to the WebSocket [Market Updates](/docs/guides/websocket#market-updates) event. It pushes `internal`-source item and price changes in the same item shape, priced for your account.

## Rate Limits

| Merchant Status | Limit                |
| --------------- | -------------------- |
| Verified        | 3,000 requests / min |
| Unverified      | 100 requests / min   |
