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

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

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-obelink-nl-api-733e669d/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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.paywithlocus.com/api/wrapped/parse-obelink-nl-api-733e669d/get_brands \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-obelink-nl-api-733e669d/get_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-obelink-nl-api-733e669d/get_category_filters \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-obelink-nl-api-733e669d/get_deals_promotions \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-obelink-nl-api-733e669d/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-obelink-nl-api-733e669d/get_product_reviews \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-obelink-nl-api-733e669d/get_products_by_category \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-obelink-nl-api-733e669d/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
