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

## Access

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

## 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.paywithlocus.com/api/wrapped/parse-slickdeals-net-api-56b6b048/get_coupons \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-slickdeals-net-api-56b6b048/get_deals \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-slickdeals-net-api-56b6b048/get_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-slickdeals-net-api-56b6b048/get_forum_deals \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-slickdeals-net-api-56b6b048/get_surging_deals \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-slickdeals-net-api-56b6b048/search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
