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

> 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-hpoi-net-api-d365c565/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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.paywithlocus.com/api/wrapped/parse-hpoi-net-api-d365c565/get_item_comments \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-hpoi-net-api-d365c565/get_item_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-hpoi-net-api-d365c565/get_item_gallery \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-hpoi-net-api-d365c565/get_manufacturer_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-hpoi-net-api-d365c565/get_manufacturer_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-hpoi-net-api-d365c565/search_items \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<integer>","keyword":"<string>","order":"<string>","page":"<integer>","r18":"<integer>"}'
```
