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

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-spigen-com-api-72bfc40a/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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.paywithlocus.com/api/wrapped/parse-spigen-com-api-72bfc40a/get_best_sellers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-spigen-com-api-72bfc40a/get_collection_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-spigen-com-api-72bfc40a/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-spigen-com-api-72bfc40a/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","query":"<string>"}'
```
