# Obelink — 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.

> Access product catalogs, search items, and browse detailed information including reviews, brands, and current deals from Obelink's online store. Filter products by category, compare options, and discover promotional offers all in one place.

**Category:** E-commerce | **Website:** [obelink.nl/](https://obelink.nl/) | **Docs:** [parse.bot/marketplace/733e669d-5e74-4849-8c83-1d61f77e27e3/obelink-nl-api](https://parse.bot/marketplace/733e669d-5e74-4849-8c83-1d61f77e27e3/obelink-nl-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/obelink/`
**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 brands

Returns a list of all brands available on obelink.nl from the /merken/ page. Each brand has a name, full URL, and URL slug.

**Estimated cost:** Metered

_No parameters required._

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

### Get categories

Returns a list of top-level product categories available on obelink.nl, extracted from the homepage navigation. Categories include Tenten, Voortenten, Luifels, Kampeerartikelen, and others. Each category has a name, full URL, and slug.

**Estimated cost:** Metered

_No parameters required._

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

### Get category filters

Returns available subcategories, usage tags, sorting options, and total result count for a category page. Works best with leaf category URLs that have product listings (e.g. /tenten/4-persoons-tenten/). Top-level categories return subcategories but may lack sort options or total results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_url` | string | Yes | Category URL path, e.g. /tenten/ or /kampeermeubelen/kampeerstoelen/ |

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

### Get deals promotions

Returns currently active deals and promotions from the /acties/ page. Products with active deals include pricing, ratings, and availability information.

**Estimated cost:** Metered

_No parameters required._

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

### Get product details

Returns full details for a single product, including specifications, images, pricing, and related products. Extracts data from JSON-LD structured data on the product page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_url` | string | Yes | Product URL path, e.g. /obelink-heavy-duty-schroefharingen.html |

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

### Get product reviews

Returns customer reviews for a product. Fetches reviews via Next.js server action using the product ID extracted from the product page. Returns review items, rating summary, and recommendation percentages. Paginated with 5 reviews per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for review pagination (5 reviews per page). |
| `product_url` | string | Yes | Product URL path, e.g. /obelink-heavy-duty-schroefharingen.html |

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

### Get products by category

Returns a paginated list of products for a specific category page. The category must be a leaf category with product listings (e.g. /tenten/4-persoons-tenten/), not a top-level parent category. Products are extracted from JSON-LD structured data on the page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_url` | string | Yes | Category URL path, e.g. /tenten/4-persoons-tenten/ or /kampeermeubelen/kampeerstoelen/ |
| `page` | integer | No | Page number for pagination. |
| `sort` | string | No | Sort option for product listing. |

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

### Search products

Searches products by keyword. The site may redirect common search terms to a matching category or brand page. When redirected, those products are returned with the redirected_to URL. Non-redirected searches return products from the search results page. Pagination via the page parameter.

**Estimated cost:** Metered

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

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/obelink/search-products \
  -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.