Respected sir/madam,
I can check the availability of domain names by using whois api, but what i actually want to know is that how we can check prices of domain names (simple and premium domain names) by using free apis like whois.
Any help will be appreciated.
Thank you
CodePudding user response:
You could try visit "openProvider". Kindly refer with this link.
CodePudding user response:
When i use the example given by openProvider to check domain it gives me following error : {"desc":"Access denied.","code":10005}
Code used :
curl -X POST \enter link description here
https://api.openprovider.eu/v1beta/domains/check
-H 'Authorization: Bearer e14**************0cf*******b10cc9'
-H 'Content-Type: application/json'
-d '{"domains": [{"extension": "tools", "name": "god"},{"extension": "com", "name": "some-amazing-example"}], "with_price": true}'
Error :
{"desc":"Access denied.","code":10005}
Got auth token by using the following command : curl -X POST https://api.openprovider.eu/v1beta/auth/login -d '{"username": "user", "password": "password", "ip": "0.0.0.0"}'
I am new to this stuff.
Any help will be appreciated.
Thank you