# Machinery House — 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 metalworking, woodworking, and workshop machines from Machinery House's Australian inventory to find specific products and access detailed information like pricing, specifications, and availability. Quickly compare equipment options and retrieve comprehensive product details to help you source the right tools for your workshop needs.

**Category:** E-commerce | **Website:** [www.machineryhouse.com.au/](https://www.machineryhouse.com.au/) | **Docs:** [parse.bot/marketplace/0dbe06df-34af-4e7b-bc1d-ef566467dd0d/machineryhouse-com-au-api](https://parse.bot/marketplace/0dbe06df-34af-4e7b-bc1d-ef566467dd0d/machineryhouse-com-au-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-machineryhouse-com-au-api-0dbe06df/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product

Get detailed product information for a specific product by its order code. Returns the full name, brand, model, description, prices (ex-GST and inc-GST in AUD), complete specifications table, and product URL. The specifications dictionary contains all technical specs listed on the product page with keys like '(mm)Swing Over Bed', 'MODEL', '(kW / hp)Motor Power', etc.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_code` | string | Yes | Product order code (e.g. 'L682D', 'B007', 'M141D'). Obtainable from search_products results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-machineryhouse-com-au-api-0dbe06df/get_product \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_code":"<string>"}'
```

### search_products

Search for products on machineryhouse.com.au by keyword. Returns paginated results with product code, name, brand, prices (ex-GST and inc-GST in AUD), and product URL. Results include all brands stocked (HAFCO-METALMASTER, OPTIMUM, etc.). Pagination is page-based with 24 items per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination (1-based). |
| `query` | string | Yes | Search keywords (e.g. 'metal lathe', 'mill drill', 'metal bandsaw'). |
| `sort` | string | No | Sort order for results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-machineryhouse-com-au-api-0dbe06df/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>","sort":"<string>"}'
```
