> For the complete documentation index, see [llms.txt](https://manual.bubble.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.bubble.io/~/changes/KJh7wUmvooVFeg4izJFB/core-resources/api/the-bubble-api/the-data-api/data-api-endpoints.md).

# Data API endpoints

This section describes how to identify the correct endpoints when using the Data API

You can find the API endpoint for your application in Settings - API.

## Data API Root URL

The root URL of your application is structured as follows:

```
https://appname.bubbleapps.io/api/1.1/obj/typename
```

or if you have registered a domain:

```
https://yourdomain.com/api/1.1/obj/typename
```

Where the following variables are replaced to construct the final endpoint:

<table><thead><tr><th width="174.33333333333331">Variable</th><th>Content</th><th>Comment</th></tr></thead><tbody><tr><td>appname:</td><td>the name of your application</td><td>If you have not registered a domain</td></tr><tr><td>yourdomain.com</td><td>The domain of your application</td><td>If you have registered a domain</td></tr><tr><td>typename</td><td>the name of the data type you are accessing</td><td>Use the data type name, but in lowercase and with spaces removed.</td></tr></tbody></table>

## App branches and Data API URL

The different branches of your app will have different URLs.&#x20;

### Developer

Developer will have the ID of the selected branch you are working on included. The ID of the Main branch is always version-test, while custom branches have their own unique IDs. The URL in *Settings - API* will show the root URL including the branch ID in the branch you are currently working.

```
https://appname.bubbleapps.io/version-test/api/1.1/obj/typename
```

or

```
https://yourdomain.com/version-test/api/1.1/obj/typename
```

### Live

```
https://yourdomain.com/api/1.1/obj/typename
```

or

```
https://appname.bubbleapps.io/api/1.1/obj/typename
```

## **The typename**

The typename in the URL represents the data type you want to interact with. We highly recommend that you give all your data types a unique name, especially if you are using the Data API. If two data types share the same name, the Data API will return the first one it finds.

The typename is converted to a URL friendly format by removing spaces and setting it to lowercase. For example:

**Data Type name:** Rental Unit

**Typename:** rentalunit

**Endpoint URL:** <https://appname.bubbleapps.io/api/1.1/obj/rentalunit>

{% hint style="info" %}
You can read more about the formatting of type names in [this article.](/~/changes/KJh7wUmvooVFeg4izJFB/help-guides/integrations/api/the-bubble-api/the-data-api/data-api-endpoints.md#the-data-type-url)
{% endhint %}
