# Namecheap Integration via LowCodeAPI

**Last Updated**: February 10, 2026

## Overview
Domain registration and hosting

**Categories:**
- {'id': 'domain-hosting', 'name': 'Domain & Hosting'}

## Base Endpoint
https://api.lowcodeapi.com/namecheap

**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`

## Authentication
**Type:** TOKEN

**Official Documentation:** https://www.namecheap.com/support/api/intro/

## URL Format (Important)

LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.

### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`

### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`

### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider

## API Categories

## Common Endpoints

### Creates a new address for the user

**Method:** GET
**LowCodeAPI Path:** /xml.response

**New Format URL:**
https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/namecheap/users.address.create?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| Address1 | string |  |
| Address2 | string |  |
| AddressName | string |  |
| City | string |  |
| Country | string |  |
| DefaultYN | number |  |
| EmailAddress | string |  |
| Fax | string |  |
| FirstName | string |  |
| JobTitle | string |  |
| LastName | string |  |
| Organization | string |  |
| Phone | string |  |
| PhoneExt | string |  |
| StateProvince | string |  |
| StateProvinceChoice | string |  |
| Zip | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN'
```

### Deletes the particular address for the user

**Method:** GET
**LowCodeAPI Path:** /xml.response

**New Format URL:**
https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/namecheap/users.address.delete?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| AddressId | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN'
```

### Gets information for the requested addressID

**Method:** GET
**LowCodeAPI Path:** /xml.response

**New Format URL:**
https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/namecheap/users.address.getinfo?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| AddressId | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN'
```

### Retrieve user account's addressIDs and names

**Method:** GET
**LowCodeAPI Path:** /xml.response

**New Format URL:**
https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/namecheap/users.address.getlist?api_token=YOUR_API_TOKEN

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN'
```

### Sets default address for the user

**Method:** GET
**LowCodeAPI Path:** /xml.response

**New Format URL:**
https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/namecheap/users.address.setdefault?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| AddressId | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN'
```

### Updates the particular address of the user

**Method:** GET
**LowCodeAPI Path:** /xml.response

**New Format URL:**
https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/namecheap/users.address.update?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| Address1 | string |  |
| Address2 | string |  |
| AddressId | number |  |
| AddressName | string |  |
| City | string |  |
| Country | string |  |
| DefaultYN | number |  |
| EmailAddress | string |  |
| Fax | string |  |
| FirstName | string |  |
| JobTitle | string |  |
| LastName | string |  |
| Organization | string |  |
| Phone | string |  |
| PhoneExt | string |  |
| StateProvince | string |  |
| StateProvinceChoice | string |  |
| Zip | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN'
```

### Changes domain privacy email address

**Method:** GET
**LowCodeAPI Path:** /xml.response

**New Format URL:**
https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/namecheap/whoisguard.changeemailaddress?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| WhoisguardID | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN'
```

### Enables domain privacy protection

**Method:** GET
**LowCodeAPI Path:** /xml.response

**New Format URL:**
https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/namecheap/whoisguard.enable?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| ForwardedToEmail | string |  |
| WhoisguardID | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN'
```

### Disables domain privacy protection

**Method:** GET
**LowCodeAPI Path:** /xml.response

**New Format URL:**
https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/namecheap/whoisguard.disable?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| WhoisguardID | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN'
```

### Gets the list of domain privacy protection

**Method:** GET
**LowCodeAPI Path:** /xml.response

**New Format URL:**
https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/namecheap/whoisguard.getlist?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| ListType | string |  |
| Page | number |  |
| PageSize | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/namecheap/xml.response?api_token=YOUR_API_TOKEN'
```


## Usage Examples

### Example 1: Basic API Request (New Format)

Making a simple GET request to retrieve resources:

```bash
# Get a list of resources - no path parameters needed
curl -X GET "https://api.lowcodeapi.com/namecheap/endpoint?api_token=YOUR_API_TOKEN"
```

### Example 2: Request with Path Parameters (New Format)

Retrieving a specific resource using its ID:

```bash
# Get specific resource by ID - replace RESOURCE_ID with actual ID from previous response
curl -X GET "https://api.lowcodeapi.com/namecheap/endpoint/{RESOURCE_ID}?api_token=YOUR_API_TOKEN"
# Note: RESOURCE_ID typically comes from a previous list request or from the provider dashboard
```

### Example 3: POST Request with Body (New Format)

Creating a new resource:

```bash
# Create a new resource
curl -X POST "https://api.lowcodeapi.com/namecheap/endpoint?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"field": "value", "another_field": "another_value"}'
```

## Error Handling

LowCodeAPI returns standard HTTP status codes. Common errors:

| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |

All error responses include error details:

```json
{
  "data": {
    "error": {
      "message": "Error description",
      "code": "ERROR_CODE"
    }
  }
}
```

## Complete Endpoint Reference

| Endpoint | Method | Category |
|----------|--------|----------|
| Creates a new address for the user | GET | Address |
| Deletes the particular address for the user | GET | Address |
| Gets information for the requested addressID | GET | Address |
| Retrieve user account's addressIDs and names | GET | Address |
| Sets default address for the user | GET | Address |
| Updates the particular address of the user | GET | Address |
| Changes domain privacy email address | GET | Domain Privacy |
| Enables domain privacy protection | GET | Domain Privacy |
| Disables domain privacy protection | GET | Domain Privacy |
| Gets the list of domain privacy protection | GET | Domain Privacy |
| Renews domain privacy protection | GET | Domain Privacy |
| Get user's domains as a list | GET | Domains |
| Gets contact info for requested domain | GET | Domains |
| Registers a new domain name | GET | Domains |
| Returns a list of tlds | GET | Domains |
| Sets contact information for the domain | GET | Domains |
| Checks the availability of domains | GET | Domains |
| Reactivates an expired domain | GET | Domains |
| Renews an expiring domain | GET | Domains |
| Check domain lock status with RegistrarLock API | GET | Domains |
| Sets the RegistrarLock status for a domain | GET | Domains |
| Returns information about the requested domain | GET | Domains |
| Set default DNS for free services: host management... | GET | Domains DNS |
| Use custom DNS servers for domain; disable URL/ema... | GET | Domains DNS |
| Retrieve DNS servers for requested domain | GET | Domains DNS |
| Get DNS host records for domain | GET | Domains DNS |
| Retrieve domain's email forwarding settings | GET | Domains DNS |
| Enable email forwarding for a domain | GET | Domains DNS |
| Sets DNS host records settings for the requested d... | GET | Domains DNS |
| Creates a new nameserver | GET | Domains NS |
| Deletes a nameserver associated with the requested... | GET | Domains NS |
| Retrieves information about a registered nameserve... | GET | Domains NS |
| Updates the IP address of a registered nameserver | GET | Domains NS |
| Transfers a domain to Namecheap | GET | Domains Transfer |
| Gets the status of a particular transfer | GET | Domains Transfer |
| Updates the status of a particular transfer | GET | Domains Transfer |
| Gets the list of domain transfers | GET | Domains Transfer |
| Creates a new SSL certificate | GET | SSL |
| Returns a list of SSL certificates for the particu... | GET | SSL |
| Parsers the CSR | GET | SSL |
| Gets approver email list for the requested certifi... | GET | SSL |
| Activates a newly purchased SSL certificate | GET | SSL |
| Resends the approver email | GET | SSL |
| Retrieves information about the requested SSL cert... | GET | SSL |
| Renews an SSL certificate | GET | SSL |
| Reissues an SSL certificate | GET | SSL |
| Resends the fulfilment email containing the certif... | GET | SSL |
| Buy additional domains for existing certificate | GET | SSL |
| Revokes a re-issued SSL certificate | GET | SSL |
| Update certificate validation method or retry mech... | GET | SSL |
| Returns pricing information for a requested produc... | GET | Users |
| Get account fund details: balances, earnings, with... | GET | Users |
| Changes password of the particular user's account | GET | Users |
| Updates user account information for the particula... | GET | Users |
| Creates a request to add funds through a credit ca... | GET | Users |
| Gets the status of add funds request | GET | Users |
| Creates a new account at NameCheap under this ApiU... | GET | Users |
| Verify user account credentials with namecheap.use... | GET | Users |
| API sends password reset link via email | GET | Users |

## API Definition Endpoints

You can fetch the complete API specification for this provider:

**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/namecheap/openapi'
```

**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/namecheap/definition'
```

## Response Format

All responses are wrapped in a `data` key:

```json
{
  "data": {
    // Actual response from provider (object or array)
  }
}
```