Using API, I am trying to fetch domain availability and its price in GoDaddy. However, the price shown on the front end GoDaddy webpage($11.99) doesn't match on the price fetch through API($7490000).
Asked
Active
Viewed 1,559 times
2 Answers
5
The problem can be due to OTE server not having updated database but one should not neglect the following facts below.
As per the link.
Sorry about this is confusion. The price given is in a format called currency-micro-unit. This is to help with oddities around different currencies and decimals. If you divide the price by 10^6 you'll get the correct value and decimal placement
So in your case it is 7.49$ (7490000รท10^6). Also the price is as follows:
Price of the domain excluding taxes or fees. Only returned if tld is offered
as per the response model for DomainAvailableResponse in developer doc

Hussain Ali
- 45
- 1
- 6
0
I think it's because you were using the OTE (test environment) and not production.

Robert Columbia
- 6,313
- 15
- 32
- 40

Bojidar Stanchev
- 468
- 5
- 20