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

> Search and browse the Hpoi collectible anime figure database. Retrieve paginated item listings with full filtering support, access detailed product information including specifications, release dates, images, and manufacturer details, and fetch user comments and official gallery images for any item.

**Category:** E-commerce | **Website:** [hpoi.net/](https://hpoi.net/) | **Docs:** [parse.bot/marketplace/d365c565-9438-473e-bc51-6c5d946bd11e/hpoi-net-api](https://parse.bot/marketplace/d365c565-9438-473e-bc51-6c5d946bd11e/hpoi-net-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/hpoi/`
**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 item comments

Get user comments for a specific item. Requires node_id from the get_item_detail endpoint. Returns paginated, deduplicated comments with author, text, and timestamp.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `node_id` | string | Yes | Node ID obtained from get_item_detail response |
| `page` | integer | No | Page number starting from 1 |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/hpoi/get-item-comments \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"node_id":"<string>","page":"<integer>"}'
```

### Get item detail

Get detailed information for a specific collectible item by ID. Returns attributes, collection counts, score, images, and the node_id needed for comments and gallery endpoints.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Item ID (numeric string, e.g. '120284') |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/hpoi/get-item-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"id":"<string>"}'
```

### Get item gallery

Get official gallery images for an item. Requires both item_id and node_id which must correspond to the same item. Offset is an absolute image index; requesting beyond available images returns an empty array.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `item_id` | string | Yes | Item ID (e.g. '120284') |
| `node_id` | string | Yes | Node ID from get_item_detail |
| `offset` | integer | No | Absolute image index offset for pagination |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/hpoi/get-item-gallery \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"item_id":"<string>","node_id":"<string>","offset":"<integer>"}'
```

### Get manufacturer detail

Get detailed information and featured products for a specific manufacturer. Products shown are the manufacturer's highlighted items, not a full paginated catalog.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Manufacturer ID (e.g. '18' for 良笑/Good Smile Company) |
| `page` | integer | No | Page number for product listing |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/hpoi/get-manufacturer-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"id":"<string>","page":"<integer>"}'
```

### Get manufacturer list

Get a list of popular manufacturers with their item counts and ratings. Returns all featured manufacturers in a single page.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/hpoi/get-manufacturer-list \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Search items

Search for collectible items in the Hpoi database with filters. Returns paginated results sorted by the specified order. Each page returns up to 30 items. Results include basic metadata; use get_item_detail for full attributes.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | integer | No | Category ID filter |
| `keyword` | string | No | Search keyword to filter items by name |
| `order` | string | No | Sort order for results |
| `page` | integer | No | Page number starting from 1 |
| `r18` | integer | No | R18 content filter |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/hpoi/search-items \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category":"<integer>","keyword":"<string>","order":"<string>","page":"<integer>","r18":"<integer>"}'
```

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