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

> Find Makita power tools by searching product catalogs and comparing technical specifications, then locate authorized dealers or online retailers near you. Get detailed information on active model numbers to help choose the right tool for your project.

**Category:** E-commerce | **Website:** [makitatools.com/](https://makitatools.com/) | **Docs:** [parse.bot/marketplace/1cd51127-c1bf-403e-bcc0-421cb9f62c71/makitatools-com-api](https://parse.bot/marketplace/1cd51127-c1bf-403e-bcc0-421cb9f62c71/makitatools-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-makitatools-com-api-1cd51127/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### find_local_dealers

Find Makita dealers and retailers near a geographic location. Returns dealers sorted by distance with name, address, phone, distance, and tool specialization. Latitude and longitude are strongly recommended for accurate results; providing only a ZIP code may yield empty results from the upstream API.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `lat` | string | No | Latitude for precise location (e.g., '40.7128') |
| `lon` | string | No | Longitude for precise location (e.g., '-74.0060') |
| `radius` | integer | No | Search radius in miles |
| `zip_code` | string | Yes | ZIP code for the search area (e.g., '10001') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-makitatools-com-api-1cd51127/find_local_dealers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat":"<string>","lon":"<string>","radius":"<integer>","zip_code":"<string>"}'
```

### get_active_model_numbers

Retrieve a list of all active Makita model numbers, optionally filtered by product type. Returns a flat array of model number strings. Useful for enumerating the full catalog or feeding model numbers into get_product_details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_type` | integer | No | Product type filter. 0 returns all types (~6400 models), 1 returns cordless/power tools (~4400 models). Other integer values are accepted but may return empty results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-makitatools-com-api-1cd51127/get_active_model_numbers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_type":"<integer>"}'
```

### get_online_retailers

Retrieve all authorized Makita online retailers with their website links. No parameters required. Returns the complete list of authorized e-commerce partners.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-makitatools-com-api-1cd51127/get_online_retailers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_product_details

Retrieve comprehensive product details for a single Makita product by model number. Includes specifications, key features, documents (manuals, parts breakdowns), images, videos, and related model numbers. The model_number can be obtained from search_products or get_active_model_numbers.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `model_number` | string | Yes | Product model number (e.g., 'GPH03Z', 'XFD131') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-makitatools-com-api-1cd51127/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model_number":"<string>"}'
```

### search_products

Full-text search across Makita's product catalog by keyword. Returns product summaries including model number, title, description, images, and status badges. Useful for discovering products before fetching full details. Results are not paginated; the full matching set is returned.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword (e.g., 'drill', 'saw', 'impact') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-makitatools-com-api-1cd51127/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
