# Iggm — 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 compare unit prices for items available in the IGGM Grow A Garden 2 marketplace, with bulk listings automatically converted to per-unit pricing for easy comparison. Access paginated listings or retrieve all marketplace items at once to find the best deals.

**Category:** Marketplaces | **Website:** [www.iggm.com/grow-a-garden-2/items](https://www.iggm.com/grow-a-garden-2/items) | **Docs:** [parse.bot/marketplace/9b2e19aa-57cb-400b-93b8-bad54e305489/iggm-com-api](https://parse.bot/marketplace/9b2e19aa-57cb-400b-93b8-bad54e305489/iggm-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-iggm-com-api-9b2e19aa/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_items

Fetch all Grow A Garden 2 items in a single call by iterating all pages internally. Returns every item with its normalized unit price. Bulk listings are automatically divided by their quantity to produce the per-unit cost.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-iggm-com-api-9b2e19aa/get_all_items \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_items_page

Fetch a single page of Grow A Garden 2 items with their unit prices. Each page contains up to 30 items. Bulk listings (e.g. 'Gold Seed×100') are normalized to their per-unit price. Results are auto-iterated across pages.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number to fetch (1-based). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-iggm-com-api-9b2e19aa/get_items_page \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>"}'
```
