> 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/setapihost-host.md).

# setAPIHost(host)

Configures the API host for SDK requests.

```javascript
setAPIHost(host)
```

***

## Parameters

* **host** (<mark style="color:green;">string</mark>)

## Return Value

API host for SDK requests

## Example

```javascript
// example

sdk.setAPIHost("https://api.example.com");

```
