# Woolworths (Australia) — 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.

> Search and browse Woolworths supermarket products with detailed information including nutritional content, current pricing, and special offers. Get autocomplete suggestions while shopping, explore products by category, and access real-time data on what's available and on sale.

**Category:** Food & Dining | **Website:** [woolworths.com.au/](https://woolworths.com.au/) | **Docs:** [parse.bot/marketplace/8abc9026-2b7c-4a44-bc12-e610b16029f5/woolworths-com-au-api](https://parse.bot/marketplace/8abc9026-2b7c-4a44-bc12-e610b16029f5/woolworths-com-au-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/woolworths-australia/`
**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 category products

Browse products within a specific category using the category's node_id and url_friendly_name from list_categories. Returns paginated product listings with total count.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | Yes | Category node ID from list_categories (e.g. '1_5AF3A0A' for Drinks). |
| `category_url` | string | No | URL-friendly category name from list_categories (e.g. 'drinks', 'dairy-eggs-fridge'). |
| `page` | integer | No | Page number for pagination. |
| `page_size` | integer | No | Number of products per page. |
| `sort_type` | string | No | Sort order for results. |

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

### Get product detail

Get full product details including nutritional information, ingredients, allergens, health star rating, country of origin, and images for a specific product identified by its stockcode. Returns a single product object with all available metadata.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `stockcode` | string | Yes | Woolworths product stockcode (numeric ID from search_products results, e.g. '888140'). |

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

### Get specials

Get current specials and promotional products by searching with the specials filter enabled. Requires a search term to scope which specials are returned. Paginates via page number.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `page_size` | integer | No | Number of products per page. |
| `search_term` | string | No | Search term to filter specials (e.g. 'milk', 'bread', 'chocolate'). |
| `sort_type` | string | No | Sort order for results. |

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

### List categories

List the full product category tree including specials, departments, and subcategories. Each category includes a node_id and url_friendly_name that can be used with get_category_products. No parameters required.

**Estimated cost:** Metered

_No parameters required._

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

### Search products

Search for products by keyword with pagination and sorting. Returns matching products with pricing, availability, and stock information. Paginates via page number; total_products gives the full count of matching results across all pages.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `is_special` | string | No | Filter to only show products on special. Accepts: true, false. |
| `page` | integer | No | Page number for pagination. |
| `page_size` | integer | No | Number of products per page. |
| `search_term` | string | No | Search query term. |
| `sort_type` | string | No | Sort order for results. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/woolworths-australia/search-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"is_special":"<string>","page":"<integer>","page_size":"<integer>","search_term":"<string>","sort_type":"<string>"}'
```

### Search suggestions

Get autocomplete search suggestions for a given partial or complete search term. Returns up to 10 suggestion strings and any auto-corrected term.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `search_term` | string | Yes | Partial or complete search term to get suggestions for. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/woolworths-australia/search-suggestions \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"search_term":"<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.