# Spaces to API converting

**URL:** <https://discuss.huggingface.co/t/spaces-to-api-converting/50979>\
**Category:** Inference Endpoints on the Hub\
**Created:** [August 16, 2023, 3:01pm UTC](https://discuss.huggingface.co/t/spaces-to-api-converting/50979 "2023-08-16T15:01:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![turgut](https://avatars.discourse-cdn.com/v4/letter/t/bcef8e/32.png) [@turgut](https://discuss.huggingface.co/u/turgut)\
**Post date:** [August 16, 2023, 3:01pm UTC](https://discuss.huggingface.co/t/spaces-to-api-converting/50979/1 "2023-08-16T15:01:28Z")

</div>

Hello

I have a private spaces which runs my own codes for the mobile app. How can I convert it to API ?
