# Db Damijing — 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.

> Db Damijing provides 2 callable API endpoints through the Parse marketplace.

**Category:** Entertainment | **Website:** [db.damijing.com/](https://db.damijing.com/) | **Docs:** [parse.bot/marketplace/76cf7404-ed88-4bd3-9a3b-650259aeffc1/db-damijing-com-api](https://parse.bot/marketplace/76cf7404-ed88-4bd3-9a3b-650259aeffc1/db-damijing-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-db-damijing-com-api-76cf7404/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_item_detail

Get detailed information for a specific equipment item by its numeric ID. Returns stats, damage, slot, binding info, durability, flavor text, and drop source. The item_id can be obtained from search_items results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `item_id` | string | Yes | Numeric item ID (e.g. 268200). Obtainable from search_items results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-db-damijing-com-api-76cf7404/get_item_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id":"<string>"}'
```

### search_items

Search game equipment items with optional filters for item type, name, and quality. Returns paginated results ordered by item level descending. Requires class_id to scope the search to a specific item category (weapons, armor, etc). Without class_id, returns recently added items across all categories.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `class_id` | string | No | Item class ID to filter by category. Common values: 2 (weapons), 4 (armor). When provided, scopes the search and enables name filtering. |
| `name` | string | No | Item name search keyword (Chinese). Filters items whose name contains this string. Requires class_id to be set. |
| `page` | integer | No | Page number for pagination (1-based). |
| `page_size` | integer | No | Number of items per page (1-50). |
| `quality` | string | No | Quality filter. Values observed: 普通 (Common), 优秀 (Uncommon), 精良 (Rare), 史诗 (Epic), 传说 (Legendary). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-db-damijing-com-api-76cf7404/search_items \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"class_id":"<string>","name":"<string>","page":"<integer>","page_size":"<integer>","quality":"<string>"}'
```
