# Namecheap — 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 for available domain names, check their registration status, and browse TLD pricing across different extensions. Discover discounted domains on the marketplace and explore hosting bundles to find the perfect combination for your website needs.

**Category:** Developer Tools | **Website:** [namecheap.com/](https://namecheap.com/) | **Docs:** [parse.bot/marketplace/dfad2425-ccc9-4e8e-9c09-f61f119d1a97/namecheap-com-api](https://parse.bot/marketplace/dfad2425-ccc9-4e8e-9c09-f61f119d1a97/namecheap-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-namecheap-com-api-dfad2425/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### check_domain_status

Check marketplace availability status for a list of specific domains. Returns each domain's marketplace status (active if listed, notfound if not on marketplace). This checks marketplace presence, not general registration availability.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `domains` | string | Yes | Comma-separated list of domains to check (e.g. 'google.com,test.ai'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-namecheap-com-api-dfad2425/check_domain_status \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domains":"<string>"}'
```

### get_hosting_bundles

List web hosting plan bundles that include free or discounted domains. Returns bundle details with pricing for both hosting and domain components, including renewal pricing and duration.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product` | string | No | Hosting plan name to get bundles for. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-namecheap-com-api-dfad2425/get_hosting_bundles \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product":"<string>"}'
```

### get_market_home

Get popular and featured domain collections from the Namecheap marketplace homepage. Returns themed collections (Popular, Closeouts, AI, etc.) with their top auction listings, plus aggregate sale counts.

**Estimated cost:** Metered

_No parameters required._

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

### list_tld_prices

Get comprehensive pricing for all TLDs (generic and country-code), including registration, renewal, and promotional hints. Returns an array of TLD objects with pricing details. Each TLD includes its type (GTLD or CCTLD), categories, and year limits for registration.

**Estimated cost:** Metered

_No parameters required._

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

### search_market_auctions

Search and list active domains in Namecheap marketplace auctions. Returns auction details like current price, bid count, end date, and domain valuation metrics. Results are paginated by page number.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `keyword` | string | No | Search term to filter auction domains by name. |
| `limit` | integer | No | Maximum items per page. |
| `page` | integer | No | Page number for pagination. |
| `sort` | string | No | Sorting criteria for results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-namecheap-com-api-dfad2425/search_market_auctions \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"<string>","limit":"<integer>","page":"<integer>","sort":"<string>"}'
```
