# Market Csgo — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and filter CS2/CS:GO weapon skins by type, quality, and name to find marketplace items with real-time pricing information. Browse available skins across different weapons and conditions to compare prices and discover the items you're looking for.

**Category:** Marketplaces | **Website:** [market.csgo.com/ru/](https://market.csgo.com/ru/) | **Docs:** [parse.bot/marketplace/8535c10c-04db-4ae0-b11c-8c033b76bb6f/market-csgo-com-api](https://parse.bot/marketplace/8535c10c-04db-4ae0-b11c-8c033b76bb6f/market-csgo-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-market-csgo-com-api-8535c10c/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_items

Search and list CS2 marketplace items with prices. Returns paginated results sorted by the chosen criterion. Supports filtering by weapon type category, item quality/wear, and text search. Pagination is offset-based: pass offset (0-indexed item position) and count (1–150) to page through results. Default sort is by marketplace popularity descending.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `count` | integer | No | Number of items per page, between 1 and 150. |
| `offset` | integer | No | Zero-based offset for pagination. |
| `quality` | string | No | Item wear/quality filter (e.g. 'Factory New', 'Minimal Wear', 'Field-Tested', 'Well-Worn', 'Battle-Scarred', 'Not Painted'). |
| `search` | string | No | Text search filter matching item names (e.g. 'AK-47', 'AWP', 'Asiimov'). |
| `sort` | string | No | Sort field. |
| `sort_direction` | string | No | Sort direction. |
| `type` | string | No | Weapon type/category filter (e.g. 'Pistol', 'Rifle', 'Sniper Rifle', 'SMG', 'Machinegun', 'Shotgun', 'Knife', 'Gloves', 'Container', 'Sticker', 'Other'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-market-csgo-com-api-8535c10c/search_items \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"count":"<integer>","offset":"<integer>","quality":"<string>","search":"<string>","sort":"<string>","sort_direction":"<string>","type":"<string>"}'
```
