# Dofusroom — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/dofusroom/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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.beta.paywithlocus.com/api/wrapped/credits/dofusroom/get-category-counts \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/dofusroom/get-item-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/dofusroom/get-item-recipe \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/dofusroom/list-equipment \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/dofusroom/list-equipment-with-recipes \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/dofusroom/search-items \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","limit":"<integer>","max_level":"<string>","min_level":"<string>","query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.