# Gamma (Belgium) — 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 products from Gamma.be to find home improvement items with real-time pricing and detailed specifications. Get category listings and search suggestions to easily discover what you need at Belgium's leading home improvement store.

**Category:** E-commerce | **Website:** [gamma.be/](https://gamma.be/) | **Docs:** [parse.bot/marketplace/d70f9ed1-ee9f-4657-819b-c10febfa1986/gamma-be-api](https://parse.bot/marketplace/d70f9ed1-ee9f-4657-819b-c10febfa1986/gamma-be-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/gamma-belgium/`
**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 categories

Returns the full category tree from gamma.be. Top-level categories contain nested subcategories recursively, each with name, categoryUrl, and uid. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

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

### Get product details

Point-lookup for a single product by its numeric ID. Returns all search-level fields plus full description, multiple images, store availability count, delivery info, and French URL. The 'B' prefix is optional and stripped automatically.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Product ID (e.g. '224235' or 'B224235'). The 'B' prefix is optional and will be stripped. |

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

### Search products

Full-text search over Gamma.be product catalog. Returns paginated product listings with metadata including prices, dimensions, materials, reviews, stock info, and variants. Pagination via page number; each page returns up to `limit` items. Price fetching adds a secondary tile request per batch — set include_prices to 'false' for faster, price-less results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `include_prices` | string | No | Whether to fetch prices. Accepted values: 'true', 'false'. Set to 'false' for faster results. |
| `limit` | integer | No | Results per page (max 50) |
| `page` | integer | No | Page number (1-indexed) |
| `query` | string | No | Search query for products |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/gamma-belgium/search-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"include_prices":"<string>","limit":"<integer>","page":"<integer>","query":"<string>"}'
```

### Search suggestions

Autocomplete endpoint returning search term suggestions for a partial query. Each suggestion includes the completed query string and a popularity score. Useful for building type-ahead search UIs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Max number of suggestions to return |
| `query` | string | Yes | Partial search query for autocomplete |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/gamma-belgium/search-suggestions \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.