name.com Core API (1.2.0)
RESTful API for managing domains, DNS records, and related services at name.com. Access via HTTPS at api.name.com (production) or api.dev.name.com (testing). Supports standard authentication, rate-limited to 20 requests/second.
https://docs.name.com/_mock/coreapi/namecom.api/
https://api.dev.name.com/
Request
Get a alphabetical pricing list of all TLDs supported by name.com. The pricing returned will be your account level price in US Dollars (USD) and is the price you pay for non-premium registrations.
Please Note: This is general pricing for domains registered with the specified TLD. Individual domains may have different pricing based on a large number of factors. If you are trying to see pricing for a specific individual domain, you will need to use the Get Pricing For Domain API.
Please note that if null
is returned for any of the prices, it means that particular product is unavailable at name.com at the time of the request. For example, if registrationPrice
returns as null
in the response, it means that name.com is not currently accepting registrations for that TLD.
Any IDN TLDs will return in their unicode format.
Per Page is the number of records to return per request. Per Page defaults to 25.
The number of years to get pricing for. The requested duration must be between 1 and 10 (inclusive). If the duration is not passed in the request, it will default to 1.
A list of specific TLDs to get pricing for. Maximum of 25 TLDs can be requested at a time. When querying for IDN TLDs, due to character restrictions within a URL, they must be submitted in ASCII format. This means using "xn--9dbq2a" as opposed to it's unicode equivalent.
- Mock server
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/tldpricing
- Testing
https://api.dev.name.com/core/v1/tldpricing
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/tldpricing?perPage=25&page=1&duration=1&tlds=string'
A successful response.
LastPage is the identifier for the final page of results. It is only populated if there is another page of results after the current page.
NextPage is the identifier for the next page of results. It is only populated if there is another page of results after the current page.
The TLD the pricing applies to. For IDN TLDs, this will be the unicode representation of the TLD.
This your account level price in US Dollars (USD) and is the price you pay for non-premium registrations. It includes applicable rebates, promotions and/or sales.
Price in US Dollars (USD) before any rebates, promotions and/or sales when registering non-premium domains.
This your account level price in US Dollars (USD) and is the price you pay for renewals. It includes applicable rebates, promotions and/or sales.
This your account level price in US Dollars (USD) and is the price you pay for domain restorations. It includes applicable rebates, promotions and/or sales.
{ "lastPage": 0, "nextPage": 0, "totalCount": 0, "from": 0, "to": 0, "pricing": [ { … } ] }