API Usage for Gradio apps

Hi,
For huggingface spaces, many gradio apps have the option to use as an API. Can this be used in our other commercial apps? Any support would be appreciated.