# Gobilda — 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 data from gobilda.com.

**Category:** E-commerce | **Website:** [www.gobilda.com/](https://www.gobilda.com/) | **Docs:** [parse.bot/marketplace/2f01695f-3183-4901-83b1-84896407dc7b/gobilda-com-api](https://parse.bot/marketplace/2f01695f-3183-4901-83b1-84896407dc7b/gobilda-com-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-gobilda-com-api-2f01695f/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product

Retrieve detailed product information by SKU (product code). Returns full product data including all images, variants, pricing, and availability. The SKU must be an exact match.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sku` | string | Yes | Product SKU (product code), e.g. 2000-0025-0002. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-gobilda-com-api-2f01695f/get_product \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sku":"<string>"}'
```

### search_products

Search the goBILDA product catalog by keyword query and/or category ID. Returns paginated product listings with metadata including matching categories and search suggestions. Results exclude discontinued products by default. Each page returns up to 250 items; results are auto-iterated across pages.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | No | Numeric category ID to filter products. Obtain from the categories array in search results. Example: 268 for Standard Size Servos. |
| `include_discontinued` | boolean | No | When true, includes discontinued products in results. |
| `limit` | integer | No | Maximum number of items per page (1-250). |
| `page` | integer | No | Page number for pagination (1-based). |
| `query` | string | No | Search query string. When empty and category_id is provided, returns all products in that category. |
| `sort_by` | string | No | Field to sort results by. |
| `sort_order` | string | No | Sort direction. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-gobilda-com-api-2f01695f/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_id":"<string>","include_discontinued":"<boolean>","limit":"<integer>","page":"<integer>","query":"<string>","sort_by":"<string>","sort_order":"<string>"}'
```
