The FOSSBilling Forum Support Support - General Q&A How to query domain pricing and availability via API?

How to query domain pricing and availability via API?

How to query domain pricing and availability via API?

 
  • 0 Vote(s) - 0 Average
 
muti
Junior Member

1
07-21-2025, 10:14 AM #1
Hello everyone,

I'm currently working on integrating an external system with FOSSBilling and I need some guidance on how to interact with the domain management features via API.

Specifically, I’m looking for answers to the following:

How can I programmatically fetch a list of TLDs (domain extensions) that are currently configured for sale in the system, along with their pricing (register, renew, transfer)?
Is there a public or admin API endpoint that returns this data, or should I directly access the database?

How can I perform a domain availability check (WHOIS) through the API?
For example, I’d like to check if example.com or example.net is available using an API call and get a boolean response or status.

My goal is to build a custom front-end where users can search for available domains and view pricing before placing an order, and I want to make sure I’m aligning with FOSSBilling’s best practices.

Any code examples, module references, or documentation links would be greatly appreciated!

Thank you in advance.

Best regards,
muti
07-21-2025, 10:14 AM #1

Hello everyone,

I'm currently working on integrating an external system with FOSSBilling and I need some guidance on how to interact with the domain management features via API.

Specifically, I’m looking for answers to the following:

How can I programmatically fetch a list of TLDs (domain extensions) that are currently configured for sale in the system, along with their pricing (register, renew, transfer)?
Is there a public or admin API endpoint that returns this data, or should I directly access the database?

How can I perform a domain availability check (WHOIS) through the API?
For example, I’d like to check if example.com or example.net is available using an API call and get a boolean response or status.

My goal is to build a custom front-end where users can search for available domains and view pricing before placing an order, and I want to make sure I’m aligning with FOSSBilling’s best practices.

Any code examples, module references, or documentation links would be greatly appreciated!

Thank you in advance.

Best regards,

BelleNottelling
Administrator

83
07-22-2025, 08:37 PM #2
Hey there,
The API isn't super well documented however these endpoints do exist:
https://github.com/FOSSBilling/FOSSBilli.../Guest.php

You'd be looking at:
- /api/guest/servicedomain/tlds
- /api/guest/servicedomain/pricing
- /api/guest/servicedomain/check

There's some basic documentation on how to interact with the API here:
https://fossbilling.org/docs/developing-fossbilling/api
BelleNottelling
07-22-2025, 08:37 PM #2

Hey there,
The API isn't super well documented however these endpoints do exist:
https://github.com/FOSSBilling/FOSSBilli.../Guest.php

You'd be looking at:
- /api/guest/servicedomain/tlds
- /api/guest/servicedomain/pricing
- /api/guest/servicedomain/check

There's some basic documentation on how to interact with the API here:
https://fossbilling.org/docs/developing-fossbilling/api

 
  • 0 Vote(s) - 0 Average
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)