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

> Browse and search thousands of Dofus equipment pieces and weapons to find detailed stats, compare items by category, and discover crafting recipes with all required resources. Get instant access to comprehensive game equipment data covering over 3,200 items to optimize your gear and crafting strategies.

**Category:** Entertainment | **Website:** [dofusroom.com/](https://dofusroom.com/) | **Docs:** [parse.bot/marketplace/56049d40-8c1b-4c9d-b048-7273397d5c51/dofusroom-com-api](https://parse.bot/marketplace/56049d40-8c1b-4c9d-b048-7273397d5c51/dofusroom-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-dofusroom-com-api-56049d40/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_category_counts

Get the count of items in each category and subcategory. Returns counts for top-level categories (equipements, armes, ressources, consommables, creatures, panoplies) and their subcategories.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dofusroom-com-api-56049d40/get_category_counts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_item_details

Get detailed structured information about a specific item including stats, conditions, and set membership. Returns the full stat block with human-readable descriptions, equipment conditions, and set association.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `item_id` | string | Yes | The item ID (from list_equipment results) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dofusroom-com-api-56049d40/get_item_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id":"<string>"}'
```

### get_item_recipe

Get the crafting recipe for a specific item, including all required resources and their quantities. Returns has_recipe=false for items without a recipe.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `item_id` | string | Yes | The item ID (from list_equipment results) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dofusroom-com-api-56049d40/get_item_recipe \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id":"<string>"}'
```

### list_equipment

List equipment items with pagination and optional filters. Returns item IDs, names, types, levels, and set information. Items are sorted by level descending. Supports offset-based pagination via the offset param.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Item category to list |
| `limit` | integer | No | Number of items to return (max ~50) |
| `max_level` | string | No | Maximum level filter (1-200) |
| `min_level` | string | No | Minimum level filter (1-200) |
| `name` | string | No | Filter by item name (partial match) |
| `offset` | integer | No | Pagination offset |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dofusroom-com-api-56049d40/list_equipment \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","limit":"<integer>","max_level":"<string>","min_level":"<string>","name":"<string>","offset":"<integer>"}'
```

### list_equipment_with_recipes

List equipment items along with their crafting recipes in one call. Fetches both the item list and each item's recipe. Best for getting equipment names and crafting resources together. Keep limit small to avoid timeouts.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Item category |
| `limit` | integer | No | Number of items to return (default 10, keep small to avoid timeouts) |
| `max_level` | string | No | Maximum level filter (1-200) |
| `min_level` | string | No | Minimum level filter (1-200) |
| `name` | string | No | Filter by item name (partial match) |
| `offset` | integer | No | Pagination offset |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dofusroom-com-api-56049d40/list_equipment_with_recipes \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","limit":"<integer>","max_level":"<string>","min_level":"<string>","name":"<string>","offset":"<integer>"}'
```

### search_items

Search for items by name within a category. Uses partial matching on the item name. Returns matching items with their IDs, names, types, levels, and set info.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Item category to search in |
| `limit` | integer | No | Max results to return |
| `max_level` | string | No | Maximum level filter (1-200) |
| `min_level` | string | No | Minimum level filter (1-200) |
| `query` | string | Yes | Search query (item name, partial match) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dofusroom-com-api-56049d40/search_items \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","limit":"<integer>","max_level":"<string>","min_level":"<string>","query":"<string>"}'
```
