# Domain Information Domain Management / Domain Information ## Return all domains' hosting configuration - [GET /DomainInfo/domains_data](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain-information/domains_data.md): This function lists user data for the cPanel account's domains. This function retrieves data from the file, where represents the cPanel account username and represents the domain. For this reason, actual output may not contain all of the returns that this document lists. ## Return cPanel account's domains - [GET /DomainInfo/list_domains](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain-information/list_domains.md): This function lists the cPanel account's domains. For this function to succeed, the file (where represents the authenticated user) possess the correct permissions. If a permissions error occurs, this function returns blank values for of its returns and does return an error message. ## Return built-in subdomain aliases - [GET /DomainInfo/main_domain_builtin_subdomain_aliases](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain-information/main_domain_builtin_subdomain_aliases.md): This function returns the built-in subdomain aliases for an account's main domain. This function retrieves data from the file, where represents the cPanel account username and represents the domain. For this reason, actual output may not contain all of the returns that this document lists. ## Return the cPanel account's primary domain - [GET /DomainInfo/primary_domain](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain-information/primary_domain.md): This function returns the cPanel account's main domain. ## Return domain's hosting configuration - [GET /DomainInfo/single_domain_data](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain-information/single_domain_data.md): This function lists user data for a domain. This function retrieves data from the file, where represents the cPanel account username and represents the domain. * Because aliases (parked domains) do use a user data file, this function query information for aliases. To retrieve information for an alias, specify the associated main or addon domain. * Due to differences in user data files, the function's actual output may not contain all of the returns that this document lists.