The following is the API call you had executed:
URL - https://httpapi.com/api/domains/available.json?
Parameters -
auth-userid=reseller id
api-key=API Key
domain-name=
tlds=
Error - HTTP request failed! HTTP/1.1 500 Internal Server Error
You are trying to use an API call to check the availability of a domain name. This is a GET call and you have to specify the correct values in the parameters to get a response containing the domain name availability status for the requested TLDs.
The domain name and the TLD is not specified in the API call you had executed which is the reason for the error “500 Internal Server Error”.
API call Ref link: https://manage.resellerclub.com/kb/answer/764
You can try using the check availability API call using the sample parameters below:
URL - https://domaincheck.httpapi.com/api/domains/available.json?
Parameters -
auth-userid=reseller id
api-key=API Key
domain-name=codeofbelief
tlds=com
The response to the above API call will be “available”.
Depending on the domain name and the TLD you use in the API call, one of the following statuses will be returned:
available - domain name available for registration
regthroughus - domain name currently registered through the Registrar whose connection is being used to check the availability of the domain name
regthroughothers - domain name currently registered through a Registrar other than the one whose connection is being used to check the availability of the domain name. If you wish to manage such a domain name through your Reseller / Registrar Account, you may pass a Domain Transfer API call.
unknown - returned, if, for some reason, the Registry connections are not available. You should ideally re-check the domain name availability after some time.
Laravel is an external application for API creation/development, however, the parameters must be specified correctly for it to return a valid response.
You can always reach out to the support team at ResellerClub if you need any guidance with API execution.
Support URL: https://helpdesk.resellerclub.com/
Kindly log in using your Reseller ID/ Username and your Reseller account PIN/password