# Domains Monitor — 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 monitor domain information across multiple zones, access free domain lists, and retrieve detailed zone metadata and account information. Aggregate domain data and track availability across supported TLDs.

**Category:** Developer Tools | **Website:** [domains-monitor.com/](https://domains-monitor.com/) | **Docs:** [parse.bot/marketplace/6ce1a1c2-b3dd-4441-9592-852fe156e626/domains-monitor-com-api](https://parse.bot/marketplace/6ce1a1c2-b3dd-4441-9592-852fe156e626/domains-monitor-com-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/domains-monitor/`
**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

### Aggregate and export freelists

Aggregate all domains from all free lists across all zones, randomize their order, and return them as a single collection. Useful for getting a shuffled sample of domains across all supported TLDs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/domains-monitor/aggregate-and-export-freelists \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get account details

Retrieve account information including subscription status, token validity, and usage (API token required).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `token` | string | Yes | API Token |

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

### Get all zones

Retrieve a list of all available domain zones/TLDs supported by the service (API token required).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `format` | string | No | Response format (json or xml) |
| `token` | string | Yes | API Token (obtained via subscription) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/domains-monitor/get-all-zones \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"format":"<string>","token":"<string>"}'
```

### Get domainzones page

Scrape the main domain zones listing page to get a list of all 1,500+ supported zones with domain counts and update timestamps. Each zone entry contains the zone name, last updated timestamp, and total domain count.

**Estimated cost:** Metered

_No parameters required._

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

### Get freelist by zone

Extract the 100 free sample domains for a specific zone from the /freelists/ page. Returns the zone name and an array of domain strings.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `zone` | string | Yes | The domain zone to retrieve. Accepted values: com, net, org, info, gov, edu, de, ru, uk, nl, fr, us |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/domains-monitor/get-freelist-by-zone \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"zone":"<string>"}'
```

### Get freelists page

Scrape the /freelists/ page and extract all domain names shown in the free preview lists for all available zones. Returns a dictionary keyed by zone name (com, net, org, info, gov, edu, de, ru, uk, nl, fr, us) with arrays of sample domains for each zone.

**Estimated cost:** Metered

_No parameters required._

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

### Search domains

Search for domains by keyword across all zones or a specific zone (PRO account required).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search string (min 3 chars) |
| `token` | string | Yes | API Token |
| `zone` | string | No | Specific zone or 'full' for all |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/domains-monitor/search-domains \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>","token":"<string>","zone":"<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.