> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/getapihost.md).

# getAPIHost()

Returns the currently configured API host.

```javascript
getAPIHost()
```

***

## Return Value

The currently configured API host.

## Example

```javascript
// example

const apiHost = getAPIHost()
console.log('apiHost: ', apiHost)

```
