# API Base URL

The API Base URL is a unique URL for each [CARTO deployment region](/carto-user-manual/overview/carto-cloud-regions.md) or [Self-Hosted](https://github.com/CartoDB/gitbook-documentation/blob/master/carto-user-manual/developers/managing-credentials/broken-reference/README.md) tenant. You should use this unique URL in all your API calls, or the authentication process will fail.

For example, the CARTO Cloud US region uses `https://gcp-us-east1.api.carto.com` while a Self-Hosted deployment will probably use something like `https://your-carto-tenant-domain.com/api`

You can use this section to copy the API Base URL.

<figure><img src="/files/PeRWJDi7rsYLfckoFon6" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To learn more about how to use CARTO APIs, check the [API reference](/carto-for-developers/key-concepts/apis.md).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.carto.com/carto-user-manual/developers/managing-credentials/api-base-url.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
