# Slickdeals — 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 discover deals, coupons, and trending bargains across thousands of retailers, along with community forum discussions about the best offers. Get detailed information about specific deals and instantly find surging hot bargains before they sell out.

**Category:** E-commerce | **Website:** [slickdeals.net/](https://slickdeals.net/) | **Docs:** [parse.bot/marketplace/56b6b048-fe3e-48b8-a565-85755e309469/slickdeals-net-api](https://parse.bot/marketplace/56b6b048-fe3e-48b8-a565-85755e309469/slickdeals-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/slickdeals/`
**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 coupons

Extract featured coupons and promo codes from the Slickdeals frontpage. Returns an array of coupon objects including title, code, discount, and views. No pagination; returns all currently featured coupons.

**Estimated cost:** Metered

_No parameters required._

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

### Get deals

Extract current frontpage deals from Slickdeals. Returns an array of deal objects with title, price, store, votes, and other metadata. Optionally filters by price threshold and formats results as email text. No pagination; returns all current frontpage deals in a single response.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `format_email` | boolean | No | If true, includes a plain-text email summary of the top 10 deals in the response |
| `price_threshold` | number | No | Filter to only include deals with a numeric price below this value |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/slickdeals/get-deals \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"format_email":"<boolean>","price_threshold":"<number>"}'
```

### Get details

Get detailed information for a specific deal page, including description, votes, comments, and expiration status. Accepts a full Slickdeals URL or a path starting with /f/. Comments are limited to up to 20 entries. A separate fetch per deal.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `deal_url` | string | Yes | Full URL or path to the deal page (e.g. 'https://slickdeals.net/f/12345678-deal-title' or '/f/12345678-deal-title') |

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

### Get forum deals

Extract deal threads from Slickdeals forum pages. Returns paginated thread listings with title, category, replies, views, and URL. Currently only forum_id 9 (Hot Deals) is confirmed to return results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `forum_id` | integer | No | Forum ID. Only 9 (Hot Deals) is confirmed working. |
| `page` | integer | No | Page number for pagination |

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

### Get surging deals

Get trending and surging deals from the Slickdeals Just For You recommendation carousel. Returns deals sorted by popularity with vote counts, fire/popular flags, and discount percentages. No pagination; returns up to 20 recommendations.

**Estimated cost:** Metered

_No parameters required._

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

### Search

Search for deals on Slickdeals by keyword. Returns paginated results including deal titles, prices, and URLs. Results are parsed from the search page and may include both deal entries and related comment entries.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination |
| `query` | string | Yes | Search keyword (e.g. 'laptop', 'iphone') |

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