# Spigen — 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 Spigen's catalog of phone cases, tablet accessories, and car gear to find specific products, view detailed information, explore curated collections, and discover top-selling items. Get instant access to product details, pricing, and availability across Spigen's full range of protective accessories and mobile gear.

**Category:** E-commerce | **Website:** [www.spigen.com/](https://www.spigen.com/) | **Docs:** [parse.bot/marketplace/72bfc40a-12a5-47c6-8b5f-6a7543c08887/spigen-com-api](https://parse.bot/marketplace/72bfc40a-12a5-47c6-8b5f-6a7543c08887/spigen-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/spigen/`
**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 best sellers

Retrieve Spigen's best-selling products. Returns a paginated list of top-selling items across all categories, ordered by sales rank. Uses the 'best-sellers' collection internally.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of products per page. Must be between 1 and 250. |
| `page` | integer | No | Page number for pagination. |

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

### Get collection products

Browse products from a named Spigen collection (category). Returns a paginated list of product summaries with pricing from the first variant. Collections map to site navigation categories such as 'all-auto', 'chargers', 'all-ipad-series', 'iphone-16-series'.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `collection` | string | Yes | Collection handle/slug (e.g. 'all-auto', 'chargers', 'all-products', 'iphone-16-series', 'tesla-model-y'). Available from the site's navigation. |
| `limit` | integer | No | Number of products per page. Must be between 1 and 250. |
| `page` | integer | No | Page number for pagination. |

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

### Get product details

Retrieve full details for a single Spigen product by its handle (URL slug). Returns all variants with pricing and SKUs, available options (device, color, status), up to 20 images, and product metadata. The handle is available from search_products or get_collection_products results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `handle` | string | Yes | Product handle/slug from the product URL (e.g. 'iphone-16-series-case-ultra-hybrid'). Available from search_products or get_collection_products results. |

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

### Search products

Full-text predictive search across Spigen's product catalog. Matches against product titles and types. Returns lightweight product summaries with pricing, availability, and a featured image. Limited to 50 results per call; no pagination beyond that cap.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of results to return. Must be between 1 and 50. |
| `query` | string | Yes | Search query string (e.g. 'iPhone 16', 'Tesla', 'screen protector'). |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/spigen/search-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","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.