# Csgo Steamanalyst — 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.

> Track CS2 skin prices in real-time, search for specific skins, and analyze market trends with historical pricing data and top gainers. Compare marketplace listings across different weapons and collections to make informed trading decisions.

**Category:** Marketplaces | **Website:** [csgo.steamanalyst.com/](https://csgo.steamanalyst.com/) | **Docs:** [parse.bot/marketplace/138b8b0f-2295-445d-be09-86dfff1c7abf/csgo-steamanalyst-com-api](https://parse.bot/marketplace/138b8b0f-2295-445d-be09-86dfff1c7abf/csgo-steamanalyst-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-csgo-steamanalyst-com-api-138b8b0f/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_case_detail

Retrieve details for a specific weapon case including its full contents list and FAQ. Contents are schema.org ListItem objects with position, URL, and skin name. FAQ entries contain common questions about the case with accepted answers. The number_of_items includes all wear variants.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Case slug identifier (e.g. 'revolution-case', 'kilowatt-case') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-csgo-steamanalyst-com-api-138b8b0f/get_case_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_market_trends_overview

Retrieve high-level market statistics and per-weapon trend data for the entire CS2 skin market. Stats include total tracked items, trending up/down/stable counts, and total trading volume. Per-weapon data includes item count, average price, volume, total value, and 30-day price trend percentage.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-csgo-steamanalyst-com-api-138b8b0f/get_market_trends_overview \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_skin_detail

Retrieve full product details for a specific skin by its slug and wear condition. Returns schema.org Product data including name, description, image, SKU, category, aggregate pricing (low/high across marketplaces), aggregate rating, and additional properties. The SKU can be used with the price history endpoint.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Skin slug identifier (e.g. 'ak-47-asiimov', 'awp-dragon-lore') |
| `wear` | string | No | Wear condition slug: factory-new, minimal-wear, field-tested, well-worn, battle-scarred |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-csgo-steamanalyst-com-api-138b8b0f/get_skin_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>","wear":"<string>"}'
```

### get_skin_market_prices

Retrieve aggregate market pricing for a skin across multiple marketplaces. Returns the schema.org Product with AggregateOffer containing low price, high price, and offer count.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Skin slug identifier (e.g. 'ak-47-asiimov', 'awp-dragon-lore') |
| `wear` | string | No | Wear condition slug: factory-new, minimal-wear, field-tested, well-worn, battle-scarred |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-csgo-steamanalyst-com-api-138b8b0f/get_skin_market_prices \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>","wear":"<string>"}'
```

### get_skin_price_history

Retrieve 30-day historical price data (sparkline) for a skin. First resolves the skin's SKU from its product page, then fetches the daily price series. Prices are integers in cents (USD).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Skin slug identifier (e.g. 'ak-47-asiimov', 'awp-dragon-lore') |
| `wear` | string | No | Wear condition slug: factory-new, minimal-wear, field-tested, well-worn, battle-scarred |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-csgo-steamanalyst-com-api-138b8b0f/get_skin_price_history \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>","wear":"<string>"}'
```

### get_top_gainers

Retrieve weapons sorted by highest 30-day price trend percentage increase. Derived from market trends data, filtered to the top N by trend. Each entry includes the weapon name, number of tracked skins, average price, trading volume, total market value, and trend percentage.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of results to return |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-csgo-steamanalyst-com-api-138b8b0f/get_top_gainers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>"}'
```

### get_weapon_skins

List all skins available for a specific weapon with pagination. Returns schema.org ItemList data with each skin's name, URL, image, and current lowest price.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination |
| `weapon` | string | Yes | Weapon name slug (e.g. 'ak-47', 'awp', 'm4a4', 'desert-eagle') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-csgo-steamanalyst-com-api-138b8b0f/get_weapon_skins \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","weapon":"<string>"}'
```

### list_collections

List all available CS2 skin collections. Returns the full catalog of collections with display names and relative URL paths. Collections group skins by theme or operation release.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-csgo-steamanalyst-com-api-138b8b0f/list_collections \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_skins

Full-text search across all CS2 skins by keyword. Matches weapon name, skin name, and collection. Returns paginated results sorted by price descending, with pricing metadata and float ranges for each matching item. Each result includes a canonical slug suitable for the skin detail endpoint.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination |
| `query` | string | Yes | Search keyword (e.g. 'ak-47', 'dragon lore', 'asiimov') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-csgo-steamanalyst-com-api-138b8b0f/search_skins \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
