Actions28
- Domain Actions
- DNS Record Actions
- SSL Actions
- User Actions
Overview
This node integrates with the Namecheap API to retrieve pricing information related to user account products. Specifically, for the User resource and Get Pricing operation, it fetches pricing details for different product types such as domain registrations or SSL certificates.
Typical use cases include:
- Automatically retrieving current pricing for domain registration, renewal, transfer, or reactivation to display or process in workflows.
- Getting pricing info for SSL certificates offered by Namecheap.
- Applying promotional codes to get discounted pricing dynamically.
For example, a workflow could use this node to check the cost of registering a ".com" domain before proceeding with purchase automation.
Properties
| Name | Meaning |
|---|---|
| Product Type | The type of product to get pricing for. Options: - Domain: Domain registration and management - SSL Certificate: SSL certificates from COMODO |
| Product Category | Specific category within the product type (only shown if Product Type is Domain). Options: - Domains: Domain registration and management |
| Action | The specific action to get pricing for (shown if Product Type is Domain). Options: - Register: Domain registration pricing - Renew: Domain renewal pricing - Reactivate: Domain reactivation pricing - Transfer: Domain transfer pricing |
| Product Name | The name of the product, e.g., the top-level domain (TLD) like "com", "net", etc. This is required. |
| Additional Fields > Promotion Code | Optional promotional or coupon code to apply for discounted pricing |
Output
The node outputs an array of items where each item contains a JSON object with the following structure:
{
"success": true,
"data": { /* pricing information returned from Namecheap API */ }
}
success: Boolean indicating whether the request was successful.data: Contains the detailed pricing information for the requested product and action. The exact structure depends on the product type and action but typically includes prices, currency, and any discounts applied.
If an error occurs and the node is configured to continue on failure, the output will contain:
{
"success": false,
"error": "Error message describing what went wrong"
}
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Namecheap API via an API key credential configured in n8n.
- The node depends on the internal Namecheap API client implementations for domains, SSL, DNS, and user resources.
- No additional external dependencies beyond the Namecheap API and its authentication.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing an unsupported product name or TLD may result in errors or empty pricing data.
- Using an invalid promotion code might return pricing without discount or an error.
- Selecting an unsupported action for the product type can cause operation errors.
Error messages:
"The operation \"getPricing\" is not known for resource \"user\"!"— indicates a misconfiguration of the operation or resource parameters.- API errors returned from Namecheap will be surfaced in the
errorfield when continuing on fail.
Resolutions:
- Verify API credentials are correctly set up.
- Double-check property values, especially product names and actions.
- Ensure the promotion code is valid and applicable.
- Use the correct combination of resource and operation as per the node's supported options.